Hi Ralf,
Here is a backtrace from gdb of test_std. Let me know if there is
anything else I can get that will help. I'm not really sure how to
set a break in "malloc_error_break" as suggested below.
Brian
gamgee:.libs helenbrk$ gdb test_std
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:11:19
UTC 2007)
Copyright 2004 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 "powerpc-apple-darwin"...Reading symbols
for shared libraries .... done
(gdb) run
Starting program: /Users/helenbrk/Packages/pth-2.0.7/.libs/test_std
Reading symbols for shared libraries +++. done
=== TESTING GLOBAL LIBRARY API ===
Fetching library version
version = 0x200207
=== TESTING BASIC OPERATION ===
Initializing Pth system (spawns scheduler and main thread)
Killing Pth system for testing purposes
test_std(34288) malloc: *** error for object 0xbffff770: Non-aligned
pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
test_std(34288) malloc: *** error for object 0x45e90: Non-aligned
pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
Re-Initializing Pth system
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000c007
0x94683100 in swapcontext ()
(gdb) bt
#0 0x94683100 in swapcontext ()
#1 0x00017108 in pth_init ()
#2 0x000018f0 in main ()
______________________________________________________________________
GNU Portable Threads (Pth) http://www.gnu.org/software/pth/
Development Site http://www.ossp.org/pkg/lib/pth/
Distribution Files ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing List pth-users@gnu.org
Automated List Manager (Majordomo) [EMAIL PROTECTED]