newlib/libc/stdlib/mallocr.c

Earnie Boyd earnie_boyd@yahoo.com
Tue Apr 2 10:34:00 GMT 2002


Christopher Faylor wrote:
> 
> >
> >I would get segmentation faults within mallocr.c.  The first time it
> >occurred was the originating call was within the code I was adding.  I
> >modified the code a bit and that caused the malloc's in environ.cc to
> >issue the segmentation faults in mallocr.c.  If you need to know exactly
> >where in mallocr.c that was causing the problem I can most likely
> >reproduce it to get the failure point.
> 
> SEGVs are invariably a sign of attempts to free memory that hasn't been
> allocated.
> 

I wasn't freeing memory I was mallocing memory.  Once I've finished my
annual disk cleaning job I'll try to reproduce the problem.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the Cygwin-developers mailing list