After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144012 - Galeon crashes [galeon_css_menu_rebuild / gtk_radio_action_set_group]
Galeon crashes [galeon_css_menu_rebuild / gtk_radio_action_set_group]
Status: RESOLVED FIXED
Product: galeon
Classification: Deprecated
Component: User interface
1.3.15
Other Linux
: High critical
: 1.3.17
Assigned To: Philip Langdale
Yanko Kaneti
: 144868 144944 146067 146227 146865 146866 147020 147355 147506 147602 147632 149029 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-09 09:39 UTC by James Ogley
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase crashing galeon (312 bytes, text/html)
2004-06-25 12:47 UTC, Antoine Pitrou
  Details
Crash trace with galeon 1.3.16 (2.52 KB, text/plain)
2004-07-08 08:55 UTC, Nicolas Mailhot
  Details
User proper refcounting with stylesheets (7.08 KB, patch)
2004-07-17 08:12 UTC, Tommi Komulainen
none Details | Review
Use proper refcounting with stylesheets (4.55 KB, patch)
2004-07-17 08:14 UTC, Tommi Komulainen
none Details | Review

Description James Ogley 2004-06-09 09:39:57 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 ?? ()

Thread 1 (Thread 1091177056 (LWP 3150))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #6 nsProfileLock::FatalSignalHandler
    from /opt/mozilla/lib/libgtkembedmoz.so
  • #7 <signal handler called>
  • #8 gtk_radio_action_set_group
    at gtkradioaction.c line 430

Comment 1 Tommi Komulainen 2004-06-09 10:56:16 UTC
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.
Comment 2 James Ogley 2004-06-09 15:00:09 UTC
No, nothing
Comment 3 Crispin Flowerday (not receiving bugmail) 2004-06-09 20:45:27 UTC
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.
Comment 4 James Ogley 2004-06-21 09:27:34 UTC
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.
Comment 5 James Ogley 2004-06-21 17:36:57 UTC
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 ?? ()

Thread 1 (Thread 1091189376 (LWP 11000))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #6 nsProfileLock::FatalSignalHandler
    from /opt/mozilla/lib/libgtkembedmoz.so
  • #7 <signal handler called>
  • #8 gtk_radio_action_set_group
    at gtkradioaction.c line 430

Comment 6 Yanko Kaneti 2004-06-25 00:34:20 UTC
*** Bug 144944 has been marked as a duplicate of this bug. ***
Comment 7 Crispin Flowerday (not receiving bugmail) 2004-06-25 07:35:46 UTC
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 ?
Comment 8 James Ogley 2004-06-25 07:36:39 UTC
First bt was with 2.4.2, second after upgrading to 2.4.3
Comment 9 Nicolas Mailhot 2004-06-25 07:57:25 UTC
Here it's gtk2-2.4.1-2 from Fedora Devel
Comment 11 Antoine Pitrou 2004-06-25 12:47:21 UTC
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.
Comment 12 Antoine Pitrou 2004-06-25 12:47:54 UTC
Created attachment 29003 [details]
testcase crashing galeon
Comment 13 Antoine Pitrou 2004-06-25 12:51:29 UTC
btw, gtk+2.0-2.4.3-1mdk here (Mandrake version)
Comment 14 Crispin Flowerday (not receiving bugmail) 2004-06-25 13:31:27 UTC
*** Bug 144868 has been marked as a duplicate of this bug. ***
Comment 15 Crispin Flowerday (not receiving bugmail) 2004-06-25 13:32:30 UTC
What version of mozilla is everyone using here ?

Comment 16 James Ogley 2004-06-25 13:35:44 UTC
1.6, built against GTK+ 2.4
Comment 17 Antoine Pitrou 2004-06-25 13:37:06 UTC
mozilla-1.7-1mdk
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7) Gecko/20040617 Galeon/1.3.15
Comment 18 Nicolas Mailhot 2004-06-25 14:38:11 UTC
[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
Comment 19 Nicolas Mailhot 2004-06-25 14:40:29 UTC
Attachement #29003 is crashing my galeon too:(
Comment 20 Antoine Pitrou 2004-07-05 19:41:02 UTC
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.
Comment 21 Crispin Flowerday (not receiving bugmail) 2004-07-05 22:10:22 UTC
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.
Comment 22 Nicolas Mailhot 2004-07-08 08:55:50 UTC
Created attachment 29342 [details]
Crash trace with galeon 1.3.16
Comment 23 Crispin Flowerday (not receiving bugmail) 2004-07-09 08:35:18 UTC
*** Bug 146067 has been marked as a duplicate of this bug. ***
Comment 24 Elijah Newren 2004-07-09 23:50:13 UTC
*** Bug 146865 has been marked as a duplicate of this bug. ***
Comment 25 Elijah Newren 2004-07-09 23:50:21 UTC
*** Bug 146866 has been marked as a duplicate of this bug. ***
Comment 26 Elijah Newren 2004-07-09 23:50:31 UTC
*** Bug 147020 has been marked as a duplicate of this bug. ***
Comment 27 Tommi Komulainen 2004-07-11 21:24:14 UTC
*** Bug 147355 has been marked as a duplicate of this bug. ***
Comment 28 Crispin Flowerday (not receiving bugmail) 2004-07-14 15:30:41 UTC
Could someone please try and apply

http://bugzilla.gnome.org/attachment.cgi?id=29530&action=view

and see if that fixes the problem ?
Comment 29 James Ogley 2004-07-14 17:59:46 UTC
That seems to have fixed it for me, can anyone verify for them too?
Comment 30 Nicolas Mailhot 2004-07-14 18:20:02 UTC
Works here too
Comment 31 bbehm 2004-07-14 18:34:57 UTC
Doesn't work for me.

I'll respond later this afternoon with a stack trace to see if anything has changed.
Comment 32 Crispin Flowerday (not receiving bugmail) 2004-07-14 20:19:46 UTC
*** Bug 147602 has been marked as a duplicate of this bug. ***
Comment 33 Crispin Flowerday (not receiving bugmail) 2004-07-15 08:51:48 UTC
*** Bug 147632 has been marked as a duplicate of this bug. ***
Comment 34 Tommi Komulainen 2004-07-17 08:12:25 UTC
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 :)
Comment 35 Tommi Komulainen 2004-07-17 08:14:23 UTC
Created attachment 29604 [details] [review]
Use proper refcounting with stylesheets

Err, I mean this one.
Comment 36 James Ogley 2004-07-17 08:16:31 UTC
With or without the previous patch?
Comment 37 Tommi Komulainen 2004-07-18 10:45:18 UTC
Whichever way it applies cleanly (you can test with --dry-run.)  Probably with,
since the earlier patch was commited to CVS.
Comment 38 Tommi Komulainen 2004-07-18 16:00:48 UTC
*** Bug 146227 has been marked as a duplicate of this bug. ***
Comment 39 Tommi Komulainen 2004-07-18 16:01:47 UTC
*** Bug 147506 has been marked as a duplicate of this bug. ***
Comment 40 Tommi Komulainen 2004-07-18 16:09:46 UTC
The patch has been committed to CVS.

http://lists.gnome.org/archives/cvs-commits-list/2004-July/msg03360.html
Comment 41 Antoine Pitrou 2004-07-21 20:41:06 UTC
The patch has been applied to the Mandrake version. Thanks a lot!!
Comment 42 Crispin Flowerday (not receiving bugmail) 2004-08-02 21:55:32 UTC
*** Bug 149029 has been marked as a duplicate of this bug. ***