Menu

#538 net-snmp 5.0.4pre2 ssegfault

closed
library (262)
5
2012-11-08
2002-09-12
Anonymous
No

when using the attached MIB with net-snmp 5.0.4pre2
anything using it displays the following error:

Unlinked OID in BEAGLEMON-MIB: anonymous#0 ::= {
enterprises 2333 }

and segfaults thus:

(example with lt-snmpwalk -m BEAGLEMON-MIB -v2c -c
public 127.0.0.1 )

#0 0x4002fefc in find_tree_node (name=0x2a <Address
0x2a out of bounds>, modid=-1)
at parse.c:1170
1170 if (!name || !*name)
(gdb) bt
#0 0x4002fefc in find_tree_node (name=0x2a <Address
0x2a out of bounds>, modid=-1)
at parse.c:1170
#1 0x4003522c in adopt_orphans () at parse.c:3740
#2 0x400291d8 in init_mib () at mib.c:2419
#3 0x40039729 in init_snmp (type=0x40077d83 "snmpapp")
at snmp_api.c:765
#4 0x40053b61 in snmp_parse_args (argc=7,
argv=0xbffffbb4, session=0xbffffa70,
localOpts=0x80494fb ">= ", proc=0x8048d04
<optProc+48>) at snmp_parse_args.c:498
#5 0x08048e18 in main (argc=7, argv=0xbffffbb4) at
snmpwalk.c:186

There is no problem with net-snmp 5.0.3

Discussion

  • Niels Baggesen

    Niels Baggesen - 2002-09-12

    Logged In: YES
    user_id=88647

    No file seems to be attached ?

     
  • John Naylon

    John Naylon - 2002-09-12

    MIB that causes problems...

     
  • Niels Baggesen

    Niels Baggesen - 2002-09-14

    Logged In: YES
    user_id=88647

    Hmm, I cannot duplicate that, neither with 5.0.4pre2 nor
    with 4.2.6pre1.
    Do you have any other special mibs?
    Btw, why at you calling lt-snmpget, and not snmpget? Doesn't
    that cause a conflict with which shared libraries are loaded?

    /NIels

     
  • Dave Shield

    Dave Shield - 2002-12-11

    Logged In: YES
    user_id=88893

    The warning given is quite correct.
    The name 'enterprises' is not IMPORTed by the MIB

    Do you still get the same segfault problem with the
    latest release?

     
  • Niels Baggesen

    Niels Baggesen - 2003-02-17

    Logged In: YES
    user_id=88647

    The submitter of this bug has failed to respond to questions from the maintainers about it, so this bug has been marked as closed due to lack of a response within a reasonable period of time.

     

Log in to post a comment.

MongoDB Logo MongoDB