logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Segmentation fault while making snmpwalk in chunk_free.: msg#00345

Subject: Re: Segmentation fault while making snmpwalk in chunk_free.
>>>>> On Thu, 26 Jun 2003 09:35:30 -0600, "Kiran KN Kamath" 
>>>>> <kkamath@xxxxxxxxxx> said:

Kiran> But when I compile the same code on ucd-snmp 4.2.5 and try to run it,
Kiran> it gives out a segmentation fault. gdb shows the fault to occur in
Kiran> chunk_free in libc.so.6.

Kiran> This problem comes up randomly.

Well, the problem is you really need to reproduce it regularly to
track it down.

Send the output of "where" from gdb, which would be more helpful.

It's probably a double-free.

-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php


<Prev in Thread] Current Thread [Next in Thread>