On Fri, 2006-01-20 at 11:55 +0100, Colossus wrote: > László Monda wrote: > > Could someone here explain why does it segfault? > > Compile it with the -g flag and then run it in gdb. When the segfault > occurs issue bt. You should have the line where the segfault occurs.
Program received signal SIGSEGV, Segmentation fault. 0xb781acab in strlen () from /lib/tls/libc.so.6 (gdb) bt #0 0xb781acab in strlen () from /lib/tls/libc.so.6 #1 0xb7921e58 in g_strdup () from /usr/lib/libglib-2.0.so.0 #2 0xb7b673db in gdk_pixbuf_new_from_xpm_data () from /usr/lib/libgdk_pixbuf-2.0.so.0 #3 0xb7b67851 in gdk_pixbuf_save () from /usr/lib/libgdk_pixbuf-2.0.so.0 #4 0x08048665 in main (argc=1, argv=0xbff32fd4) at convert.c:9 Does that mean that GDK is buggy? -- Laci Blog: http://monda.hu/~laci/blog Home: http://mondalaci.objectis.net _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list