[haiku-bugs] Re: [Haiku] #4804: integrating malloc_debug

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Wed, 06 Jan 2010 00:39:40 -0000

#4804: integrating malloc_debug
--------------------------------+-------------------------------------------
  Reporter:  mmadia             |       Owner:  mmlr     
      Type:  enhancement        |      Status:  closed   
  Priority:  normal             |   Milestone:  R1       
 Component:  System/libroot.so  |     Version:  R1/alpha1
Resolution:  fixed              |    Keywords:           
 Blockedby:                     |    Platform:  All      
  Blocking:                     |  
--------------------------------+-------------------------------------------
Changes (by mmlr):

  * status:  in-progress => closed
  * resolution:  => fixed


Comment:

 Ingo has since added libroot_debug.so which can be used using LD_PRELOAD.
 To use malloc_debug the app needs to be run like this:

 {{{
 ~> LD_PRELOAD="libroot_debug.so" /path/to/app
 }}}

 I find that a pretty elegant solution which avoids any messing with the
 normal libroot. So this can be considered "fixed".

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

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #4804: integrating malloc_debug - mmlr