Re: [dev] surf segfault

From: Gregor Best <gbe_AT_ring0.de>
Date: Sun, 21 Nov 2010 15:18:25 +0100

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).

-- 
    $l="\n";$p=q-sub r{rand}sub c{((shift)**2+(shift)**2)<1}while(
    $i++<=$s){$t++if c r,r}die("Gregor Best, 0xDB9F9A7C, ".($t/$s*
    4).$l)-;$s+=ord$$|$_ for split //,$p;srand($s|$$);eval$p;die$@

Received on Sun Nov 21 2010 - 15:18:25 CET

This archive was generated by hypermail 2.2.0 : Sun Nov 21 2010 - 15:24:02 CET