I'm having a weird problem with free() behaviour under Linux.
The program compiles fine, but in runtime it
*sometimes* dumps core which, thanks to gdb, can be
traced to free() calls. This is especially true when calls
to free() repeat, i.e. within the loop. Second free() is
guaranteed to dump core while first does it sometimes.
On BSDI and freeBSD same program runs perfectly every time.

I'm running RH5.0 with libc5-4-x and glibc installed.

I would appreciate any comments since I'm afraid it
might be something deep in the system/libraries
and I'm not a system guy.

Thanks,
A.Heiphetz


 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to