Comment 14 for bug 896836

Revision history for this message
Alec Warner (antarus) wrote :

On precise we hit this with gtk and osk (part of Onboard.)

Manually importing gtk causes the segfault to go away, but nothing happens.

The segfault can also be reproduced by:

$ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Onboard import osk
>>> import gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
 from gtk import _gtk

** (python:24631): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 0' failed
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type `GdkDevice'
 from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
 from gtk import _gtk
Segmentation fault (core dumped)

So, importing gtk after osk from Onboard causes a segfault.