> When I close my program with (x) button on the window's corner or
> with alt+F4
> I get this error:
> "nomeCanvas-CRITICAL **: file gnome-canvas.c: line 3723
> (gnome_canvas_request_redraw): assertion `GNOME_IS_CANVAS (canvas)'
> <FILE> line 1678 during global destruction.
> Segmentation fault"
> Is there any way to handle to aviod this incident or is it a bug?
It's been ages since i've looked, but as i recall, this is a
combination of a minor bug in libgnomecanvas and reference count
cycles in your program. The reference count cycle keeps the object
alive in a zombie state, and a flag-checking bug causes the object to
try to draw itself while in an invalid state. Sometimes you'll see
crashes at shutdown because of this.