Don Allingham wrote:

I've been attempting to port pygtk-1.99.14 and gnome-python-1.99.14 to
SuSE 8.2 because the packages SuSE shipped are rather broken (built
without gnome.ui). I've been able to build the packages, but when I run
my application, I get a segfault in the glade_xml_new call.

At this point, I'm kind of stuck. I have a backtrace from gdb. If anyone
can provide some insight, I'd appreciate it.

(gdb) backtrace
#0 0x40f9436e in gnome_app_get_type () from /opt/gnome2/lib/libgnomeui-2.so.0
#1 0x402d20e2 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#2 0x402bdc6f in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
#3 0x402bd4ce in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#4 0x40b1d889 in glade_standard_build_widget () from /opt/gnome2/lib/libglade-2.0.so.0
#5 0x4121b52c in app_build () from /opt/gnome2/lib/libglade/2.0/libgnome.so
#6 0x40b1df6b in glade_xml_build_widget () from /opt/gnome2/lib/libglade-2.0.so.0
#7 0x40b1cbba in glade_flags_from_string () from /opt/gnome2/lib/libglade-2.0.so.0
#8 0x40b1b023 in glade_xml_construct () from /opt/gnome2/lib/libglade-2.0.so.0
#9 0x40b1af7b in glade_xml_new () from /opt/gnome2/lib/libglade-2.0.so.0
#10 0x402af61a in _wrap_glade_xml_new (self=0x3, args=0x8545cbc, kwargs=0x0) at libglade.c:38


If there is no gnome.ui module, then it is not possible to initialise the libgnomeui library. libglade is not guaranteed to function if you do not initialise the libraries you use.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to