LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to troubleshoot the cause of web page that crashes browser? (https://www.linuxquestions.org/questions/slackware-14/how-to-troubleshoot-the-cause-of-web-page-that-crashes-browser-4175603558/)

SlowLearner 04-10-2017 07:44 AM

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

frushiyama 04-10-2017 07:58 AM

Call the browser from command line may provide useful information about the crash, have you already tried this?

SlowLearner 04-10-2017 08:19 AM

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?

SlowLearner 04-10-2017 10:20 AM

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.

SlowLearner 04-15-2017 08:44 PM

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?

rob.rice 04-19-2017 10:02 PM

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

frankbell 04-19-2017 10:26 PM

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.

SlowLearner 04-20-2017 11:51 AM

@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 !

rob.rice 04-21-2017 01:47 PM

@ SlowLearner
Your welcome.

SlowLearner 04-22-2017 11:52 PM

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 *)
+--------------------------+


All times are GMT -5. The time now is 02:04 AM.