LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-20-2006, 07:16 AM   #1
renatomilani
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
Javascript browser crash


I tried several distros (Fedora, Debian, Slackware, Ubuntu, Kurumin) and in all of them all of the available browsers (Konqueror, Mozilla Firefox, Epiphany), if they start, crash when browsing to most pages, especially those requiring Javascript, like Gmail.
I already tried the last version of Firefox. In Slack, I tried Firefox from Slackpackages (older version) and the one downloaded from GetFirefox (1.5.0.4)

When getting to those pages, the browser simply closes, instantaneously.
I tried running the browsers via terminal and when they don't start or they crash I get a message regarding some "segmentation fault"
I can't post the message at this time because I'm not using the computer where this happens. I'll do it as soon as possible.

I tried disabling javascript in Firefox and the crashes are gone, but I want to have javascript enabled. I use Firefox in other computers with javascript enabled and there are no crashes.
Because of this, I thought maybe this was due to some hardware problem, what do you think?

I think my relevant hardware conf is the following:
ASUS A7V8X-X motherboard
Athlon XP 2200+
512MB RAM

Thanks in advance
 
Old 07-21-2006, 05:14 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,189
Blog Entries: 1

Rep: Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051
Quote:
Because of this, I thought maybe this was due to some hardware problem, what do you think?
Since this happens with different distros and different browsers, most likely is a hardware problem and more probably a memory problem. Run a memtest to see if that's the case.

Regards
 
Old 07-21-2006, 06:23 PM   #3
renatomilani
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi, bathory. Thanks for posting.
I ran memtest86+ 1.65 at boot, let it go through 1 pass, 10 tests, and none returned an error. Do you think I should let it run more passes?
Any more ideas?
 
Old 07-22-2006, 08:53 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,189
Blog Entries: 1

Rep: Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051
Let it run a little more.
Another idea is to run your browser usnig strace to see what happens whet it crashes.
 
Old 07-22-2006, 01:09 PM   #5
renatomilani
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I ran the browser using strace.
I think this was the output when the crash happened:

/usr/lib/firefox-1.0.6/run-mozilla.sh: line 159: 2623 Segmentation fault "
$prog" ${1+"$@"}
[{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0) = 2618
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfffeffc, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8079b60, [], SA_RESTORER, 0x40060cb8}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "exitcode=$?\n\n## Stop addon scrip"..., 6593) = 91
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/root/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTO
RY) = -1 ENOENT (No such file or directory)
open("/usr/lib/firefox-1.0.6/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTO
RY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
brk(0x8127000) = 0x8127000
getdents64(3, /* 3 entries */, 4096) = 80
getdents64(3, /* 0 entries */, 4096) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("/root/.mozilla/firefox/init.d/K*", 0xbfffee60) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("/usr/lib/firefox-1.0.6/init.d/K*", 0xbfffee60) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
exit_group(139) = ?
 
Old 07-22-2006, 05:57 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,189
Blog Entries: 1

Rep: Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051Reputation: 2051
Well I don't know.
Does this also happens when you run your browser as root or using a different Window Manager?
Also if it's possible try to switch RAM chips and/or CPU to see what happens.

Last edited by bathory; 07-22-2006 at 06:02 PM.
 
Old 07-22-2006, 08:28 PM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I wonder if this could be related to the no execute bit present on some processors. Please post the contents of /proc/cpuinfo and kernel versions tested. Also, have you tried a livecd?
 
Old 07-23-2006, 02:10 PM   #8
renatomilani
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, it happens also when I run the browser as root.
It also happened under KDE, Gnome and Xfce.
I tried Ubuntu and Kurumin on a livecd. The same error happened.
The kernels tested are: 2.4 and 2.6
/proc/cpuinfo shows:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(TM) XP 2200+
stepping : 1
cpu MHz : 1800.109
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3591.37

Matir, do you think the bit you mentioned could cause this crash with some processors?
I'll also try changing some hardware when possible.
Thanks again.
 
Old 07-23-2006, 02:11 PM   #9
renatomilani
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
A new thing:
Under KDE, Konqueror shows this after crashing:
"The application Konqueror (konqueror) crashed and caused the signal 11
(SIGSEGV)"
 
Old 09-11-2006, 08:58 PM   #10
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Wonder if this was ever solved. I am having the same problem suddenly. Not sure when it started, but I think it was after a dist-upgrade.

Using Debian Etch/Sid AMD64, Kernel 2.6.17-2-amd64

All browsers (Firefox, Mozilla, Epiphany, and Konqueror) crash on many websites if I have javascript enabled. Disable javascript ... no problem.

Since Konqueror is affected as well as the Mozilla-based browsers, I think the problem has to be external to the browsers themselves. Presumably in a javascript interpreter... but that's just a guess.

Also this is only happening on my 64-bit system. All browsers work fine on the 32-bit.
 
Old 09-12-2006, 07:11 AM   #11
renatomilani
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Unfortunately I couldn't solve it yet.
Had a look at kernel.org forums but found nothing.
I agree that it must be something external to the browsers. Interestingly, you have no problems on 32-bit, which is just my case. Maybe hardware?
What intrigues me is the fact that you started having this problem after a distro upgrade... In my case, I never had a working browser with javascript enabled on this machine, with any distro.
 
Old 10-03-2006, 10:25 PM   #12
kcwong
LQ Newbie
 
Registered: Oct 2006
Distribution: Linux Mint 12
Posts: 1

Rep: Reputation: 0
Javascript crash

I have similar problem with Mandriva 2006 Firefox since I upgraded from Firefox 1.0.x to Firefox 1.5.0.7. Prior to the upgrade I do not have any problem at all. After I upgraded Firefox using Mandriva upadate, it crashes immediately when I visited websites that executes Javascript.

However, since my Konqueror was not updated, it doesn't crash and now whenever i need to visit Javascripted website I use Konqueror instead.

I tried installing the latest Java downloaded from Java site but Firefox cannot recognise it eventhough I had followed the steps documented in the Java site.
 
Old 10-03-2006, 10:44 PM   #13
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Mine cleared up after a complete upgrade to Debian Sid. I think it was caused by some interaction between javascript and xorg. Upgrading xorg appeared to me to be the key. (Note: Java and javascript are completely unrelated apps.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a browser command line tool for testing javascript websites? MensaWater Linux - Software 9 09-06-2005 12:22 PM
Crash during file browser ops (NFS?) dirdej Red Hat 0 03-26-2005 03:15 AM
JavaScript/browser speed test WilliamS Slackware 0 02-14-2005 08:44 AM
enlightenment browser crash bfl Linux - General 2 04-01-2002 10:49 PM
Browser crash frequency mcleodnine General 7 12-11-2001 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 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