[haiku-3rdparty-dev] Re: app crashing processHeap::free()

  • From: Disreali <mdisreali@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sun, 29 Jul 2012 06:01:42 -0700 (PDT)

hi,

--- On Sun, 7/29/12, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:

> There's a debug version of libroot that has some heap
> debugging features, which may help you find your problem.
> You can use it by running your program with:
> 
>   LD_PRELOAD=/boot/develop/lib/x86/libroot_debug.so
> MyProgram
> 
> Additionally you should set the environment variable
> MALLOC_DEBUG to a string containing one or more of the
> following characters:
> 
>   'p' - enables paranoid heap sanity checks.
>   'w' - enables wall checking every 500 ms.
>   'W' - enables wall checking every 100 ms.
>   'r' - disables reuse of freed memory.
> 
> I'd recommend to start with MALLOC_DEBUG="p".

Is any of that documented anywhere else beside the mail list?  It would be nice 
if it were.


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail

Other related posts: