Re: erratic pointers

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Wed, 9 Jul 1997 09:28:37 -0700 (PDT)


Amaury Aubel wrote:
>
> Hi,
>
>
> I have a library where I suspect memory leaks occur.
> Sometimes the program terminates on:
> texture[i] = pfuNewSharedTex(tex_name,pfGetSharedArena());
>
> or
>
> index = (ushort *)pfMalloc(n*sizeof(ushort),pfGetSharedArena());
> (where n is reasonably small)
> causes corruption of pfGeoSets which are stored elsewhere.
>
> Would anyone know a piece of software that can monitor memory so as to track
> down erratic pointers for example? (Even if the memory is pfMalloc'd and not
> malloc'd of course)
>
> I have heard of "purify" but will it work in conjunction with Performer?
>

 You can use dmalloc (ftp://sgigate.sgi.com/pub/Performer/src/misc/dmalloc.tar).
 This library made by Don Hatch works very well with pfMalloc and MP programs.

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:35 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.