[haiku-bugs] Re: [Haiku] #9135: net_server always crashes after boot

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 11 Nov 2012 11:57:57 -0000

#9135: net_server always crashes after boot
----------------------------------+----------------------------
   Reporter:  luroh               |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Servers/net_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by axeld):

 Ah right, sorry, we somehow lost track of that one. The reason is not yet
 clear, though, even though we thought we had understood it. The issue
 arises when the fork() exits without an exec(): the ICULocaleBackend tries
 to free some thread local data. Unlike Linux, the TLS is preserved in
 Haiku when forking. Why it actually crashes we don't know yet.

 You should be able to always let it crash by letting it run with the debug
 heap (ie. LD_PRELOAD=libroot_debug.so MALLOC_DEBUG=pw net_server).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9135#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: