[gcompris-devel] SIGFPE in 0.9.4...

Herman Bruyninckx Herman.Bruyninckx at mech.kuleuven.ac.be
Mon Nov 12 13:22:02 UTC 2001


I tried to find the bug I got several times when moving the mouse over
a gcompris window. Using DDD I traced it back to boards/draw.c:729:

   item_x = event->button.x;
   item_y = event->button.y;
   gnome_canvas_item_w2i(item->parent, &item_x, &item_y);

item_x gets a good value (`0' in the case I debugged), while item_y
gets a bogus value (`2.8429827514139441e-315'...). This might cause
the error in art_affine_point of libart_lgpl.so...

Where this bogus value comes from I don't know...

This is the backtrace stack from DDD:

#4  0x200007da56c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#3  0x2000047ef24 in gnome_canvas_item_constructv () from /usr/lib/libgnomeui.so.32
#2  0x20000f05a6c in item_event (item=0x1200d9b70, event=0x11fffed00, shape=0x11fffe540) at draw.c:729
#1  0x20000480b04 in gnome_canvas_item_w2i () from /usr/lib/libgnomeui.so.32
#0  0x2000058159c in art_affine_point () from /usr/lib/libart_lgpl.so.2

The place where I can reproduce the bug is in the drawing board: when
I move the mouse pointer out of the white canvas, down to the lowest
part of the gcompris board, adn then back again, I get the error
_exactly_ when entering the white canvas... _Very_ reproducible.
The same thing happens when I move the mouse upwards, into the menu,
and back again in the white canvas.
I only get the bug when I move the mouse very slowly.
I get the bug in some other boards, such as the clock, but I cannot
exactly reproduce it...

Herman






More information about the Gcompris-devel mailing list