Re: snmpd agent crashing after SIGHUP sent
On 17/04/2008, Brendan Simon <Brendan@brendansimon.com> wrote:[color=blue]
> 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).[/color]
[color=blue]
> 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.[/color]
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 [url]http://www.net-snmp.org/wiki/index.php/Debugger[/url]
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.
[url]http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone[/url]
_______________________________________________
Net-snmp-users mailing list
[email]Net-snmp-users@lists.sourceforge.net[/email]
Please see the following page to unsubscribe or change other options:
[url]https://lists.sourceforge.net/lists/listinfo/net-snmp-users[/url]