[haiku-bugs] [Haiku] #15258: memory allocator do not handle out of memory correctly

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 17 Aug 2019 05:57:52 -0000

#15258: memory allocator do not handle out of memory correctly
-------------------------------+------------------------------
 Reporter:  X512               |        Owner:  nobody
     Type:  bug                |       Status:  new
 Priority:  normal             |    Milestone:  Unscheduled
Component:  System/libroot.so  |      Version:  R1/Development
 Keywords:                     |   Blocked By:
 Blocking:                     |  Has a Patch:  0
 Platform:  All                |
-------------------------------+------------------------------
 This is hrev53380 32bit gcc2hybrid.

 Process crashes inside internal code of memory allocator when no memory
 avalible.
 According Debugger "BPrivate::rpmalloc::_memory_span_set_new_active" is
 called with "span" argument = NULL and it dereferenced in
 "assert(span->span_count == 1);" causing crash.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15258>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: