LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-10-2017, 07:44 AM   #1
SlowLearner
Member
 
Registered: Dec 2002
Location: Florida
Distribution: Slackware 14.2
Posts: 57
Blog Entries: 1

Rep: Reputation: 20
Question How to troubleshoot the cause of web page that crashes browser?


Both mozilla firefox & sea monkey browsers are intermittently crashing when attempting to open certain web pages. While maybe 90-95% of web sites open without any problems.

For example after conducting the following the google search:
`
Quote:
site:docs.oracle.com/cd how to check unused memory
Attempting to access any of the first PAGE of results from that search causes firefox to close.

These same results are achieved using the sea monkey browser.

I have tried both sea monkey browser and fire fox browser in "safe mode" with all add-ons disabled. (same crash)


Firefox is not generating anything in the about:crashes

The lynx browser IS able to access those web pages without any issues.

I have run memtest+ for 3 passes with no errors.


How do i go about troubleshooting the cause of firefox & sea monkey crashing? I'm sure I need to "check logs" but which logs and what exactly am i looking for?

Running 32bit Slackware 14.1 fully updated
Firefox ESR 52.02 32bit
Mozilla Sea Monkey version 2.46
Quote:
bash-4.2# ls /var/log/packages/*mozilla*
/var/log/packages/mozilla-firefox-52.0.2esr-i486-2_slack14.1
/var/log/packages/mozilla-nss-3.23-i486-1_slack14.1
/var/log/packages/mozilla-thunderbird-45.8.0-i486-1_slack14.1
Quote:
bash-4.2# ls /var/log/packages/*monkey*
/var/log/packages/seamonkey-2.46-i486-3_slack14.1
/var/log/packages/seamonkey-solibs-2.46-i486-3_slack14.1

Much Thanks To This Community
 
Old 04-10-2017, 07:58 AM   #2
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171

Rep: Reputation: 40
Call the browser from command line may provide useful information about the crash, have you already tried this?
 
Old 04-10-2017, 08:19 AM   #3
SlowLearner
Member
 
Registered: Dec 2002
Location: Florida
Distribution: Slackware 14.2
Posts: 57

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Thank you frushiyama NO i had not tried this...

Quote:
bash-4.2$ /usr/bin/firefox -new-window https://www.google.com/#q=site:docs....unused+memory+
[1] Done /usr/bin/firefox -new-window https://www.google.com/url?sa=t
[2] Done rct=j
[3] Done q=
[4] Done esrc=s
[5] Done source=web
[6] Done cd=1
[7] Done cad=rja
[8] Done uact=8
[9]- Done ved=0ahUKEwiPxY227JnTAhUk2oMKHTtUArMQFggaMAA
[10]+ Done url=https%3A%2F%2Fdocs.oracle.com%2Fcd%2FE19683-01%2F806-4074%2F6jd68pq3h%2Findex.html
ok kewl nothing new here i don't think anyway. I could already do this from the browser. When i hit any of those links offered by that google search same crash with nothing new appearing in my terminal window.


Tried more directly from terminal window directly into the troublesome link with.

Quote:
bash-4.2$ /usr/bin/firefox -new-window https://www.google.com/url?sa=t&rct=...eddfgp5y6c5uRw
[1] 2316
[2] 2317
[3] 2318
[4] 2319
[5] 2320
[6] 2321
[7] 2322
[8] 2323
[9] 2324
[10] 2325
It did not CRASH this time..
Instead firefox opens a new window displaying address

Quote:
https://www.google.com/url?sa=t

Redirect Notice
The previous page is sending you to an invalid url.

If you do not want to visit that page, you can return to the previous page.

i BELIEVE it is a valid url... the way i GOT the url was by conducting that same search mentioned at top of this thread

Quote:
site:docs.oracle.com/cd how to check unused memory
Then right clicking the first link and selecting "Copy Link Location"

This link is what i pasted into the terminal window command with

Quote:
/usr/bin/firefox -new-window https://www.google.com/url?sa=t&rct=...eddfgp5y6c5uRw
This is what you meant by "Call the browser from command line" right?
Does any of that output mean anything to you?
 
Old 04-10-2017, 10:20 AM   #4
SlowLearner
Member
 
Registered: Dec 2002
Location: Florida
Distribution: Slackware 14.2
Posts: 57

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Further update/example

Google search the term "touchsupport"

The About Us link works fine.

https://www.google.com/url?sa=t&rct=...52174688,d.amc

Results in the https://www.touchsupport.com/about-us/ page being displayed.

But the main link
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiO7ZeElprTAhUr6IMKHTWSDL4QFggcMAA &url=https%3A%2F%2Fwww.touchsupport.com%2F&usg=AFQjCNFjPAvw5Wp7ZYXRxoEOKMt8K3vp4w&sig2=a4VxLu-VRgK-XErUeUOqog&bvm=bv.152174688,d.amc]

the link that SHOULD bring me to https://www.touchsupport.com/

Results in firefox closing prior to the page loading.


Same results with yahoo search.. the About Us link works fine from yahoo but the main link

http://r.search.yahoo.com/_ylt=A0LEV...5cR4lJGGZLfb0-

the one that SHOULD take me to https://www.touchsupport.com/ results in firefox closing prior to page loading.
 
Old 04-15-2017, 08:44 PM   #5
SlowLearner
Member
 
Registered: Dec 2002
Location: Florida
Distribution: Slackware 14.2
Posts: 57

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Question 14.1 Segmentation Fault mozilla-firefox-52.0.2

Update:

Nothing shows up in:
/var/log/syslog
/var/log/messages
/var/log/Xorg.0.log
# pkgtool
Removed the following

/var/log/packages/mozilla-firefox-52.0.2esr-i486-2_slack14.1
/var/log/packages/mozilla-nss-3.23-i486-1_slack14.1
/var/log/packages/seamonkey-2.46-i486-3_slack14.1
/var/log/packages/seamonkey-solibs-2.46-i486-3_slack14.1
# rm rf ~/.cache/mozilla
# rm rf ~/.mozilla

reboot

Downloaded fresh package from http://packages.slackware.com/?r=sla..._slack14.1.txz

# upgradepkg --install-new ~/Public/buildenviron/mozilla-firefox-52.0.2esr-i486-2_slack14.1.txz

reboot

$ firefox -safemode

browsed 3 sites successfully then attempted to access www.touchsupport.com

Segmentation fault

Browser window abruptly closes no crash report generated by firefox

Found two recent threads with what appears to be the same issue using 14.1 and Firefox 52.0.2

https://www.linuxquestions.org/quest...ox-4175603208/

https://www.linuxquestions.org/quest...es-4175603829/

Any advice on how to troubleshoot this further?
 
Old 04-19-2017, 10:02 PM   #6
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
the most likely cause would be incompatibles in mozilla and oracle's
java script
try turning off java script
lynx works because It dose not have java script
 
1 members found this post helpful.
Old 04-19-2017, 10:26 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,339
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Quote:
But the main link
https://www.google.com/url?sa=t&rct=...TWSDL4QFggcMAA &url=https%3A%2F%2Fwww.touchsupport.com%2F&usg=AFQjCNFjPAvw5Wp7ZYXRxoEOKMt8K3vp4w&sig2=a4VxLu-VRgK-XErUeUOqog&bvm=bv.152174688,d.amc]

I was able to visit that page in Firefox v. 52.0.2 on Slackware --Current. I have NoScript installed in Firefox and, as it was my first visit to that page, NoScript was set to block all scripts.

I set NoScript to "temporarily allow all scripts on this page," clicked the link again, and it opened properly.
 
Old 04-20-2017, 11:51 AM   #8
SlowLearner
Member
 
Registered: Dec 2002
Location: Florida
Distribution: Slackware 14.2
Posts: 57

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Smile

@rob.rice THANK YOU SO MUCH ! !

Yes you were right that was it.
Quote:
the most likely cause would be incompatibles in mozilla and oracle's
java script
is strange because i thought i had already disabled javascript as a default when I first installed firefox. Most likely I re-enabled it sometime to make a page work and did not kill it again. At any rate THANK YOU rob.rice !

In firefox browser entered

Quote:
about:config
into the address bar

Clicked the "I accept risk!" Button

In the search box on top of the about:config page i typed
Quote:
java
the first item on the list should be
Quote:
javascript.enabled default boolean true
Right click "true" select "Toggle"

this changes the true to false.

Close all mozilla-firefox windows.

Open new window
Browse to touchsupport.com now with no errors.

Of course many web pages (such as this "Reply to Thread" textbox I am currently typing in ) will not function properly now with javascript disabled but at least the application will not suddenly crash without warning during random web surfing. And most importantly at least now I've got the cause hugely narrowed down.

Thanks again to rob.rice !
 
Old 04-21-2017, 01:47 PM   #9
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
@ SlowLearner
Your welcome.
 
Old 04-22-2017, 11:52 PM   #10
SlowLearner
Member
 
Registered: Dec 2002
Location: Florida
Distribution: Slackware 14.2
Posts: 57

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Thumbs up

That didn't take long!

"...switching back to the 45.x ESR branch due to instabilty of the
52.x ESR branch on Slackware 14.1."



http://www.slackware.com/security/vi...ecurity.320508

Here are the details from the Slackware 14.1 ChangeLog:
+--------------------------+
patches/packages/mozilla-firefox-45.9.0esr-i486-1_slack14.1.txz: Upgraded.
This release contains security fixes and improvements.
Also, switching back to the 45.x ESR branch due to instabilty of the
52.x ESR branch on Slackware 14.1.

For more information, see:
https://www.mozilla.org/security/kno...irefoxESR.html
(* Security fix *)
+--------------------------+
 
  


Reply

Tags
browser, crash, firefox, log files, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Downloaded complete web page with wget but browser wants internet to open page? SharpyWarpy Linux - General 15 08-16-2012 04:57 AM
Looking for a web browser extension that reverses web-page colors punchy71 Linux - Software 2 12-12-2011 12:30 PM
On the web browser and File>Save As>Web Page, HTML only. stf92 Linux - Newbie 4 12-18-2010 04:21 AM
Can ping web page from telnet, but can't open it in web browser a.ilic Linux - Networking 1 04-01-2008 10:29 AM
my web browser "mozilla fire fox" isn't rendering the page, rather opening the page amolgupta Linux - Software 2 07-26-2005 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration