Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2006 11:04:25 +0200
From:      Norbert Kaufmann <norbert@akumakun.de>
To:        gnome@FreeBSD.org
Subject:   pygtk unusable - Segmentation fault: 11 (core dumped)
Message-ID:  <448A8B19.1070109@akumakun.de>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello experts,

could anybody please give me a hint on this issue.

~$ uname -rs
FreeBSD 6.1-PRERELEASE

~$ python -V
Python 2.4.3

~$ python /usr/local/share/examples/py-gtk/pygtk-demo/pygtk-demo.py

(process:1049): GLib-GObject-CRITICAL **: gtype.c:2254: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:1049): GLib-GObject-CRITICAL **: gtype.c:2294: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:1049): GLib-GObject-CRITICAL **: gtype.c:2254: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:1049): GLib-GObject-CRITICAL **: gtype.c:2294: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:1049): GLib-GObject-CRITICAL **: gtype.c:2254: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:1049): GLib-GObject-CRITICAL **: g_object_new: assertion
`G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault: 11 (core dumped)

The pygtk version is 2.8.6, gtk 2.8.18. This problem occured after
upgrading from the 2.6 versions of pygtk and gtk.

gdb tells me something like this (avoided to build everything new with
debugging symbols)
(gdb) bt
#0  0x287f62e3 in gtk_rc_find_module_in_path ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#1  0x287f5658 in gtk_rc_scanner_new () from
/usr/X11R6/lib/libgtk-x11-2.0.so.0
#2  0x287f4f74 in gtk_rc_scanner_new () from
/usr/X11R6/lib/libgtk-x11-2.0.so.0
#3  0x287f3f7b in gtk_rc_scanner_new () from
/usr/X11R6/lib/libgtk-x11-2.0.so.0
#4  0x287f20a1 in gtk_rc_parse_string ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#5  0x287f225b in gtk_rc_parse_string ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#6  0x287f1cb3 in gtk_rc_get_default_files ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#7  0x287f346d in gtk_rc_reparse_all_for_settings ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#8  0x288037dd in gtk_settings_get_for_screen ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#9  0x28803838 in gtk_settings_get_default ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#10 0x2880f709 in gtk_style_get_type () from
/usr/X11R6/lib/libgtk-x11-2.0.so.0
#11 0x28385e58 in g_type_create_instance ()
   from /usr/local/lib/libgobject-2.0.so.0
#12 0x2836dda2 in g_object_new_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#13 0x2836d2c1 in g_object_newv () from #14 0x2836da77 in
g_object_new_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#15 0x2836cde6 in g_object_new () from /usr/local/lib/libgobject-2.0.so.0
#16 0x28810027 in gtk_style_new () from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#17 0x288bf770 in gtk_widget_get_default_style ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#18 0x288b979b in gtk_widget_get_type ()
   from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#19 0x28385b9e in g_type_create_instance ()
   from /usr/local/lib/libgobject-2.0.so.0
#20 0x2836dda2 in g_object_new_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#21 0x2836d2c1 in g_object_newv () from /usr/local/lib/libgobject-2.0.so.0
#22 0x2834bbc8 in ?? ()
   from /usr/local/lib/python2.4/site-packages/gtk-2.0/gobject.so
#23 0x0826ecc0 in ?? ()
#24 0x00000000 in ?? ()
#25 0xbfbfdfc0 in ?? ()
#26 0x2867f990 in ?? ()
   from /usr/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
#27 0x00000000 in ?? ()
#28 0xbfbfdfd8 in ?? ()
#29 0xbfbfdff8 in ?? ()
/usr/local/lib/libgobject-2.0.so.0
#30 0x28594aa8 in init_gtk ()
   from /usr/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
Previous frame identical to this frame (corrupt stack?)


Any clues?

TIA

Norbert
- --
I haven't lost my mind -- it's backed up on tape somewhere.

-----BEGIN PGP SIGNATURE-----

iD8DBQFEiosTWXO4MMJcqxQRAnH2AKCSaYbO4tx44cw9cMdpf+gvbVRKsgCg1sws
rCEdG7LjrQlRB4PHgyJGWDQ=
=0EwN
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448A8B19.1070109>