Re: snmpd agent crashing after SIGHUP sent

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 17/04/2008, Brendan Simon <[email protected]> wrote:
> I have an net-snmp agent (5.2.2) that crashes (segfault) when sending a
>  sighup to the agent, followed by an snmp access (eg. snmpget).

>  My colleague says it is something to do with registering and
>  unregistering the mibs and function pointers pointing to old memory
>  allocations, or something like that.
>
>  Any help to solve this would be welcomed.


The first thing is to pinpoint exactly where the crash is happening,
and what is causing it.   Try running the agent under a debugger,
and trigger the crash - what does a backtrace show?   What does
the code look like at the point where the agent crashed?

See http://www.net-snmp.org/wiki/index.php/Debugger
for details.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.