B S Cho (bscho++at++utah3d.com)
Wed, 01 Dec 1999 18:39:28 +0900
I would like to get help on using Purify with Performer.
The Performer Programmer's Guide tells:
> You can trick purify into telling you about some shared arena
> memory access errors by telling the run-time linker to
> use malloc in place of amalloc; however, this cannot work if there >
are forked processes sharing the arena, so to use
> this trick you must run in single-process (PFMP_APPCULLDRAW) > mode.
To do this, compile the following into a
> DSO called pureamalloc.so:
> malloc(int n) {return malloc(n);}
> afree(void*p) {free(p);}
> arealloc(void*p, int n) {return realloc(p, n);}
> and tell the runtime linker to point to it:
> % setenv _RLDN32_LIST `pwd`/pureamalloc.so:DEFAULT
I followed the above, and after the setenv, typing UNIX commands like
"ls" and "pwd" give "Segmentation fault" message after long wait.
Can someone tell me what I am doing wrong?
I have downloaded Purify 4.1 for evalutaion and am using Irix 6.5 Onyx2
with R12000 processors.
By the way, the Performer Programmer's Guide also mentions
libdmalloc. Does it catch memory leaks and where can I get it?
Thanks.
B. Cho
bscho++at++utah3d.com
This archive was generated by hypermail 2.0b2 on Wed Dec 01 1999 - 01:38:53 PST