[haiku-bugs] Re: [Haiku] #14941: [iprowifi2200] PANIC: ID-Store: delete_unrhdr: some ids are still in use..

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 21 Nov 2019 13:12:06 -0000

#14941: [iprowifi2200] PANIC: ID-Store: delete_unrhdr: some ids are still in 
use..
--------------------------------------------+----------------------------
   Reporter:  derpo                         |      Owner:  nobody
       Type:  bug                           |     Status:  new
   Priority:  normal                        |  Milestone:  Unscheduled
  Component:  Drivers/Network/iprowifi2200  |    Version:  R1/Development
 Resolution:                                |   Keywords:
 Blocked By:                                |   Blocking:
Has a Patch:  0                             |   Platform:  x86
--------------------------------------------+----------------------------
Comment (by halamix2):

 `some ids are still in use` is caused in `delete_unrhdr`
 (`src/libs/compat/freebsd_network/unit.cpp`):

 It checks if `idStore->idBuffer->root_size` is equal to 0 and panics if
 it's not.

 `idBuffer` is a `radix_bitmap*`
 (`headers/private/kernel/util/RadixBitmap.h`),
 and while it is set to non-zero value during creation
 (`radix_bitmap_create` at `src/system/kernel/util/RadixBitmap.cpp`),
 `root_size` never changes, so it will always be bigger than 0.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14941#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: