[haiku-bugs] Re: [Haiku] #9148: Must be able to install itself in Deskbar w/o net_server running.

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 13 Nov 2012 03:32:45 -0000

#9148: Must be able to install itself in Deskbar w/o net_server running.
------------------------------------------+-----------------------
   Reporter:  mmadia                      |      Owner:  axeld
       Type:  bug                         |     Status:  new
   Priority:  high                        |  Milestone:  R1/beta1
  Component:  Applications/NetworkStatus  |    Version:  R1/alpha4
 Resolution:                              |   Keywords:
 Blocked By:                              |   Blocking:
Has a Patch:  0                           |   Platform:  All
------------------------------------------+-----------------------

Comment (by anevilyak):

 I've looked into this code and so far I don't really see how it could
 cause a hang. Nothing it does while installing itself in Deskbar nor in
 its constructor/AttachedToWindow() in any way talks to net_server (all of
 it is done via ioctls directly to the network stack at that point), so
 that doesn't appear to be the reason it's hanging. When it does
 communicate with net_server later, it uses BMessengers which would fail
 immediately if net_server isn't actually running. I don't really see any
 logical reason for it to block like this unless one of the ioctls is
 itself blocking, which would make it more of a kernel/network stack
 problem.

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

Other related posts: