[haiku-development] Issue 5474 - PANIC: got an in use page...

  • From: Guillermo <pampeano@xxxxxxxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 2 Feb 2014 22:00:43 -0800 (PST)

Hi there,

I was checking issue https://dev.haiku-os.org/ticket/5474 and saw that in file 
src/system/kernel/heap.cpp, when reaching line 1675 in heap_free there's an if 
clause where it only marks the page as not in_use in the first case, is that 
correct? Shouldn't also be set when hitting the else clause?

Quick link: 
http://grok.bikemonkey.org/source/xref/haiku/src/system/kernel/heap.cpp#1675

Thanks,
Guillermo

PS: I apogolize if this doesn't make sense, I took a quick look at the sources 
to see if I could find a hint about this issue.

Other related posts: