[haiku-bugs] Re: [Haiku] #5668: net_server often crashes after boot

  • From: "marcusoverhagen" <trac@xxxxxxxxxxxx>
  • Date: Fri, 24 Dec 2010 02:55:19 -0000

#5668: net_server often 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:                      |  Has a Patch:  0
  Platform:  x86                 |     Blocking:  4470
---------------------------------+------------------------------

Comment (by marcusoverhagen):

 I think these problems are related to Services::_LaunchService()
 Removing this function makes the crash disappear.

 Probably fork() followed by execv() will destroy/modify some semaphores
 used for locking.

 For debbuging purposes, I've been using

 #define BLOCKER_ALWAYS_SEMAPHORE_STYLE  1
 and
 #define ENABLE_PARANOIA_CHECKS 1

 to build the images.

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

Other related posts: