max at bruningsystems.com wrote:
>> Can somebody give some pointers on how to proceed to trace out memory
>> corruption on Solaris 8?   
> You can always write wrapper functions for malloc/free that save state
> information (similar to
> info that libumem saves), then access that info using mdb (or debugger
> of your choice).
> Your code then calls your versions of malloc/free, and these save any
> needed state
> and call the "real" malloc/free.

Simpler might just be to install Solaris 10 or OpenSolaris on an
available machine, and run your S8 application there for testing and
development.  The tools are much nicer, and with binary compatibility,
it should be relatively simple to do.

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>

Reply via email to