crash when shutting down snmp (snmp_shutdown)

Samer Vazdekis <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

 Hi there,

I'm using NET-SNMP version: 5.2.1.2. My agentx subagent keeps crashing when it shuts down snmp. When "snmp_shutdown()" is called.

I traced the problem and found out there is a conflect between, 

snmp_call_callbacks(SNMP_CALLBACK_LIBRARY, SNMP_CALLBACK_SHUTDOWN, NULL);

and

clear_callback()

where in the first the main session is being freed. It is being freed again in clear_callback() when freeing the "scp->sc_client_arg" which points to the main session.

I guess this might be fixed in later versions. Any idea what patch I need to apply to get this fix?.

Thanks.



_________________________________________________________________
Share photos with friends on Windows Live Messenger
http://go.microsoft.com/?linkid=9650734

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
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.