GNU gdb 4.16.1 Copyright 1997 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-opennt"... [Established Pth Debugging Environment] (gdb) b main Breakpoint 1 at 0x401607: file test_std.c, line 80. (gdb) run Starting program: //D/Interix/tmp/pth/pth-1.3.7/test_std Breakpoint 1, main (argc=1, argv=0x2065c) at test_std.c:80 80 fprintf(stderr, "\n=== TESTING GLOBAL LIBRARY API ===\n\n"); (gdb) cont Continuing. === TESTING GLOBAL LIBRARY API === Fetching library version version = 0x103207 === TESTING BASIC OPERATION === Initializing Pth system (spawns scheduler and main thread) 4399:pth_lib.c:0060: pth_init: enter 4399:pth_lib.c:0199: pth_spawn: enter 4399:pth_lib.c:0287: pth_spawn: leave 4399:pth_lib.c:0199: pth_spawn: enter 4399:pth_lib.c:0287: pth_spawn: leave ==== THREAD CONTEXT SWITCH =========================================== 4399:pth_sched.c:0165: pth_scheduler: bootstrapping 4399:pth_sched.c:0189: pth_scheduler: new thread "main" moved to top of ready queue 4399:pth_sched.c:0207: pth_scheduler: thread "main" selected (prio=0, qprio=0) 4399:pth_sched.c:0232: pth_scheduler: switching to thread 0x852930 ("main") ==== THREAD CONTEXT SWITCH =========================================== 4399:pth_lib.c:0112: pth_init: leave Killing Pth system for testing purposes 4399:pth_lib.c:0122: pth_kill: enter Program received signal SIGSEGV, Segmentation fault. 0x77f7d575 in ?? () (gdb) bt #0 0x77f7d575 in ?? () #1 0x77f64e17 in ?? () #2 0x414c74 in free () at free.c:93 #3 0x401fe2 in pth_kill () at pth_lib.c:129 #4 0x4016ef in main (argc=1, argv=0x2065c) at test_std.c:98 #5 0x4013ef in _mainCRTStartup () (gdb)