net-snmp is dumping (Sig-11) from container lib

bheemesh v <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I am a newbie into the IP-Mib and during startup, if net-snmp find a new IP
configuration, it is dumping core, basically sig-11.

Here is the attached backtrace from the same.

------------------------------------------------------------------------------------------------------------------------------------------------
(gdb) bt
#0  0xb7d4de08 in snmp_oid_compare (in_name1=0x0, len1=135835360,
in_name2=0x8187b00, len2=1) at snmp_api.c:6321
#1  0xb7d9ed47 in netsnmp_compare_netsnmp_index (lhs=0x8188040,
rhs=0x8187af8) at container.c:436
#2  0xb7d9f9dd in binary_search (val=0x8187af8, c=0x82cb770, exact=1) at
container_binary_array.c:139
#3  0xb7da02ac in netsnmp_binary_array_remove (c=0x82cb770, key=0x8187af8,
save=0x0) at container_binary_array.c:307
#4  0xb7da0347 in _ba_remove (container=0x82cb770, data=0x8187af8) at
container_binary_array.c:531
#5  0xb7ed4dcd in CONTAINER_REMOVE (k=<value optimized out>, x=<value
optimized out>) at ../../include/net-snmp/library/container.h:393
#6  _check_entry_for_updates (rowreq_ctx=0x80bc890, magic=0xbf91d260) at
ip-mib/ipAddressTable/ipAddressTable_data_access.c:235
#7  0xb7d9f91b in netsnmp_binary_array_for_each (sort=<value optimized out>,
context=<value optimized out>, fe=<value optimized out>, c=<value optimized
out>)
    at container_binary_array.c:342
#8  _ba_for_each (container=0x80ba950, f=0xb7ed4d20
<_check_entry_for_updates>, context=0xbf91d260) at
container_binary_array.c:551
#9  0xb7ed5040 in ipAddressTable_container_load (container=0x80ba950) at
ip-mib/ipAddressTable/ipAddressTable_data_access.c:349
#10 0xb7ed0b0a in _cache_load (cache=0x80ba110, vmagic=0x80ba950) at
ip-mib/ipAddressTable/ipAddressTable_interface.c:1912
#11 0xb7dda955 in _cache_load (cache=0x80ba110) at cache_handler.c:537
#12 0xb7d84893 in run_alarms () at snmp_alarm.c:252
#13 0x0804aa3d in receive () at snmpd.c:1233
#14 main (argc=7, argv=0xbf91d694) at snmpd.c:1036
#15 0xb7a8ae0c in __libc_start_main () from /lib/libc.so.6
#16 0x08049cf1 in _start ()
(gdb) Connection to 10.20.104.142 closed by remote host.
Connection to 10.20.104.142 closed.

------------------------------------------------------------------------------------------------------------------------------------------------

I am currently isung net-snmp-5.3.1, if there exists a patch for the same
altready for the above problem please suggest.
Or if already the correction is known, please do suggest so that i can do
the changes & test.
Thanks very much in advance.

Best Regards,
Bheemesh

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

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