[haiku-bugs] Re: [Haiku] #5210: PANIC: _mutex_lock(): double lock of 0x811f6b04 by thread 252

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 02 Mar 2010 20:46:09 -0000

#5210: PANIC: _mutex_lock(): double lock of 0x811f6b04 by thread 252
--------------------------------------+-------------------------------------
 Reporter:  kaliber                   |       Owner:  axeld         
     Type:  bug                       |      Status:  new           
 Priority:  normal                    |   Milestone:  R1            
Component:  Network & Internet/Stack  |     Version:  R1/Development
 Keywords:                            |   Blockedby:                
 Platform:  All                       |    Blocking:                
--------------------------------------+-------------------------------------

Comment(by bonefish):

 The problem is easily understood:
 net_socket_private::~net_socket_private() locks the socket and further up
 the stack socket_notify() does it again. I guess Axel can tell us how this
 is supposed to work. Maybe the uninit_protocol() hook is not supposed to
 send any notifications?

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

Other related posts: