[haiku-bugs] Re: [Haiku] #10259: CDDA-related KDL: ASCII string corrupts kernel structures

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 28 Nov 2013 16:41:15 -0000

#10259: CDDA-related KDL: ASCII string corrupts kernel structures
---------------------------------+----------------------------
   Reporter:  ttcoder            |      Owner:  axeld
       Type:  bug                |     Status:  assigned
   Priority:  normal             |  Milestone:  R1
  Component:  File Systems/cdda  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------

Comment (by bonefish):

 I would approach the problem by starting with an objdump of
 `_user_stop_notifying()` to find out exactly what kind of object gets
 corrupted. Then the node monitoring code could be scrutinized wrt. to the
 management of those objects.

 If that doesn't turn up any suspects, assuming that this issue is
 reproducible, certain debugging features of our slab allocator
 (`SLAB_ALLOCATION_TRACKING` in kernel_debug_config.h and
 `SLAB_OBJECT_CACHE_TRACING[_STACK_TRACE]` in tracing_config.h) can be
 enabled. If the tracing buffer is large enough for that case
 (`MAX_TRACE_SIZE` -- I'd recommend at least several hundred MiB), it will
 be possible to track down the code allocating and freeing the respective
 chunk of memory.

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

Other related posts: