Re: [gnet-dev] glibc detected *** free(): invalid pointer



Tim Müller wrote:
> On Monday 06 June 2005 10:35, Siddhartha Jain wrote:
> 
> 
>>Getting this weird error. I can only figure out that its coming from
>>part of the code that uses the gnet library.
>>
>>  (snip code)
>>
>>The function is called with a valid pointer to the payload of a TCP packet.
>>
>>   (snip gdb)
>>
>>Any help would be appreciated.
> 
> 
> Compile your code with debugging symbols and run it in valgrind (if it hangs 
> at startup, make sure you have valgrind 2.4.x or newer). You might want to 
> compile a copy of GNet with debugging symbols as well:
> 

Thanks for the quick and helpful reply. In the meanwhile, I googled a
bit and the results indicated that the problem might've been with glibc
(although it shows up only when gnet's invoked). So I upgraded the glibc
on the box to 2.3.5. Seems to be working fine now.

http://lists.gnu.org/archive/html/bug-tar/2004-08/msg00013.html

Thanks again,

Siddhartha




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]