Re: Net-SNMP 5.3.0.1 Coredump - Linux
"Mark Clinton" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thomas, I tried your approach. I reproduced the coredump using Net-SNMP 5.4. The stack trace is below: Thanks, Mark NET-SNMP version: 5.4 Web: http://www.net-snmp.org/ Email: [email protected] #0 netsnmp_add_varbind_to_cache (asp=0x8187958, vbcount=1, varbind_ptr=0x815bc90, tp=0x681e050a) at snmp_agent.c:1900 1900 prefix_len = netsnmp_oid_find_prefix(tp->start_a, (gdb) where #0 netsnmp_add_varbind_to_cache (asp=0x8187958, vbcount=1, varbind_ptr=0x815bc90, tp=0x681e050a) at snmp_agent.c:1900 #1 0x4013bb10 in netsnmp_reassign_requests (asp=0x8187958) at snmp_agent.c:2334 #2 0x4013c6db in handle_getnext_loop (asp=0x8187958) at snmp_agent.c:2923 #3 0x4013c275 in check_delayed_request (asp=0x8187958) at snmp_agent.c:2694 #4 0x4013bed1 in netsnmp_check_outstanding_agent_requests () at snmp_agent.c:2589 #5 0x0804c3be in receive () at snmpd.c:1205 #6 0x0804b8ea in main (argc=7, argv=0xbfffd9a4) at snmpd.c:1016 #7 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6 On 1/9/07, Thomas Anders <[email protected]> wrote: > > Mark Clinton wrote: > > Thanks for the suggestion, I have a limitation that I cannot go over > > Net-SNMP 5.3 as it is the version in all our hosts. Migrating to 5.4would > > mean a lot more extra work. I think the best solution is if we know the > > fix, > > I can try patch it on 5.3. Do you know what may be causing this core > dump? > > Even if you cannot upgrade to it, testing with 5.4 (or even a CVS MAIN > snapshot) > would still clarify if the problem has already been fixed in CVS or not. > > If it has been, it'll only be a matter of identifying the corresponding > change > in the ChangeLog and extracting the patch. > > If it still segfaults with current CVS, you'll need to work with us to > identify > the bug and *write* a patch. > > Does this approach make sense to you? > > > +Thomas > > -- > Thomas Anders (thomas.anders at blue-cable.de) > ------------------------------------------------------------------------- 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?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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