GNOME Bugzilla – Bug 144012
Galeon crashes [galeon_css_menu_rebuild / gtk_radio_action_set_group]
Last modified: 2004-12-22 21:47:04 UTC
My wife uses www.lloydstsb.com to look after her personal account, it recently started crashing when she logs out (she wasn't able to remember exactly when it started, but it certainly does so currently). It works fine with Mozilla (1.6) She sent me this backtrace: Backtrace was generated from '/opt/gnome/bin/galeon-bin' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1091177056 (LWP 3150)] [New Thread 1119103920 (LWP 3162)] [Thread debugging using libthread_db enabled] [New Thread 1091177056 (LWP 3150)] [New Thread 1119103920 (LWP 3162)] [Thread debugging using libthread_db enabled] [New Thread 1091177056 (LWP 3150)] [New Thread 1119103920 (LWP 3162)] [New Thread 1113344944 (LWP 3161)] [New Thread 1111194544 (LWP 3158)] [New Thread 1102932912 (LWP 3154)] 0xffffe410 in ?? ()
+ Trace 47081
Thread 1 (Thread 1091177056 (LWP 3150))
Is there anything printed on the console when that happens? The log could be in ~/.xsession-errors if you're not running galeon from terminal.
No, nothing
Hmm, I have to admit, I am mistified by this, I can't see any way that this could happen. What distro are you on? I wonder if you could compile up galeon and gtk without any optimisations, with debug symbols (-g) and reproduce the crash. The above trace appears to have some symbols, but not all.
Sorry for the delay in responding, other stuff took over my life for a while. I'm on SuSE 9.1, using packages I build for www.usr-local-bin.org Recompiling GTK+ and Galeon today, will get my wife to retry it tonight and give me the backtrace.
Okay, new backtrace: Backtrace was generated from '/opt/gnome/bin/galeon-bin' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1091189376 (LWP 11000)] [New Thread 1125313456 (LWP 11143)] [Thread debugging using libthread_db enabled] [New Thread 1091189376 (LWP 11000)] [New Thread 1125313456 (LWP 11143)] [Thread debugging using libthread_db enabled] [New Thread 1091189376 (LWP 11000)] [New Thread 1125313456 (LWP 11143)] [New Thread 1121356720 (LWP 11069)] [New Thread 1113496496 (LWP 11061)] [New Thread 1111206832 (LWP 11010)] [New Thread 1102945200 (LWP 11004)] 0xffffe410 in ?? ()
+ Trace 47212
Thread 1 (Thread 1091189376 (LWP 11000))
*** Bug 144944 has been marked as a duplicate of this bug. ***
Well, this has been seen twice now :-( I have absolutely no clue as to what is going on. What version of gtk+ are you using ?
First bt was with 2.4.2, second after upgrading to 2.4.3
Here it's gtk2-2.4.1-2 from Fedora Devel
Crashing sites so far: http://www.frenchmozilla.org/ http://www.mozilla.org/directory/javasdk.html http://java.debian.net/
You may take a look at the minimal testcase I've written. I've discovered that Galeon crashes when there are at least two "alternate stylesheets" in the HTML header. With zero or one alternate stylesheet, it is ok. Also, Mozilla with same Gecko version (shared libs) is fine. So it could be a bug in the code that displays info about these alternate stylesheets in the "view" menu ? Attachment is following.
Created attachment 29003 [details] testcase crashing galeon
btw, gtk+2.0-2.4.3-1mdk here (Mandrake version)
*** Bug 144868 has been marked as a duplicate of this bug. ***
What version of mozilla is everyone using here ?
1.6, built against GTK+ 2.4
mozilla-1.7-1mdk Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7) Gecko/20040617 Galeon/1.3.15
[nim@ulysse nim]$ rpm -q mozilla galeon gtk2 mozilla-1.7-0.3.1 galeon-1.3.15-0.fdr.2 gtk2-2.4.1-2
Attachement #29003 is crashing my galeon too:(
Hmmm... even if you don't solve this bug, it would be nice to put a workaround, such as not displaying more than one alternate stylesheet ;-) It is really annoying in day to day use. I happened to lose a text I was writing because I tried to display some info I had found in Google and it crashed the browser.
I can imagine that this is _really_ annoying, but the thing is, it doesn't crash for any of the developers, and I can't see any obvious bugs.
Created attachment 29342 [details] Crash trace with galeon 1.3.16
*** Bug 146067 has been marked as a duplicate of this bug. ***
*** Bug 146865 has been marked as a duplicate of this bug. ***
*** Bug 146866 has been marked as a duplicate of this bug. ***
*** Bug 147020 has been marked as a duplicate of this bug. ***
*** Bug 147355 has been marked as a duplicate of this bug. ***
Could someone please try and apply http://bugzilla.gnome.org/attachment.cgi?id=29530&action=view and see if that fixes the problem ?
That seems to have fixed it for me, can anyone verify for them too?
Works here too
Doesn't work for me. I'll respond later this afternoon with a stack trace to see if anything has changed.
*** Bug 147602 has been marked as a duplicate of this bug. ***
*** Bug 147632 has been marked as a duplicate of this bug. ***
Created attachment 29603 [details] [review] User proper refcounting with stylesheets Can you please try this patch and see if it changes anything. For better or worse :)
Created attachment 29604 [details] [review] Use proper refcounting with stylesheets Err, I mean this one.
With or without the previous patch?
Whichever way it applies cleanly (you can test with --dry-run.) Probably with, since the earlier patch was commited to CVS.
*** Bug 146227 has been marked as a duplicate of this bug. ***
*** Bug 147506 has been marked as a duplicate of this bug. ***
The patch has been committed to CVS. http://lists.gnome.org/archives/cvs-commits-list/2004-July/msg03360.html
The patch has been applied to the Mandrake version. Thanks a lot!!
*** Bug 149029 has been marked as a duplicate of this bug. ***