[haiku-bugs] Re: [Haiku] #5138: PANIC: remove page 0x82868278 from cache 0xd19e7680: page still has mappings!

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 20 Jan 2010 09:18:17 -0000

#5138: PANIC: remove page 0x82868278 from cache 0xd19e7680: page still has
mappings!
---------------------------+------------------------------------------------
 Reporter:  mmadia         |       Owner:  bonefish      
     Type:  bug            |      Status:  new           
 Priority:  normal         |   Milestone:  R1            
Component:  System/Kernel  |     Version:  R1/Development
 Keywords:                 |   Blockedby:                
 Platform:  All            |    Blocking:  5216          
---------------------------+------------------------------------------------

Comment(by bonefish):

 Probably fixed in r35195.

 Fortunately today an ASSERT() I introduced a few days ago was triggered
 while running a Haiku build. It showed the race condition due to the now
 fixed missing locking in action. The pages of the kernel stack for a new
 userland thread were just being incorrectly mapped into a heap area. After
 continuing I got the "page has still mappings" panic() in the undertaker.
 Since a page in that area was not mapped correctly its wired_count
 wouldn't be decremented, thus leading to the panic().

 Matt, please give the new revision a whirl with a configuration likely to
 reproduce the bug (i.e. no tracing) and close the ticket, if you can't
 reproduce it anymore.

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

Other related posts: