Re: libnetsnmp SEGV on free_enums

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 06/02/2008, Frank Fegert <[email protected]> wrote:
> i'm using a multi-threaded application (spine, http://cacti.net/spine_info.php)
> on Solaris 10 which uses libnetsnmp. Pretty often the application hangs,
> which i traced back to a SEGV occuring in free_enums(). See below for the
> gdb backtrace. I already updated net-snmp from 5.3.1 to 5.4.1, but the
> problem still persists. Can someone tell my why the free(pp->label) line
> fails? It seems like a valid call to me.

That should be OK, yes.
All I can think of is that something is trying to release the same MIB
modules (or the same enumeration definitions) more than once.
It might be worth investigating exactly which MIB modules are being
released, and (in particular), which enumeration is triggering this problem.


Is the snmp subsystem shutdown and re-initialised repeatedly,
or does this only happen once (when you close down Cacti completely)?


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.