GNOME Bugzilla – Bug 4566
GTK 1.2.6 segmentation fault on AIX 4.3
Last modified: 2004-12-22 21:47:04 UTC
Package: gtk+ Version: 1.2.6 When I build and tried to run list ( or any other examples including testgtk ), It segmentation faults OS: AIX 4.3.3 ( fresh reinstallation ) X11 R6.3 GCC: 2.95.2 ( ECGS ) Note: I've installed glib 1.2.6 in /usr/local ( default) The glib tests (testglib ) ran and past all tests. ================ BEGIN SESSION ========================== test1:/home/test1/gtk+-1.2.6/examples/list>make gcc `gtk-config --cflags` list.c -o list `gtk-config --libs` test1:/home/test1/gtk+-1.2.6/examples/list>ls Makefile list list.c test1:/home/test1/gtk+-1.2.6/examples/list>./list Segmentation fault(coredump) test1:/home/test1/gtk+-1.2.6/examples/list>dbx list Type 'help' for help. reading symbolic information ... [using memory image in core] Segmentation fault in glink.__iso_wcstok at 0xd1036b54 ($t1) 0xd1036b54 (__iso_wcstok+0x30) 800c0000 lwz r0,0x0(r12) (dbx) where glink.__iso_wcstok() at 0xd1036b54 gtk_init_check(??, ??), line 199 in "gtkmain.c" gtk_init(??, ??), line 423 in "gtkmain.c" main(0x1, 0x2ff22254) at 0x10000378 (dbx) registers $r0:0x00000000 $stkp:0x2ff220a8 $toc:0xf0396ab4 $r3:0x2ff22218 $r4:0x2ff2221c $r5:0x20006e30 $r6:0x00009be0 $r7:0x00000000 $r8:0x00000000 $r9:0xf038269c $r10:0x00000002 $r11:0xf03a48e8 $r12:0x000e21bc $r13:0xdeadbeef $r14:0x00000001 $r15:0x2ff22254 $r16:0x2ff2225c $r17:0x00000000 $r18:0xdeadbeef $r19:0xdeadbeef $r20:0xdeadbeef $r21:0xdeadbeef $r22:0xdeadbeef $r23:0xdeadbeef $r24:0x00000000 $r25:0x2ff22218 $r26:0xdeadbeef $r27:0x2ff2221c $r28:0xdeadbeef $r29:0xdeadbeef $r30:0xffffffef $r31:0x2ff22148 $iar:0xd1036b54 $msr:0x0000d032 $cr:0x22222449 $link:0xd1033e3c $ctr:0xd1034554 $xer:0x00000000 Condition status = 0:e 1:e 2:e 3:e 4:e 5:g 6:g 7:lo [unset $noflregs to view floating point registers] in glink.__iso_wcstok at 0xd1036b54 ($t1) 0xd1036b54 (__iso_wcstok+0x30) 800c0000 lwz r0,0x0(r12) (dbx) (dbx) dump glink.__iso_wcstok() at 0xd1036b54 (dbx) quit test1:/home/test1/gtk+-1.2.6>oslevel 4.3.3.0 test1:/home/test1/gtk+-1.2.6>uname -a AIX chunaix 3 4 003700484C00 test1:/home/test1/gtk+-1.2.6>gcc --version 2.95.2 __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 14:47 ------- This bug was previously known as bug 4566 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=4566 Originally filed under the gtk+ product and general component. The original reporter (chfong@yahoo.com) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, gtk-bugs@gtk.org.
If someone on AIX debugs this and sends a patch we'll take the patch, we don't have AIX available to fix it ourselves.
*** This bug has been marked as a duplicate of 1087 ***