[haiku-bugs] [Haiku] #11182: Haiku pthread crash when run through libroot_debug.so

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sat, 30 Aug 2014 23:52:00 -0000

#11182: Haiku pthread crash 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
 Keywords:  pthread       |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 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
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/11182>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: