GNOME Bugzilla – Bug 66913
Gnome Help Browser crashes
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-core Severity: normal Version: 1.4.0.2 Synopsis: Gnome Help Browser crashes Bugzilla-Product: gnome-core Bugzilla-Component: help-browser Description: I was reading the evolution help and one time that I clicked "next" gnome-help-browser crashed Debugging Information: (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...0x4064a919 in wait4 () from /lib/libc.so.6
+ Trace 15054
------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-12-13 17:45 ------- The original reporter (asensio@wanadoo.es) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, gnome-core-maint@bugzilla.gnome.org.
Just to get it into bugzilla. The fix for this is a one-liner with gtk-xmhtml (in gnome-libs). I posted it to gnome-libs-devel: http://mail.gnome.org/archives/gnome-libs-devel/2002-January/msg00006.html But here it is: --- gnome-libs-1.4.1.2/gtk-xmhtml/images.c Wed Jun 28 07:43:25 2000 +++ gnome-libs-1.4.1.2hacking/gtk-xmhtml/images.c Mon Jan 7 02:24:57 2002 @@ -2390,7 +2395,7 @@ { if(!html->html.xcc) _XmHTMLCheckXCC(html); - image->xcc = html->html.xcc; + xcc = image->xcc = html->html.xcc; } }
Commited. Thanks.
*** Bug 65040 has been marked as a duplicate of this bug. ***
*** Bug 60237 has been marked as a duplicate of this bug. ***
*** Bug 61638 has been marked as a duplicate of this bug. ***
*** Bug 64987 has been marked as a duplicate of this bug. ***
Hmm. After applying this I get the following crash in help browser. To reproduce: Foot-menu->Run->help If you can fix this too you'll the bughero of the week :) no debugging symbols found)...0x4063ca49 in __wait4 () from /lib/i686/libc.so.6
+ Trace 15987
Created attachment 6365 [details] [review] Increase error checkin
I can't reproduce your bug. The above patch is a one-liner to check the result of a function that 'should' never fail. It's based on your stack trace. It is a crappy patch because it just tries to avoid the segfault, rather than figure out what is going wrong at the deeper level. gtkhtml is 1.0.0 now, so we can assume the API has stabilised. How hard would it be to update the gtkhtml support to 1.0.0 and make that the default for the next gnome-libs release? gtk-xmhtml sucks. I can actually crash the gnome-help browser when I quit it after viewing the 'run program' help files.
Fixed it for me. I'll run some more tests. I agree that it's bad to spend a large amount of time fixing gtk-xmhtml, and this is one of the last crashes I know of in there so let's leave it... For 2.0 there's a new help browser anyway
The patch worked! Does this mean I am bug-hero of the week!? :) What did you think of my help-browser gtkhtml idea? Surely that would fix all these xmhtml bugs. It's a serious problem that every gnome desktop out there now has such a buggy help browser. And there will be so many more users of gnome 1.4 in the next 2 years... Even if Gnome 2 is out in 3-4 months, it will take a year or a year and a half for most distributions to catch up... So dodgy.
*** Bug 68667 has been marked as a duplicate of this bug. ***
*** Bug 51299 has been marked as a duplicate of this bug. ***
ok I am fairly happy that the two bugs fixed in this bug are probably most of the gnome-help-browser crashes. (except BUG 9293 which seems to have gone away). I am very happy and do not care much about gnome-help-browser now. :)
*** Bug 68286 has been marked as a duplicate of this bug. ***
*** Bug 69276 has been marked as a duplicate of this bug. ***
*** Bug 69232 has been marked as a duplicate of this bug. ***
*** Bug 66109 has been marked as a duplicate of this bug. ***