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.
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 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
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/
from gtk import _gtk
** (python:24631): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 0' failed python2. 7/dist- packages/ gtk-2.0/ gtk/__init_ _.py:40: Warning: cannot register existing type `GdkDevice' python2. 7/dist- packages/ gtk-2.0/ gtk/__init_ _.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
/usr/lib/
from gtk import _gtk
/usr/lib/
from gtk import _gtk
Segmentation fault (core dumped)
So, importing gtk after osk from Onboard causes a segfault.