[Glade-users] segfault on gnome_app_set_contents
- From: xavier bestel free fr (Xavier Bestel)
- Subject: [Glade-users] segfault on gnome_app_set_contents
- Date: 15 May 2003 12:34:27 +0200
Le jeu 15/05/2003 � 12:12, Damon Chaplin a �crit :
Anyway, I've had a look at it and it looks like a bug in GTK+.
gtk_viewport_realize() doesn't check if the adjustments have been
created.
Is is already reported, or should I file something in bugzilla ?
You can work around it by turning off the 'Visible' property of
appwindow. Then after the call to gnome_app_set_contents() call
gtk_widget_show (appwindow);
Ok, it works if I don't call glade_xml_signal_autoconnect().
Otherwise, I have this segfault when autoconnecting (note that I don't
have signals defined in my .glade file):
[New Thread 16384 (LWP 21839)]
0x40909af9 in wait4 () from /lib/libc.so.6
#0 0x40909af9 in wait4 () from /lib/libc.so.6
#1 0x4097cf60 in sys_sigabbrev () from /lib/libc.so.6
#2 0x407c9061 in waitpid () from /lib/libpthread.so.0
#3 0x400859fa in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
#4 0x407ca75a in __pthread_sighandler () from /lib/libpthread.so.0
#5 0x408969c8 in sigaction () from /lib/libc.so.6
#6 0x4002f2c6 in glade_xml_signal_autoconnect () from /usr/lib/libglade-2.0.so.0
#7 0x08048af2 in main (argc=1, argv=0xbffffb14) at main.c:20
Thread 1 (Thread 16384 (LWP 21839)):
#0 0x40909af9 in wait4 () from /lib/libc.so.6
No symbol table info available.
#1 0x4097cf60 in sys_sigabbrev () from /lib/libc.so.6
No symbol table info available.
#2 0x407c9061 in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#3 0x400859fa in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#4 0x407ca75a in __pthread_sighandler () from /lib/libpthread.so.0
No symbol table info available.
#5 0x408969c8 in sigaction () from /lib/libc.so.6
No symbol table info available.
#6 0x4002f2c6 in glade_xml_signal_autoconnect () from /usr/lib/libglade-2.0.so.0
No symbol table info available.
#7 0x08048af2 in main (argc=1, argv=0xbffffb14) at main.c:20
xml = (GladeXML *) 0x4097cf60
appwindow = (GtkWidget *) 0x80b6f00
#0 0x40909af9 in wait4 () from /lib/libc.so.6
Thanks,
Xav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]