GNOME Bugzilla – Bug 110710
yelp crashed while viewing info page
Last modified: 2004-12-22 21:47:04 UTC
Package: Yelp Severity: critical Version: GNOME2.2.0 2.2.0 os_details: Gnome.Org Synopsis: yelp crashed while viewing info page Bugzilla-Product: Yelp Bugzilla-Component: general BugBuddy-GnomeVersion: 2.0 (2.2.0.1) Description: Description of Problem: I was viewing the info page for fftw, highlighted a paragraph, and then clicked on the back button. Steps to reproduce the problem: 1. 2. 3. Actual Results: Expected Results: How often does this happen? Once so far. Additional Information: Running on a SuSE 8.0 system with gnome-2.2 from garnome-0.21.2. garnome compiled Xft and fontconfig independently, since my xfree86 version is xf86-4.2.0-107 (SuSE 8.0 package). Debugging Information: Backtrace was generated from '/opt/gnome-2.2/bin/yelp' [New Thread 1024 (LWP 5085)] [New Thread 2049 (LWP 5092)] 0x40afe099 in wait4 () from /lib/libc.so.6
+ Trace 35909
Thread 1 (Thread 1024 (LWP 5085))
------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-04-13 19:42 ------- Reassigning to the default owner of the component, micke@codefactory.se.
Yup, easy to duplicate with the steps indicated. Thanks for the report. Moving to gtkhtml2, 'cause that's where the crash seems to be originating.
I have reproduced this.
Created attachment 15710 [details] [review] Proposed patch
The crash happens when we try to clear the selection when the box is being destroyed. The fix us to check whether the DomNode for the box has been deleted. If is has, we do not attempt to redraw the box. I needed to add weak pointer when slave HtmlBoxText are created. I will apply fix to HEAD and gnome-2-2 branch.