[haiku-bugs] Re: [Haiku] #9903: [system/kernel/slab] MemoryManager.cpp: Called C++ object pointer is null

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 28 Jul 2013 14:19:51 -0000

#9903: [system/kernel/slab] MemoryManager.cpp: Called C++ object pointer is null
-----------------------------+--------------------------------
   Reporter:  mt             |      Owner:  axeld
       Type:  bug            |     Status:  closed
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:  invalid        |   Keywords:  system/kernel/slab
 Blocked By:                 |   Blocking:
Has a Patch:  1              |   Platform:  All
-----------------------------+--------------------------------
Changes (by bonefish):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 That's a false positive. `metaChunkList` can only be NULL when `chunkSize
 == SLAB_CHUNK_SIZE_LARGE` (cf. the beginning of `_AllocateChunks()`), so
 the offending branch is not taken in this case.

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

Other related posts: