Re: [dev] surf segfault

From: Troels Henriksen <athas_AT_sigkill.dk>
Date: Sun, 21 Nov 2010 22:57:27 +0100

Gregor Best <gbe_AT_ring0.de> writes:

> On Sun, Nov 21, 2010 at 02:46:00PM +0100, Martin Kopta wrote:
>> [...]
>> Why is in surf.c at line /gdk_draw_rectangle(w->window,/ the w->window null
>> pointer?
>>
>> (gdb) p w
>> $5 = (GtkWidget *) 0x7fd4d00225e0
>> (gdb) p w->window
>> $6 = (GdkWindow *) 0x0
>>
>> That is good or bad?
>> [...]
>
> I'd say that is because the window is already destroyed there but the
> widget is still alive and being updated (take that with a grain of salt
> though, I didn't actually read the code).

A patch for this issue has been posted several times. I have posted it
at least twice, at least. The problem is that the load-status-change
event (or rather, the event handler) is not disabled before the window
starts being destroyed.

-- 
\  Troels
/\ Henriksen
Received on Sun Nov 21 2010 - 22:57:27 CET

This archive was generated by hypermail 2.2.0 : Sun Nov 21 2010 - 23:36:02 CET