[haiku-bugs] Re: [Haiku] #6288: popen deadlocks Paladin on multicore machines

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 09 Jul 2010 10:46:04 -0000

#6288: popen deadlocks Paladin on multicore machines
  Reporter:  darkwyrm      |         Owner:  nobody   
      Type:  bug           |        Status:  new      
  Priority:  normal        |     Milestone:  R1       
 Component:  System/POSIX  |       Version:  R1/alpha2
Resolution:                |      Keywords:           
Blocked By:                |   Has a Patch:  0        
  Platform:  All           |      Blocking:           

Comment (by bonefish):

 When it hangs a stack trace of the child process (the one `fork()`ed off
 from Paladin) from the kernel debugger would interesting. Also a `thread
 <id>` for that team.

 The problem I see in the `exec*()` family is that memory is allocated from
 the heap (in `__parse_invoke_line()` and `__flatten_process_args()`, which
 should better not be done, if the `fork()`ed process was multi-threaded
 (until we fix `fork()` that is).

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

Other related posts: