Hi Guys -

I've spent a good portion of the last couple months isolating a critical
systems failure which got traced to Net-SNMP:

#32 0x0000000000529636 in Signal_Handler ()
#33
#34 0x00000031eda2e21d in raise () from /lib64/tls/libc.so.6
#35 0x00000031eda2fa1e in abort () from /lib64/tls/libc.so.6
#36 0x00000031eda63291 in __libc_message () from /lib64/tls/libc.so.6
#37 0x00000031eda68eae in _int_free () from /lib64/tls/libc.so.6
#38 0x00000031eda691f6 in free () from /lib64/tls/libc.so.6
#39 0x0000000000959e9d in _sess_process_packet ()
#40 0x000000000095b4c9 in _sess_read ()
#41 0x000000000095bc39 in snmp_sess_read ()

This is in version 5.3.1 and reliably and repeatably occurs in the
following circumstances:

- 64-Bit Compiles on AMD Opteron
- 3.6 Gig process Size (so definitely using >32-bit bound mem addresses)
- 4 to 8 Processors
- Managing lots of 64-bit OIDs
- Moving about 20-50Mbps of SNMP traffic continuously.
- ~800 Snmp Sessions Open at a Time, Passively and Carefully Closing
- Process Running for About a Week

It always trips while freeing inside _sess_process_packet and always
occurs after about a week of the process running, although not after a
specific amount of time more isolated than within 2 days of 1 week. It
appears more to occur based on a volume of SNMP traffic, but not
specifically determinant as yet.

I noticed 5.4 has been flagged for supported, is it worth upgrading to 5.4
to fix this issue?

For now I'm trying to debug the net-snmp stuff in 5.3 and will submit a
patch if I can figure out what's happening.

Kyle


On Sat, December 2, 2006 15:12,
net-snmp-coders-request@lists.sourceforge.net said:
> Send Net-snmp-coders mailing list submissions to
> net-snmp-coders@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/...et-snmp-coders
> or, via email, send a message with subject or body 'help' to
> net-snmp-coders-request@lists.sourceforge.net
>
> You can reach the person managing the list at
> net-snmp-coders-owner@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Net-snmp-coders digest..."
>
>
> Today's Topics:
>
> 1. Re: MAC representation (Dave Shield)
> 2. Re: snmp-community-mib impl how (Thomas Anders)
> 3. Solution to overcome : multiple definitions of
> (Lakshmi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 1 Dec 2006 20:24:21 +0000
> From: "Dave Shield"
> Subject: Re: MAC representation
> To: Jegan
> Cc: "net-snmp-coders@lists.sourceforge.net"
>
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 29/11/06, Jegan wrote:
>> The MAC address is defined as an unsigned integer in MIB.

>
> Which MIB are you referring to?
>
> The standard way of representing a MAC address is as a
> 6-octet (binary) string value. See SNMPv2-TC (MacAddress)
> or RFC1213-MIB (PhysAddress) for details.
>
>
> Dave
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 01 Dec 2006 21:32:39 +0100
> From: Thomas Anders
> Subject: Re: snmp-community-mib impl how
> To: Dana Burns
> Cc: net-snmp-coders@lists.sourceforge.net
> Message-ID: <45709167.3000701@blue-cable.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dana Burns wrote:
>> Magnus Fromreide wrote:
>>> What can apps/snmpcomm do that snmpset can't do if we assume that your
>>> mib module is available?
>>>

>> Probably nothing other than conveniently packing the needed snmpsets
>> together?

>
> I could certainly see the benefit of that.
>
>
> +Thomas
>
> --
> Thomas Anders (thomas.anders at blue-cable.de)
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 2 Dec 2006 21:07:58 +0530
> From: Lakshmi
> Subject: Solution to overcome : multiple definitions of
> To: Net-snmp-coders@lists.sourceforge.net
> Message-ID:
> <376369d30612020737h31ba31f5t8960d5fbaa1c6c60@mail. gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> When I am trying to compile the snmpusm.c file in linux device I am facing
> the following error. Kindly help me out.
>
> $ gcc snmpusm.c -o snmpusm -I/home/me_user/net-snmp-5.3.1/include
> -lnetsnmp
> -lcrypto -lm
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)(.data+0x80):
> multiple definition of `usmAES128PrivProtocol'
> /tmp/ccTiH0Iv.o(.data+0x188): first defined here
> /usr/bin/ld: Warning: size of symbol `usmAES128PrivProtocol' changed from
> 4
> in /tmp/ccTiH0Iv.o to 40 in
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)(.data+0xc0):
> multiple definition of `usmDESPrivProtocol'
> /tmp/ccTiH0Iv.o(.data+0x120): first defined here
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)(.data+0x100):
> multiple definition of `usmNoPrivProtocol'
> /tmp/ccTiH0Iv.o(.data+0xe0): first defined here
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)(.data+0x140):
> multiple definition of `usmHMACSHA1AuthProtocol'
> /tmp/ccTiH0Iv.o(.data+0xa0): first defined here
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)(.data+0x180):
> multiple definition of `usmHMACMD5AuthProtocol'
> /tmp/ccTiH0Iv.o(.data+0x60): first defined here
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)(.data+0x1c0):
> multiple definition of `usmNoAuthProtocol'
> /tmp/ccTiH0Iv.o(.data+0x20): first defined here
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)(.text+0x0):
> In function `usm_malloc_usmStateReference':
> : multiple definition of `usm_malloc_usmStateReference'
> /tmp/ccTiH0Iv.o(.text+0x0): first defined here
> /usr/bin/ld: Warning: size of symbol `usm_malloc_usmStateReference'
> changed
> from 29 in /tmp/ccTiH0Iv.o to 44 in
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../libnetsnmp.a(snmpusm.o)
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crt1.o(.text+0x18): In
> function `_start':
> : undefined reference to `main'
> collect2: ld returned 1 exit status
>
>
> --
> Regards & Thanks,
> nagalav
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://sourceforge.net/mailarchive/f...ttachment.html
>
> ------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?p...rge&CID=DEVDEV
>
> ------------------------------
>
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/...et-snmp-coders
>
>
> End of Net-snmp-coders Digest, Vol 7, Issue 3
> *********************************************
>



Kyle Lussier

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.1 (GNU/Linux)

mQGiBESMVNcRBACwLIDqR1t+8Jr/qFLztBQAKTxguMprgzeSIWzJ4WffgghleQEf
hzmXz0LiT5A9tujwE8oHj9Lvbd55QwHZPaCJ1YDm8v9j4Sy5pS bIEiLha/JB3ArE
VNEzS1bXtB4BLLtb73BhR6EqMPLl8Bj77EKzCsGpbYGbw9dbIW F5DmDyxwCgq92V
KUGtg2jO+zdsHbJT91URC4UEAI3QyLddDVEA7eiMUbTo761iul dPAGdGW66QWP1c
+qY6+WpojOl/zXSu0JPpcdJdQxvR0WEAWgpQtwoA5NZEhy1cZUYlUBvZLSsj2N Ht
bAPST7/yxbAaTdV4xV97HxTS9TzMR4KuOuSDFTm/EnSPiOxDo7oKbNKgqtX46rnb
MHTXA/9H95SNlUhrnoXyL/FspqhHnRotznlR20zc+x0zBfykB9+oOBZCXi5zImp+
/bvBRoXO2LzVIHJUohDHHh7HQyFvHNezZPUTCx+axWPATyA/1pMCeRebNQdv5qyX
VeOhz/vT4wlWHoyfq41lXQjD1b8mq7HEcm9fPgzfy5FblEExmbRMS3ls ZSBMdXNz
aWVyIChLZXkgZ2VuZXJhdGVkIG9uIHB1YmxpYyB3ZWJtYWlsIH NlcnZlcikgPGts
dXNzaWVyQGF1dG9ub2MuY29tPohfBBMRAgAfBQJEjFTXBQkB4T OABAsCBwMDFQID
AxYCAQIeAQIXgAAKCRAjHlgQXlxdpyTVAJ9m+usBWsQW+3YoTW 4Hvyqxp1LRSgCf
Q5zAVd8i0ow3iuAL4/ca3NTXGUy5AQ0ERIxU2BAEAP5qD3r3LrFStM+5k7VGmBfs
2MOY55zwqtR37cIc9sK++RBK1CsdszWWZmAHdVF8YP8mRCid1j kgLkKhGxJSNh7w
wXtX58O9jOL7NlLkgGwdDnoSwykY3LMMEnG0f6J391sgQ5dw+p gSpiPCMcVpm+v1
j6tUyTkjhIve6pQyjBILAAMFBADMLOxc64ozoX38Ck0tQ+h/NJkbbjRMOE8ibncx
bxQ7872QOoVKtxw2D6ErPOMKmV8Afsaz8/PDuR3pUBQTZNcf+os13Z9H/Q7s9BXc
vkoQyD3pg8mJWPIwej9Vqv2835tilqbzMNIfpXlnol1zD7jyS/o/x73sLIWhaliA
Zw0DpYhMBBgRAgAMBQJEjFTYBQkB4TOAAAoJECMeWBBeXF2nrI YAniwvBtFxQeo9
u2WGFAWo76+/09dVAJ9KU9goyFodHQqc1e3mOeaNx+86uw==
=Cf5N
-----END PGP PUBLIC KEY BLOCK-----


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders