[haiku-bugs] Re: [Haiku] #6237: PANIC: ASSERT FAILED (src/system/kernel/slab/MemoryManager.cpp:973): chunkPointer; remaining: 1/3, area: 0x90800000, meta chunk: 0 on r37262

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 27 Jun 2010 13:57:35 -0000

#6237: PANIC: ASSERT FAILED (src/system/kernel/slab/MemoryManager.cpp:973):
chunkPointer; remaining: 1/3, area: 0x90800000, meta chunk: 0 on r37262
---------------------------+------------------------------------------------
 Reporter:  anevilyak      |       Owner:  bonefish      
     Type:  bug            |      Status:  new           
 Priority:  normal         |   Milestone:  R1            
Component:  System/Kernel  |     Version:  R1/Development
 Keywords:                 |   Blockedby:                
    Patch:  0              |    Platform:  All           
 Blocking:                 |  
---------------------------+------------------------------------------------

Comment(by bonefish):

 Replying to [comment:1 anevilyak]:
 > Seems it's not reliably reproducible either, just rebooted about 10
 times with the same exact code and haven't seen it again.

 There isn't anything substantial in the MemoryManager that has changed in
 the last months. Only small adjustments due to VM interface changes. This
 looks like a structural bug though: The algorithm didn't find one of the
 three chunks it was allocating in the free chunk list. According to the
 `slab_area` output the contiguous free chunk range hint for the first meta
 chunk is the chunks 119 - 124. And according to the chunk listing they
 actually are free. I looked through the code, but I couldn't find any
 problem. The free list maintenance looks fine and it is only accessed
 while locked, so there can't be any race conditions either.

 I guess for testing purposes I could add an aggressive free list check
 after any operation. Will add that to my TODO list.

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

Other related posts: