Re: free(): invalid pointer:
- From: gw7rib@xxxxxxx
- Date: Sun, 30 Sep 2007 13:09:10 -0700
On 30 Sep, 21:03, Cyron <mdigit...@xxxxxxxxx> wrote:
Hello friends,
I'm getting a bizaare glibc error referencing free -- I malloc a
chunk of memory and then later when I try to free it is when the
program aborts. I've added some debug code to the source and find
that my pointer i get from malloc matches the one that I'm calling
free with -- and there is no possibility that have i have previously
freed the memory because there is only 1 free call in the entire
source (surrounded by debug printfs) so I don't know what is going on.
Any insight?
Are you perhaps writing to memory just outside the memory you have
allocated?
.
- References:
- free(): invalid pointer:
- From: Cyron
- free(): invalid pointer:
- Prev by Date: XCOMMS
- Next by Date: Re: Should we broaden the topicality of this group?
- Previous by thread: free(): invalid pointer:
- Next by thread: Re: free(): invalid pointer:
- Index(es):
Relevant Pages
|