[haiku-bugs] Re: [Haiku] #12024: Preflet crashed while trying to select wifi network

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Mar 2017 13:56:22 -0000

#12024: Preflet crashed while trying to select wifi network
-----------------------------------+----------------------------
   Reporter:  haiqu                |      Owner:  pulkomandy
       Type:  bug                  |     Status:  new
   Priority:  normal               |  Milestone:  Unscheduled
  Component:  Preferences/Network  |    Version:  R1/Development
 Resolution:                       |   Keywords:
 Blocked By:                       |   Blocking:  12023
Has a Patch:  0                    |   Platform:  All
-----------------------------------+----------------------------

Comment (by pulkomandy):

 Well, changing items in the BMenu from the main window thread, while the
 menu is doing its own things as a separate thread, and without any
 locking, seems a bit strange. Is BMenu really designed for this to work?

 Shouldn't we at least lock the menu when adding and removing items from
 it? Or does it lock the parent window looper when active to avoid such
 problems?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12024#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: