[haiku-bugs] Re: [Haiku] #11815: pthread Posix test suite failures

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Mon, 02 Feb 2015 15:04:20 -0000

#11815: pthread Posix test suite failures
---------------------------------+----------------------------
   Reporter:  kallisti5          |      Owner:  axeld
       Type:  bug                |     Status:  new
   Priority:  normal             |  Milestone:  R1/beta1
  Component:  System/libroot.so  |    Version:  R1/Development
 Resolution:                     |   Keywords:  pthread
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------

Comment (by kallisti5):

 * gcc -I./include
 ./conformance/interfaces/pthread_attr_setdetachstate/2-1.c  -g


 * LD_PRELOAD=libroot_debug.so ./a.out


 {{{
 KERN: 30030: DEBUGGER: _numBlocks > 0
 KERN: debug_server: Thread 30030 entered the debugger: Debugger call:
 `_numBlocks > 0'
 KERN: stack trace, current PC 0x1d3a70d4fc9  _kern_debugger + 0x9:
 KERN:   (0x7f1f9b181360)  0x1d3a7178f5e  _ZN8BPrivate11processHeap4freeEPv
 + 0x18e
 KERN:   (0x7f1f9b1813a0)  0x1d3a7179aa0  free + 0x40
 KERN:   (0x7f1f9b1813c0)  0x1d3a70e2598  pthread_join + 0x88
 KERN:   (0x7f1f9b181400)  0x13d1368dc42  main + 0x9d
 KERN:   (0x7f1f9b181430)  0x13d1368dac1  _start + 0x51
 KERN:   (0x7f1f9b181460)  0x7977d707e3  runtime_loader + 0xf3
 KERN: debug_server: Killing team 30030 (./a.out)
 KERN: debug_server: TeamDebugHandler::Init(): Failed to get info for team
 30030: Operation on invalid team
 KERN: debug_server: KillTeam(): Error getting info for team 30030:
 Operation on invalid team
 KERN: debug_server: Killing team 30030 ()
 KERN: 30049: DEBUGGER: _numBlocks > 0
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/11815#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: