PDA

View Full Version : Firefox randomly dying


kassetra
June 11th, 2005, 02:34 PM
Firefox 1.0.4-1ubuntu2~5.04ubp2 has started randomly shutting itself down. It usually comes back up relatively well, but sometimes it dumps all of my saved tab sessions as well.

This just started happening after I did the upgrade to ubp2 (thursday, I think.)

desdinova
June 11th, 2005, 02:37 PM
Firefox 1.0.4-1ubuntu2~5.04ubp2 has started randomly shutting itself down. It usually comes back up relatively well, but sometimes it dumps all of my saved tab sessions as well.

This just started happening after I did the upgrade to ubp2 (thursday, I think.)
Is it perhaps plugin related - I have real issues with Java freezing my browser?

jdong
June 11th, 2005, 02:54 PM
hmm. Please upgrade to ~5.04ubp5 while you're at it. It should start showing up on mirrors soon.

Run Firefox at a terminal, and try to get it to crash. Do you get any terminal output afterwards?

desdinova
June 11th, 2005, 02:57 PM
hmm. Please upgrade to ~5.04ubp5 while you're at it. It should start showing up on mirrors soon.

Run Firefox at a terminal, and try to get it to crash. Do you get any terminal output afterwards?
I'm on 1.0.4-1ubuntu2~5.04ubp2 - cool thanks for that - will keep my eyes open - many thanks!

desdinova
June 11th, 2005, 03:49 PM
I'm on 1.0.4-1ubuntu2~5.04ubp2 - cool thanks for that - will keep my eyes open - many thanks!
This looks a Java issue as Epiphany/Galeon/FF/Moz all show on my system the same behavior - a java app causes java_vm to suck up all load and > 250 mb of memory and do nothing - attempting to close the tab/window of the applet freezes the browser until you pkill it...

(Just updated to the newest j2sdk and ff above)

skoal
June 11th, 2005, 03:59 PM
hmm...thx for the post. I'm faced with a tough decision now: stay with current version 1.0.4 w/spoof vulnerability or upgrade to random whackiness. Hmm...I like a little spice and unpredicatability every now and then, so...1.0.4-1ubuntu2~5.04ubp2 it is!

\\//_

jdong
June 11th, 2005, 07:10 PM
That's really weird guys, I'm using the latest backports FF along with the staging Java JDK, and I don't have any Java applet issues.

desdinova
June 11th, 2005, 07:22 PM
http://www.walter-fendt.de/ph11e/index.html

How do those apps behave for you ? They freeze all my browsers solid?

jdong
June 11th, 2005, 07:29 PM
Yes, they all work for me.

Can you give me your sun-j2re1.5 and/or sun-j2sdk1.5 versions? Also, output of ls -al /etc/alternatives/firefox-javaplugin.so

desdinova
June 11th, 2005, 07:32 PM
Yes, they all work for me.

Can you give me your sun-j2re1.5 and/or sun-j2sdk1.5 versions? Also, output of ls -al /etc/alternatives/firefox-javaplugin.so
ls -al /etc/alternatives/firefox-javaplugin.so

lrwxrwxrwx 1 root root 62 2005-06-11 20:33 /etc/alternatives/firefox-javaplugin.so -> /usr/lib/j2sdk1.5-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so

Both j2re and j2sdk listed as 1.50+update03

