#11182: pthread double free when run through libroot_debug.so ----------------------------+---------------------------- Reporter: kallisti5 | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1/alpha5 Component: System/POSIX | Version: R1/Development Resolution: | Keywords: pthread Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------+---------------------------- Description changed by pulkomandy: Old description: > Our pthread implementation has a minor memory access bug somewhere. > > To reproduce: > > {{{ > Download a simple pthread example: > http://www.cs.ucsb.edu/~tyang/class/pthreads/code_sgi/p_hello.c > > Compile it: > gcc p_hello.c > > Run it under libroot_debug.so: > LD_PRELOAD=libroot_debug.so ./a.out 5 > }}} New description: Our pthread implementation has a minor memory access bug somewhere. To reproduce: {{{ Download a simple pthread example: http://www.cs.ucsb.edu/~tyang/class/pthreads/code_sgi/p_hello.c Compile it: gcc p_hello.c Run it under libroot_debug.so: LD_PRELOAD=/system/lib/libroot_debug.so ./a.out 5 }}} -- -- Ticket URL: <https://dev.haiku-os.org/ticket/11182#comment:4> Haiku <https://dev.haiku-os.org> Haiku - the operating system.