[haiku-bugs] Re: [Haiku] #8345: PANIC: ASSERT FAILED ... x86/paging/pae/x86VMTranslationMapPAE.cpp:231

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 10 Jul 2012 13:57:39 -0000

#8345: PANIC: ASSERT FAILED ... x86/paging/pae/x86VMTranslationMapPAE.cpp:231
-----------------------------+----------------------------
   Reporter:  kallisti5      |      Owner:  bonefish
       Type:  bug            |     Status:  assigned
   Priority:  critical       |  Milestone:  R1/alpha4
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:  vm pae
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  x86
-----------------------------+----------------------------
Changes (by bonefish):

 * keywords:  x86VMTranslationMapPAE => vm pae


Comment:

 I wouldn't rule out a driver issue, but it might be a VM issue as well.
 There's ticket #2718 which hints at some page management problem. The
 ticket is rather old and might have been fixed in the meantime (e.g. when
 I did some extensive VM work two years ago).

 But very interesting is ticket #7904. There have been issues with
 VirtualBox for ages -- and IIRC at least initially VB indeed didn't
 emulate the architecture correctly -- so I was assuming this could just be
 some weird VB issue. However, the third KDL picture in that ticket shows
 the same assert that we see here, just in the 32-bit paging code. The
 other two KDL pictures show an assert in the higher-level page management
 code.

 So it may not be a VB issue. It is possible that the way VB emulates
 multiple CPUs just triggers the Haiku bug more likely. It would also
 suggest that the bug is in the page management code. E.g. a free page
 being handed out twice would also easily explain overwritten memory. It's
 probably worth trying to track this down with VB.

 @kallisti5: I assume you've got at least 4 GB RAM and from your
 description what you do it doesn't sound like you would have exhausted
 that much memory. A `page_stats` wouldn't harm anyway.

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

Other related posts: