[pygtk] segfault

Yann Leboulanger asterix at lagaule.org
Fri Apr 13 04:45:24 WST 2012


Hi,

We are experiencing a strange bug in our application, which result 
sometimes in a segfault, and sometimes in a freeze of the application.

it's related to accel groups.

In our application (quite big, and I haven't tried to make a small test 
case, but if someone is interested I can point to the code in our 
application), we open a window, and in the constructor, we create an 
accel group and attach it to the window ([0]).
One of the handled keys in Escape, and we close the window when we press 
Esc ([1]).

If I "play" to open the window, press Esc, open the window, press Esc, 
etc... At some point the application will segfault or freeze.

We gathered the output of gdb and strace (strange thing about futex??), 
attached to this mail, but we don't know how to go further in the 
debugging. Any idea about that?

Thanks in advanced.

[0] http://hg.gajim.org/gajim/file/93f6e8ddbc2a/src/message_window.py#l103
[1] http://hg.gajim.org/gajim/file/93f6e8ddbc2a/src/message_window.py#l423
-- 
Yann
-------------- section suivante --------------
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : gdb_output.txt
URL : <http://www.daa.com.au/pipermail/pygtk/attachments/20120412/ff8d74b1/attachment.txt>
-------------- section suivante --------------
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : strace_output.txt
URL : <http://www.daa.com.au/pipermail/pygtk/attachments/20120412/ff8d74b1/attachment-0001.txt>


More information about the pygtk mailing list