"Unable to write mtrace data" when using libmalloc

I get the following error when attempting to do memory leak debugging with libmalloc_g.so in QNX 6.3 SP2:

“Unable to write mtrace data”

I set up the following environment variables:


Nothing is written to /dev/dbgmem

nrw-rw-rw- 1 root 0 0 Jan 18 16:26 /dev/dbgmem

Note that I do not see the error message above until I kill the process.

I was originally attempting to use the memory analysis tool in the QNX momentics IDE 3.0.0 following the help and I got no results so I attempted to inititate from the command line when I got the error message above.

Any help would be appreciated.

Jerry Flood