Bug#703786: python-gtk2: segfault on help() modules

Matías Bellone matiasbellone+debian at gmail.com
Sat Mar 23 19:33:52 UTC 2013


On Sat, Mar 23, 2013 at 4:01 PM, Sebastian Ramacher
<sramacher at debian.org> wrote:
> On 2013-03-23 15:50:18, Matías Bellone wrote:
>> On Sat, Mar 23, 2013 at 3:37 PM, Sebastian Ramacher
>> <sramacher at debian.org> wrote:
>> > Control: tag -1 + moreinfo
>> >
>> > Hi Matias,
>> >
>> > On 2013-03-23 14:17:35, Matias Bellone wrote:
>> >>   from gtk import _gtk
>> >> Segmentation fault
>> >
>> > this looks very much like #697402. Probably you have a Python module
>> > installed that imports gi.repository.Gtk or is linked against
>> > libgtk-3.so.0. Could you please check if that is the case?
>> >
>>
>> More than happy to do so but I have no idea how to do it.
>>
>> Any suggestions?
>
> Running
>
>   LD_DEBUG=libs python -c 'help("modules")' 2>&1 | grep "gtk"
>
> should be enough to see if both libgtk-3 and libgtk-x11-2.0 get loaded.
> If you can see libgtk-3.so.0 and libgtk-x11-2.0.so.0 in the output of
> that command, it's the same problem as described in #697402.
>

You are right, my bad. Please close the bug as a duplicate.

$ LD_DEBUG=libs python -c 'help("modules")' 2>&1 | grep "gtk"
     13260:	find library=libgtk-3.so.0 [0]; searching
     13260:	  trying file=/usr/lib/i386-linux-gnu/libgtk-3.so.0
     13260:	calling init: /usr/lib/i386-linux-gnu/libgtk-3.so.0
     13260:	/usr/lib/i386-linux-gnu/libgtk-3.so.0: error: symbol
lookup error: undefined symbol: g_module_check_init (fatal)
     13260:	/usr/lib/i386-linux-gnu/libgtk-3.so.0: error: symbol
lookup error: undefined symbol: g_module_unload (fatal)
     13260:	python: error: symbol lookup error: undefined symbol:
gtk_progress_get_type (fatal)
     13260:	calling init: /usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so
     13260:	/usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so:
error: symbol lookup error: undefined symbol: g_module_check_init
(fatal)
     13260:	/usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so:
error: symbol lookup error: undefined symbol: g_module_unload (fatal)
     13260:	find library=libcanberra-gtk3.so.0 [0]; searching
     13260:	  trying file=/usr/lib/i386-linux-gnu/libcanberra-gtk3.so.0
     13260:	calling init: /usr/lib/i386-linux-gnu/libcanberra-gtk3.so.0
     13260:	calling init:
/usr/lib/i386-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so
     13260:	/usr/lib/i386-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so:
error: symbol lookup error: undefined symbol: g_module_unload (fatal)
     13260:	/usr/lib/i386-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so:
error: symbol lookup error: undefined symbol: gtk_progress_get_type
(fatal)
     13260:	/usr/lib/i386-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so:
error: symbol lookup error: undef

Regards,
Toote




More information about the pkg-gnome-maintainers mailing list