On Sun, Nov 21, 2010 at 02:09:10PM +0100, Martin Kopta wrote:
> > $ surf
> > (<unknown>:12945): Gdk-CRITICAL **: IA__gdk_gc_new: assertion `drawable != 
> > NULL' failed
> > (<unknown>:12945): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: assertion 
> > `GDK_IS_GC (gc)' failed
> > (<unknown>:12945): GLib-GObject-WARNING **: invalid uninstantiatable type 
> > `(null)' in cast to `GtkWidget'
> > Segmentation fault 
> > $ 
> 
> Here is the backtrace of the segfault
> 
> (gdb) bt
> #0  0x0000000000404157 in drawindicator ()
> #1  0x00000000004041f2 in update ()
> #2  ...


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?

Reply via email to