BTW tried using FF as another user in case it was a profile issue - same behaviour ;-(

jdong
June 11th, 2005, 07:37 PM
Try running sudo ln -sf /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/firefox-javaplugin.so

That might fix it.

desdinova
June 11th, 2005, 07:41 PM
Try running sudo ln -sf /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/firefox-javaplugin.so

That might fix it.
Different behaviour

With the j2sdk plugin, I get the sun ray effect but I can swap tabs etc
With the k2re, I can't swap tabs - it just sits there

jdong
June 11th, 2005, 07:43 PM
can you:

1) uninstall + purge both the SDK and JRE
2) remove the /etc/alternatives/*java* entries
3) reinstall the JRE FIRST
4) reinstall the SDK.

desdinova
June 11th, 2005, 07:46 PM
can you:

1) uninstall + purge both the SDK and JRE
2) remove the /etc/alternatives/*java* entries
3) reinstall the JRE FIRST
4) reinstall the SDK.
Doing that now!

desdinova
June 11th, 2005, 07:47 PM
Doing that now!
Could I get away with just the jre? I don't know why I installed the j2sdk (I think it was just to test!)

jdong
June 11th, 2005, 07:49 PM
Sure.

desdinova
June 11th, 2005, 07:51 PM
Cool

In approximately 7 mins I'll have an answer for you ;-)!

desdinova
June 11th, 2005, 07:54 PM
Odd

Just noticed the download is getting update02 not 03 - reckon thats an issue?



(using mirrormax.net)

jdong
June 11th, 2005, 07:56 PM
No, that's normal. Backports has JRE 02 and JDK 03. JRE 02 was bug-free, while JDK 02 had the symlink problem. JDK 03 fixes the symlink problem for NEW INSTALLS.

desdinova
June 11th, 2005, 07:57 PM
Thanks - ;-)

jdong
June 11th, 2005, 07:59 PM
BTW, also make sure you're running ~5.04ubp5, which was synced to mirrormax about 2 hours ago.

desdinova
June 11th, 2005, 08:03 PM
BTW, also make sure you're running ~5.04ubp5, which was synced to mirrormax about 2 hours ago.
Yep I am - however for some reason the install of j2re didn't put the java entries in /etc/alternatives..... is there a quick way of doing this or should I just ln -sf?

jdong
June 11th, 2005, 08:04 PM
Just ln it.

desdinova
June 11th, 2005, 08:17 PM
Nope no difference - ANY java apps show the pulsating sun-ray logo in the space of the applet - and firefox freezes . I've even tried again after emptying my profile....

Confused now ;(

desdinova
June 11th, 2005, 08:30 PM
Sorry for the delay - my DSL line threw a wobbler for a second

I have a strace available - but the last part of it fills out as

select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0}) = 0 (Timeout)
select(33, [32], NULL, NULL, {0, 0} <unfinished ...>

desdinova
June 11th, 2005, 09:20 PM
We have progress

In epiphany and Galeon (yet to test in FF) the app EVENTUALLY loads - its as if I'm back on dialup - and returns control to the browser.....

I'm going to test it tonight with FF with loading an app an dleaving it overnight to see if FF wakes up

desdinova
June 11th, 2005, 09:25 PM
We have progress

In epiphany and Galeon (yet to test in FF) the app EVENTUALLY loads - its as if I'm back on dialup - and returns control to the browser.....

I'm going to test it tonight with FF with loading an app an dleaving it overnight to see if FF wakes up
Nope FF just sits there dead - I'l go back to using Galeon - at least I can use it whilst a java app is loading and it doesn't kill my machine with high loads ;-)

kassetra
June 12th, 2005, 08:04 PM
Last few lines of the strace when ff shut down going to a seemingly random site:

open("/var/lib/defoma/fontconfig.d/T/TrebuchetMS-Bold.ttf", O_RDONLY) = 45
fcntl64(45, F_SETFD, FD_CLOEXEC) = 0
fstat64(45, {st_mode=S_IFREG|0644, st_size=123828, ...}) = 0
mmap2(NULL, 123828, PROT_READ, MAP_PRIVATE, 45, 0) = 0xb37df000
close(45) = 0
munmap(0xb3696000, 286620) = 0
gettimeofday({1118620968, 64894}, NULL) = 0
gettimeofday({1118620968, 65349}, NULL) = 0
gettimeofday({1118620968, 65396}, NULL) = 0
futex(0xb56018a4, FUTEX_WAKE, 1) = 1
futex(0xb5601894, FUTEX_WAKE, 1) = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
unlink("/home/kassetra/.mozilla/firefox/dlkf01cy.default/lock") = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
tgkill(9298, 9298, SIGSEGV) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

jdong
June 12th, 2005, 08:55 PM
Other than these guys, is anyone else having problems with their Firefox?

bored2k
June 12th, 2005, 08:58 PM
Other than these guys, is anyone else having problems with their Firefox?
Nope.

jdong
June 12th, 2005, 09:00 PM
hmm, I'll try to rebuild with Hoary GCC, and see where we can get... reverse a few gcc-4 specific patches...

desdinova
June 12th, 2005, 09:04 PM
hmm, I'll try to rebuild with Hoary GCC, and see where we can get... reverse a few gcc-4 specific patches...
Thanks mate

kassetra
June 13th, 2005, 12:16 AM
hmm, I'll try to rebuild with Hoary GCC, and see where we can get... reverse a few gcc-4 specific patches...

Ok, can't even start - segfault on start.

electroglas
June 13th, 2005, 12:25 AM
Mine locked up twice and then killed Evolution!!!

After that it started working...

http://www.bodo.com/javame.htm

kassetra
June 13th, 2005, 04:02 AM
Ahhhh, and Azureus won't stay up for more than three minutes or so (now that I downgraded FF from the staging version) ....

Java?

jdong
June 13th, 2005, 08:35 AM
whoa, Java's affected, too?

jdong
June 13th, 2005, 03:25 PM
UPDATE

After a debug session (err, interrogation) with Kassetra, it seems like her problem is hardware/RAM related, since Java and VMWare both exhibit segfaults.


I don't think her problem is related to the other problem being discussed in this thread (Java hangs, new tab hangs).

desdinova, others: Is the new FF in staging (~ubp6) working any better?


Also, are there any stack traces or oopses in your dmesg?

jdong
June 13th, 2005, 03:46 PM
It seems, coincidentally, that all these reports of Firefox issues have come after Ubuntu's recent kernel updates. Could these be the culprit?

Are the victims here using Ubuntu kernels, and pulled the latest update?

kassetra
June 13th, 2005, 04:40 PM
whoa, Java's affected, too?

Downgrading to the original Hoary kernel has *seemed* to fix the problem, completely.

kassetra
June 13th, 2005, 04:54 PM
It seems, coincidentally, that all these reports of Firefox issues have come after Ubuntu's recent kernel updates. Could these be the culprit?

Are the victims here using Ubuntu kernels, and pulled the latest update?

After downgrading from the .2 upgrade to the hoary original kernel, all of my issues seem to be completely fixed.

desdinova
June 13th, 2005, 05:07 PM
I'm using

Linux ubuntu 2.6.10-5-k7 #1 Tue Jun 7 10:08:19 UTC 2005 i686 GNU/Linux

kassetra
June 13th, 2005, 05:16 PM
I'm using

Linux ubuntu 2.6.10-5-k7 #1 Tue Jun 7 10:08:19 UTC 2005 i686 GNU/Linux

Right, that's the package name, can you tell me the version? In synaptic, the version number is located just to the right of the package name. :)

desdinova
June 13th, 2005, 05:24 PM
Right, that's the package name, can you tell me the version? In synaptic, the version number is located just to the right of the package name. :)
oops ;-)

Kernel Image is 2.6.10-34.2 (Is that what you mean - I get a few Kernel hits in Synaptic

kassetra
June 13th, 2005, 05:43 PM
oops ;-)

Kernel Image is 2.6.10-34.2 (Is that what you mean - I get a few Kernel hits in Synaptic

That's *exactly* what I mean. Let me walk you through a downgrade.

1. Open Synaptic.
2. Do a search for Linux.
3. Click the little button above the boxes that show you what's been installed.
4. You should see one or two "linux-headers-2.6.10-5" (one with an extra -k7 after it as well, if you're on an athlon.) You should also see one or two "linux-image-2.6.10-5" (one with -386, possibly, and another with -k7)
5. Click on the first one in the list (for me, it's linux-headers-2.6.10-5) so that it is highlighted.
6. Go to Package->Force Version...
7. In the drop-down box, choose 2.6.10-34 (hoary)
8. Click on the "Force Version" button.
9. Do the same thing for the other ones in this list, "linux-headers-2.6.10-5-k7," "linux-image-2.6.10-5-386," "linux-image-2.6.10-5-k7." Until all of them are marked with a "downgrade" box (little arrow pointing down.)
10. Click Apply.
11. When finished, reboot.

desdinova
June 13th, 2005, 06:09 PM
Done - but FF still behaves the same = frozen solid when trying to run a Java app - Galeon/Epiphany work aok, if a little slow loading the applet

desdinova
June 13th, 2005, 06:10 PM
I'm a dirty liar ;-)

Whilst typing this in Epihany FF woke up - so it is working - just very very slow....!

desdinova
June 13th, 2005, 06:12 PM
Another change

loading subsequent java apps loads full speed - so its the initial launch thats a problem

kassetra
June 13th, 2005, 06:25 PM
Another change

loading subsequent java apps loads full speed - so its the initial launch thats a problem

Right. I have that issue as well, but I'm guessing that you no longer have any FF dumps?

desdinova
June 13th, 2005, 06:31 PM
Nope behaving like a charm !

(PS Thanks for the synaptic tip - first time with an apt based distro - I've been rpm for a long long while ;-) )

aisowner
June 13th, 2005, 07:39 PM
i just installed ubuntu for the first time yesterday and i noticed that firefox kept dying ..

noticing something amiss, i decided to update my system.
things i did included :

1) used the sources.list from www.ubuntuguide.org
2) apt-get update
3) apt-get upgrade
4) apt-get install firefox ( where i could see firefox 1.04 being installed )
5) apt-get install linux-686
6) reboot

somehow firefox still dies randomly .. it even died once while I only browsing through this thread. Another thing i noticed is that if i go to Help.. About Firefox , i see version 1.02 instead of 1.04 .. could that be a reason ?


I haven't setup Java at all, but I'm sure that isn't the problem.


updated :

i tried running firefox through a terminal, and when it died, the error was only
"Illegal instruction"

kassetra
June 13th, 2005, 08:01 PM
noticing something amiss, i decided to update my system.
things i did included
5) apt-get install linux-686

It's very possible that you're suffering from the same kernel upgrade issue that we were just talking about on this thread.

desdinova
June 13th, 2005, 08:09 PM
Well so far its been behaving - its definitely still an "initial" issue as shutting down FF and restarting it shows the same slow first load for java, then its fine.

Thanks for this tho - I don't use Java a lot, but its a real pain when occasionally a small applet freezes FF

jdong
June 13th, 2005, 09:59 PM
ok,

1: A bug has been filed in Bugzilla for the kernel upgrade issue. I hope to see it resolved soon. For now, downgrade your kernels :)

2: The slow initial loading: is your hard drive light on during this time? Anything weird in the last few lines of dmesg?

chz
June 18th, 2005, 03:03 AM
Other than these guys, is anyone else having problems with their Firefox?
yes...i ran FF through terminal..as it crashed i got this at the terminal...

Warning: Cannot convert string "-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct
Segmentation fault

notos
June 18th, 2005, 05:32 AM
That's *exactly* what I mean. Let me walk you through a downgrade.

1. Open Synaptic.
2. Do a search for Linux.
3. Click the little button above the boxes that show you what's been installed.
4. You should see one or two "linux-headers-2.6.10-5" (one with an extra -k7 after it as well, if you're on an athlon.) You should also see one or two "linux-image-2.6.10-5" (one with -386, possibly, and another with -k7)
5. Click on the first one in the list (for me, it's linux-headers-2.6.10-5) so that it is highlighted.
6. Go to Package->Force Version...
7. In the drop-down box, choose 2.6.10-34 (hoary)
8. Click on the "Force Version" button.
9. Do the same thing for the other ones in this list, "linux-headers-2.6.10-5-k7," "linux-image-2.6.10-5-386," "linux-image-2.6.10-5-k7." Until all of them are marked with a "downgrade" box (little arrow pointing down.)
10. Click Apply.
11. When finished, reboot.

It Woked for me like a charm but will test it a bit more a report results :)

sapo
June 18th, 2005, 06:38 AM
Other than these guys, is anyone else having problems with their Firefox?


Same problems here, now i m using opera cause firefox is crashing too often... btw..

My firefox used to crash in flash movies (just stopped and i had to kill the process)and sometimes just to right click and "save target" it crashes and closes everything...

it started when i upgraded to the backports version too...

but i dont have any problems with java applications... just flash and some random crashes ](*,)

Grimmy
June 18th, 2005, 03:19 PM
I was having problems with Firefox (Segmentation Fault) when looking at hotmail...

Following the instructions by kassetra to downgrade the kernel on the previous page fixed the problem.

jdong
June 18th, 2005, 05:38 PM
ATTENTION ALL WHO ATTRIBUTE THEIR PROBLEMS WITH THE KERNEL:

https://bugzilla.ubuntu.com/show_bug.cgi?id=11824

A bugreport has been filed, but more information is needed. If you have this problem and would like to help solve it, please respond to the bugzilla.

jahLux
June 21st, 2005, 08:06 AM
Other than these guys, is anyone else having problems with their Firefox?
Please add my voice to the choir - I'm also experiencing the same F/F issues and am watching the boards for the solution.
U B U N T U still rocks . . . . . . .

jdong
June 21st, 2005, 09:11 AM
Have you tried the kernel downgrade yet? That seems to fix it for practically everyone involved :)

jahLux
June 21st, 2005, 09:18 AM
Have you tried the kernel downgrade yet? That seems to fix it for practically everyone involved :)
Yea, just finished trying it - and nope, didn't work for me. I continue to wait . . . . .

Technoviking
June 22nd, 2005, 03:18 PM
Other than these guys, is anyone else having problems with their Firefox?
One of my boxes is having this problem.

Mike

bgstratt
June 24th, 2005, 02:13 PM
I'm having this same problem as well, even in other distro's, and before the upgrades, firefox will randomly die with the segmentation fault. I've read some other threads and some have had success with clearing the cache and other temp files, for me it usually takes a bit before firefox will crash with the segmentation fault as I generally clear it out when I'm done with it, not sure if that has anything to do with it though, I haven't really tested it to see if it is the cache or some other problem.

skoal
June 24th, 2005, 02:26 PM
I've been using kernels 2.6.{8,10,11,12} and firefox 1.04 still pukes every so once and a while...and with no rhyme or reason. It's not so bad really. It's forced me to start using this "bookmark" doodad more often now, which is good. In fact, I just bookmarked this form box reply window I'm typing in right now, just in case I don't get to finish typi...

\\//_

Grimmy
June 25th, 2005, 04:07 AM
ATTENTION ALL WHO ATTRIBUTE THEIR PROBLEMS WITH THE KERNEL:

https://bugzilla.ubuntu.com/show_bug.cgi?id=11824

A bugreport has been filed, but more information is needed. If you have this problem and would like to help solve it, please respond to the bugzilla.

I would like to help, but i'm not sure about how to respond?

Looking at the link it looks like I need to add a description of the problem and an attachment of the dmesg output? I am assuming this is the output when you type dmesg in a terminal (or do I have to do something extra?). Is this correct?