I just found a memory problem. I did essentially : free(x); y = x->y;
In a pure c program I can use purify to catch these things.  I tried
to compile my library with purify and the the xs with "purify gcc".  It
compiled ok but got no results from purify.  Either purify will not
work unless the "main" program has not been compiled with purify, or I 
need to look very deep at the man page for purify :(

How can I detect memory problem in my XS ?
DO I need to compile a purify version of perl to get this to work?
I tried perlcc but it failed to find one routine in my XS, but it
was in my XS, the generated .c and it is in my library.  My thought
was to purify this file in hopes of finding memoty leaks. but no such
luck.

-- 
=========+=========+=========+=========+=========+=========+=========+
   ___  _ ____       ___       __  __          
  / _ )(_) / /_ __  / _ \___ _/ /_/ /____  ___ 
 / _  / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/   \_,_/\__/\__/\___/_//_/
           /___/                               
Texas Instruments ASIC Circuit Design Methology Group
Dallas, Texas
214-480-4455
[EMAIL PROTECTED]
=========+=========+=========+=========+=========+=========+=========+

Reply via email to