Menu

#655 snmpd daemon die w/ generating core file

solaris
closed
nobody
agent (1105)
5
2012-11-08
2003-01-27
Anonymous
No

I have the following configuration:

- Net-SNMP 5.0.7
- Solaris 7
- Net SNMP source was compiled on the solaris 7.

I have 20 machines with solaris 7 and some machines the
daemon snmpd dies with a core file dumped in the
directory that the daemons was started.

The detail is that some machines the daemon is
working fine.

Thanks,

Mauricio

mauriciof.goes@cetelem.com.br

Discussion

  • Wes Hardaker

    Wes Hardaker - 2003-02-06

    Logged In: YES
    user_id=76242

    Can you run gdb on it as follows:

    gdb snmpd core
    ...
    gdb> where

    And submit the output of the where command?

    Also, in the future this wasn't a patch so I'm moving it to the
    bug database.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi,

    Thanks for your response.
    Follows the gdb core output from 3 hosts, I tested different
    versions of
    net-snmp but the problem still occurring.

    Mauricio.

    ==============================================================

    The first output is the host named spos3073 and is running
    net-snmp version 5.0.7. This version is the Solaris 7
    binary downloaded in net-snmp download page.

    [spow1027]/export/home/mauricio/snmp/spos3073>gdb snmpd core
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...snmpd:
    No such file or directory.

    Core was generated by `/usr/local/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    #0 0xff1981cc in ?? ()
    (gdb) where
    #0 0xff1981cc in ?? ()
    #1 0x00061724 in ?? ()
    #2 0x000754d8 in ?? ()
    #3 0x00021efc in ?? ()
    #4 0x00072f88 in ?? ()
    #5 0x000211dc in ?? ()
    #6 0x00019e50 in ?? ()
    #7 0x0001b0c0 in ?? ()
    #8 0x0001acd4 in ?? ()
    #9 0x000190d4 in ?? ()
    #10 0x0009ba54 in ?? ()
    #11 0x0009c9b4 in ?? ()
    #12 0x0009c9dc in ?? ()
    #13 0x0009bbb8 in ?? ()
    #14 0x000169bc in ?? ()
    #15 0x00015f8c in ?? ()
    (gdb)

    ==============================================================

    Follows two different output from spos3075 host that is running
    net-snmp version 4.2.5, I compiled this source code on
    Solaris 7.

    First core

    [spow1027]/export/home/mauricio/snmp/spos3075>gdb snmpd core
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...snmpd:
    No such file or directory.

    Core was generated by `/usr/local/Net-SNMP/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    #0 0xfef9a538 in ?? ()
    (gdb) where
    #0 0xfef9a538 in ?? ()
    #1 0xff2bb484 in ?? ()
    #2 0xff365984 in ?? ()
    #3 0xff366068 in ?? ()
    #4 0xff3652d0 in ?? ()
    #5 0xff3651b0 in ?? ()
    #6 0xff3650a0 in ?? ()
    #7 0xff36498c in ?? ()
    #8 0xff231a8c in ?? ()
    #9 0xff231ae8 in ?? ()
    #10 0xff231044 in ?? ()
    #11 0x00013344 in ?? ()
    #12 0x00012df4 in ?? ()
    (gdb)

    Second core

    [spow1027]/export/home/mauricio/snmp/spos3075>gdb snmpd core2
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...snmpd:
    No such file or directory.

    Core was generated by `/usr/local/Net-SNMP/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    #0 0xfef9a538 in ?? ()
    (gdb) where
    #0 0xfef9a538 in ?? ()
    #1 0xff2bb484 in ?? ()
    #2 0xff365984 in ?? ()
    #3 0xff366068 in ?? ()
    #4 0xff3652d0 in ?? ()
    #5 0xff3651b0 in ?? ()
    #6 0xff3650a0 in ?? ()
    #7 0xff36498c in ?? ()
    #8 0xff231a8c in ?? ()
    #9 0xff231ae8 in ?? ()
    #10 0xff231044 in ?? ()
    #11 0x00013344 in ?? ()
    #12 0x00012df4 in ?? ()
    (gdb)

    ==============================================================

    The third output is from host named spos3074 that is running
    version 4.2.5, same version of host spos3075.

    [spow1027]/export/home/mauricio/snmp/spos3074>gdb snmpd core
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...snmpd:
    No such file or directory.

    Core was generated by `/usr/local/Net-SNMP/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    #0 0xff0181cc in ?? ()
    (gdb) where
    #0 0xff0181cc in ?? ()
    #1 0xff2bb484 in ?? ()
    #2 0xff365984 in ?? ()
    #3 0xff366068 in ?? ()
    #4 0xff3652d0 in ?? ()
    #5 0xff3651b0 in ?? ()
    #6 0xff3650a0 in ?? ()
    #7 0xff36498c in ?? ()
    #8 0xff231a8c in ?? ()
    #9 0xff231ae8 in ?? ()
    #10 0xff231044 in ?? ()
    #11 0x00013344 in ?? ()
    #12 0x00012df4 in ?? ()
    (gdb)

     
  • Nobody/Anonymous

    Logged In: NO

    Follows the gdb output from different host named "spos3073",
    this host is running net-snmp version 5.0.7 Solaris 7, this
    binary was downloaded on
    the Net-SNMP download page.

    [spow1027]/export/home/mauricio/snmp/spos3073>gdb snmpd core
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...snmpd:
    No such file or directory.

    Core was generated by `/usr/local/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    #0 0xff1981cc in ?? ()
    (gdb) where
    #0 0xff1981cc in ?? ()
    #1 0x00061724 in ?? ()
    #2 0x000754d8 in ?? ()
    #3 0x00021efc in ?? ()
    #4 0x00072f88 in ?? ()
    #5 0x000211dc in ?? ()
    #6 0x00019e50 in ?? ()
    #7 0x0001b0c0 in ?? ()
    #8 0x0001acd4 in ?? ()
    #9 0x000190d4 in ?? ()
    #10 0x0009ba54 in ?? ()
    #11 0x0009c9b4 in ?? ()
    #12 0x0009c9dc in ?? ()
    #13 0x0009bbb8 in ?? ()
    #14 0x000169bc in ?? ()
    #15 0x00015f8c in ?? ()
    (gdb)

     
  • Nobody/Anonymous

    Logged In: NO

    I'm sorry

    Now follows the correct GDB output for net-snmp 5.0.7 thats
    the binary was downloaded on netsnmp site.
    Machine name : spos3073
    Solaris 7
    Net-SNMP 5.0.7

    Thank you.

    Mauricio

    =======================================================

    [spos3073]/etc/rc3.d>chmod 744 /usr/sbin/gdb
    [spos3073]/etc/rc3.d>gdb /usr/local/sbin/snmpd core
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...
    Core was generated by `/usr/local/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    Reading symbols from /usr/lib/libdl.so.1...done.
    Loaded symbols for /usr/lib/libdl.so.1
    Reading symbols from /usr/lib/libkvm.so.1...done.
    Loaded symbols for /usr/lib/libkvm.so.1
    Reading symbols from /usr/lib/libkstat.so.1...done.
    Loaded symbols for /usr/lib/libkstat.so.1
    Reading symbols from /usr/lib/libelf.so.1...done.
    Loaded symbols for /usr/lib/libelf.so.1
    Reading symbols from /usr/lib/libm.so.1...done.
    Loaded symbols for /usr/lib/libm.so.1
    Reading symbols from /usr/lib/libnsl.so.1...done.
    Loaded symbols for /usr/lib/libnsl.so.1
    Reading symbols from /usr/lib/libsocket.so.1...done.
    Loaded symbols for /usr/lib/libsocket.so.1
    Reading symbols from /usr/lib/libadm.so.1...done.
    Loaded symbols for /usr/lib/libadm.so.1
    Reading symbols from /usr/lib/libc.so.1...done.
    Loaded symbols for /usr/lib/libc.so.1
    Reading symbols from /usr/lib/libmp.so.2...done.
    Loaded symbols for /usr/lib/libmp.so.2
    Reading symbols from
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...done.
    Loaded symbols for
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
    Reading symbols from /usr/lib/nss_files.so.1...done.
    Loaded symbols for /usr/lib/nss_files.so.1
    #0 0xff1981cc in _libc_kill () from /usr/lib/libc.so.1
    (gdb) where
    #0 0xff1981cc in _libc_kill () from /usr/lib/libc.so.1
    #1 0xff139450 in abort () from /usr/lib/libc.so.1
    #2 0x00061724 in var_hrswrun (vp=0xffbeeb68, name=0x1323e8,
    length=0x150, exact=-14993096, var_len=0xffbeeb64,
    write_method=0xff198110) at host/hr_swrun.c:512
    #3 0x000754d8 in netsnmp_old_api_helper (handler=0xc,
    reginfo=0x1d57b8, reqinfo=0x223d98, requests=0x1f0800)
    at old_api.c:288
    #4 0x00021efc in netsnmp_call_next_handler
    (current=0x1d3d68, reginfo=0x1d57b8, reqinfo=0x223d98,
    requests=0x1f0800) at agent_handler.c:329
    #5 0x00072f88 in netsnmp_bulk_to_next_helper
    (handler=0x1d3d88, reginfo=0x1d57b8, reqinfo=0x223d98,
    requests=0x1f0800) at bulk_to_next.c:84
    #6 0x000211dc in netsnmp_call_handlers (reginfo=0x1d57b8,
    reqinfo=0x223d98, requests=0x1f0800)
    at agent_handler.c:298
    #7 0x00019e50 in handle_var_requests (asp=0x1ebbe0) at
    snmp_agent.c:2002
    #8 0x0001b0c0 in handle_pdu (asp=0x1ebbe0) at snmp_agent.c:2706
    #9 0x0001acd4 in netsnmp_handle_request (asp=0x1ebbe0,
    status=0) at snmp_agent.c:2557
    #10 0x000190d4 in handle_snmp_packet (op=1,
    session=0x1ef4b8, reqid=875345468, pdu=0x1ebb48, magic=0x1ebbe0)
    at snmp_agent.c:1457
    #11 0x0009ba54 in _sess_process_packet (sessp=0x229380,
    sp=0x1ef4b8, isp=0x1f7f30, transport=0x1ebb48,
    opaque=0x0, olength=16, packetptr=0x22a960 "0A\002\001",
    length=67) at snmp_api.c:5038
    #12 0x0009c9b4 in _sess_read (sessp=0x229380,
    fdset=0x22a960) at snmp_api.c:5436
    #13 0x0009c9dc in snmp_sess_read (sessp=0x229380,
    fdset=0xffbef608) at snmp_api.c:5455
    #14 0x0009bbb8 in snmp_read (fdset=0xffbef608) at
    snmp_api.c:5090
    #15 0x000169bc in receive () at snmpd.c:1069
    #16 0x00015f8c in main (argc=0, argv=0xffbefc0c) at snmpd.c:913
    (gdb) quit
    [spos3073]/etc/rc3.d>

     
  • Nobody/Anonymous

    Logged In: NO

    I'm sorry

    Now follows the correct GDB output for net-snmp 5.0.7 thats
    the binary was downloaded on netsnmp site.
    Machine name : spos3073
    Solaris 7
    Net-SNMP 5.0.7

    Thank you.

    Mauricio

    =======================================================

    [spos3073]/etc/rc3.d>chmod 744 /usr/sbin/gdb
    [spos3073]/etc/rc3.d>gdb /usr/local/sbin/snmpd core
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...
    Core was generated by `/usr/local/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    Reading symbols from /usr/lib/libdl.so.1...done.
    Loaded symbols for /usr/lib/libdl.so.1
    Reading symbols from /usr/lib/libkvm.so.1...done.
    Loaded symbols for /usr/lib/libkvm.so.1
    Reading symbols from /usr/lib/libkstat.so.1...done.
    Loaded symbols for /usr/lib/libkstat.so.1
    Reading symbols from /usr/lib/libelf.so.1...done.
    Loaded symbols for /usr/lib/libelf.so.1
    Reading symbols from /usr/lib/libm.so.1...done.
    Loaded symbols for /usr/lib/libm.so.1
    Reading symbols from /usr/lib/libnsl.so.1...done.
    Loaded symbols for /usr/lib/libnsl.so.1
    Reading symbols from /usr/lib/libsocket.so.1...done.
    Loaded symbols for /usr/lib/libsocket.so.1
    Reading symbols from /usr/lib/libadm.so.1...done.
    Loaded symbols for /usr/lib/libadm.so.1
    Reading symbols from /usr/lib/libc.so.1...done.
    Loaded symbols for /usr/lib/libc.so.1
    Reading symbols from /usr/lib/libmp.so.2...done.
    Loaded symbols for /usr/lib/libmp.so.2
    Reading symbols from
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...done.
    Loaded symbols for
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
    Reading symbols from /usr/lib/nss_files.so.1...done.
    Loaded symbols for /usr/lib/nss_files.so.1
    #0 0xff1981cc in _libc_kill () from /usr/lib/libc.so.1
    (gdb) where
    #0 0xff1981cc in _libc_kill () from /usr/lib/libc.so.1
    #1 0xff139450 in abort () from /usr/lib/libc.so.1
    #2 0x00061724 in var_hrswrun (vp=0xffbeeb68, name=0x1323e8,
    length=0x150, exact=-14993096, var_len=0xffbeeb64,
    write_method=0xff198110) at host/hr_swrun.c:512
    #3 0x000754d8 in netsnmp_old_api_helper (handler=0xc,
    reginfo=0x1d57b8, reqinfo=0x223d98, requests=0x1f0800)
    at old_api.c:288
    #4 0x00021efc in netsnmp_call_next_handler
    (current=0x1d3d68, reginfo=0x1d57b8, reqinfo=0x223d98,
    requests=0x1f0800) at agent_handler.c:329
    #5 0x00072f88 in netsnmp_bulk_to_next_helper
    (handler=0x1d3d88, reginfo=0x1d57b8, reqinfo=0x223d98,
    requests=0x1f0800) at bulk_to_next.c:84
    #6 0x000211dc in netsnmp_call_handlers (reginfo=0x1d57b8,
    reqinfo=0x223d98, requests=0x1f0800)
    at agent_handler.c:298
    #7 0x00019e50 in handle_var_requests (asp=0x1ebbe0) at
    snmp_agent.c:2002
    #8 0x0001b0c0 in handle_pdu (asp=0x1ebbe0) at snmp_agent.c:2706
    #9 0x0001acd4 in netsnmp_handle_request (asp=0x1ebbe0,
    status=0) at snmp_agent.c:2557
    #10 0x000190d4 in handle_snmp_packet (op=1,
    session=0x1ef4b8, reqid=875345468, pdu=0x1ebb48, magic=0x1ebbe0)
    at snmp_agent.c:1457
    #11 0x0009ba54 in _sess_process_packet (sessp=0x229380,
    sp=0x1ef4b8, isp=0x1f7f30, transport=0x1ebb48,
    opaque=0x0, olength=16, packetptr=0x22a960 "0A\002\001",
    length=67) at snmp_api.c:5038
    #12 0x0009c9b4 in _sess_read (sessp=0x229380,
    fdset=0x22a960) at snmp_api.c:5436
    #13 0x0009c9dc in snmp_sess_read (sessp=0x229380,
    fdset=0xffbef608) at snmp_api.c:5455
    #14 0x0009bbb8 in snmp_read (fdset=0xffbef608) at
    snmp_api.c:5090
    #15 0x000169bc in receive () at snmpd.c:1069
    #16 0x00015f8c in main (argc=0, argv=0xffbefc0c) at snmpd.c:913
    (gdb) quit
    [spos3073]/etc/rc3.d>

     
  • Nobody/Anonymous

    Logged In: NO

    OTHER GDB OUTPUT
    The output is from a different machine thats running SNMP
    5.0.7 too, the
    same version from server spos3073.

    Machine name : spos3067
    Solaris 7
    NET-SNMP 5.0.7
    ======================
    [spos3067]/etc/rc3.d>gdb /usr/local/sbin/snmpd core
    GNU gdb 5.2.1
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.9"...
    Core was generated by `/usr/local/sbin/snmpd'.
    Program terminated with signal 6, Aborted.
    Reading symbols from /usr/lib/libdl.so.1...done.
    Loaded symbols for /usr/lib/libdl.so.1
    Reading symbols from /usr/lib/libkvm.so.1...done.
    Loaded symbols for /usr/lib/libkvm.so.1
    Reading symbols from /usr/lib/libkstat.so.1...done.
    Loaded symbols for /usr/lib/libkstat.so.1
    Reading symbols from /usr/lib/libelf.so.1...done.
    Loaded symbols for /usr/lib/libelf.so.1
    Reading symbols from /usr/lib/libm.so.1...done.
    Loaded symbols for /usr/lib/libm.so.1
    Reading symbols from /usr/lib/libnsl.so.1...done.
    Loaded symbols for /usr/lib/libnsl.so.1
    Reading symbols from /usr/lib/libsocket.so.1...done.
    Loaded symbols for /usr/lib/libsocket.so.1
    Reading symbols from /usr/lib/libadm.so.1...done.
    Loaded symbols for /usr/lib/libadm.so.1
    Reading symbols from /usr/lib/libc.so.1...done.
    Loaded symbols for /usr/lib/libc.so.1
    Reading symbols from /usr/lib/libmp.so.2...done.
    Loaded symbols for /usr/lib/libmp.so.2
    Reading symbols from
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...done.
    Loaded symbols for
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
    Reading symbols from /usr/lib/nss_files.so.1...done.
    Loaded symbols for /usr/lib/nss_files.so.1
    #0 0xff19a1f0 in _libc_kill () from /usr/lib/libc.so.1
    (gdb) where
    #0 0xff19a1f0 in _libc_kill () from /usr/lib/libc.so.1
    #1 0xff1395d8 in abort () from /usr/lib/libc.so.1
    #2 0x00061724 in var_hrswrun (vp=0xffbeebf8, name=0x1323e8,
    length=0x150, exact=-14984492, var_len=0xffbeebf4,
    write_method=0xff19a134) at host/hr_swrun.c:512
    #3 0x000754d8 in netsnmp_old_api_helper (handler=0xc,
    reginfo=0x1d9f20, reqinfo=0x228560, requests=0x1f0e60) at
    old_api.c:288
    #4 0x00021efc in netsnmp_call_next_handler
    (current=0x1d84c8, reginfo=0x1d9f20, reqinfo=0x228560,
    requests=0x1f0e60)
    at agent_handler.c:329
    #5 0x00072f88 in netsnmp_bulk_to_next_helper
    (handler=0x1d84e8, reginfo=0x1d9f20, reqinfo=0x228560,
    requests=0x1f0e60)
    at bulk_to_next.c:84
    #6 0x000211dc in netsnmp_call_handlers (reginfo=0x1d9f20,
    reqinfo=0x228560, requests=0x1f0e60) at agent_handler.c:298
    #7 0x00019e50 in handle_var_requests (asp=0x1f27d0) at
    snmp_agent.c:2002
    #8 0x0001b0c0 in handle_pdu (asp=0x1f27d0) at snmp_agent.c:2706
    #9 0x0001acd4 in netsnmp_handle_request (asp=0x1f27d0,
    status=0) at snmp_agent.c:2557
    #10 0x000190d4 in handle_snmp_packet (op=1,
    session=0x1f0220, reqid=1643577459, pdu=0x1f2738,
    magic=0x1f27d0)
    at snmp_agent.c:1457
    #11 0x0009ba54 in _sess_process_packet (sessp=0x22db60,
    sp=0x1f0220, isp=0x204048, transport=0x1f2738, opaque=0x0,
    olength=16, packetptr=0x22f278 "0A\002\001", length=67)
    at snmp_api.c:5038
    #12 0x0009c9b4 in _sess_read (sessp=0x22db60,
    fdset=0x22f278) at snmp_api.c:5436
    #13 0x0009c9dc in snmp_sess_read (sessp=0x22db60,
    fdset=0xffbef698) at snmp_api.c:5455
    #14 0x0009bbb8 in snmp_read (fdset=0xffbef698) at
    snmp_api.c:5090
    #15 0x000169bc in receive () at snmpd.c:1069
    #16 0x00015f8c in main (argc=0, argv=0xffbefc9c) at snmpd.c:913
    (gdb)

     
  • Stefan Radman

    Stefan Radman - 2003-04-03

    Logged In: YES
    user_id=80318

    snmpd seems to have problems reading /proc/*/psinfo
    and confusedly gives up with abort()

    please kindly repeat the debug, add the following
    (gdb) print errno
    (gdb) print procfn
    (gdb) print procfd
    (gdb) print psinfo
    and re-submit the output (just ONE example).

    Stefan
    P.S.: your GDB was compiled for sparc-sun-solaris2.9 but
    you seem to be using it on sparc-sun-solaris2.7

     
  • Nobody/Anonymous

    Logged In: NO

    Follows the output

    [spos3072]/etc/rc3.d>gdb /usr/local/sbin/snmpd core
    GNU gdb 4.18
    Copyright 1998 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.7"...
    Core was generated by `/usr/local/sbin/snmpd'.
    Program terminated with signal 6, Abort.
    Reading symbols from /usr/lib/libdl.so.1...done.
    Reading symbols from /usr/lib/libkvm.so.1...done.
    Reading symbols from /usr/lib/libkstat.so.1...done.
    Reading symbols from /usr/lib/libelf.so.1...done.
    Reading symbols from /usr/lib/libm.so.1...done.
    Reading symbols from /usr/lib/libnsl.so.1...done.
    Reading symbols from /usr/lib/libsocket.so.1...done.
    Reading symbols from /usr/lib/libadm.so.1...done.
    Reading symbols from /usr/lib/libc.so.1...done.
    Reading symbols from /usr/lib/libmp.so.2...done.
    Reading symbols from
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...done.
    Reading symbols from /usr/lib/nss_files.so.1...done.
    #0 0xff19a1f0 in _libc_kill () from /usr/lib/libc.so.1
    (gdb) where
    #0 0xff19a1f0 in _libc_kill () from /usr/lib/libc.so.1
    #1 0xff1395d8 in abort () from /usr/lib/libc.so.1
    #2 0x61724 in var_hrswrun (vp=0xffbeebc8, name=0x1323e8,
    length=0x150, exact=-14984492, var_len=0xffbeebc4,
    write_method=0xff19a134) at host/hr_swrun.c:512
    #3 0x754d8 in netsnmp_old_api_helper (handler=0xc,
    reginfo=0x1d78a8, reqinfo=0x225aa0, requests=0x1b07e8) at
    old_api.c:288
    #4 0x21efc in netsnmp_call_next_handler (current=0x1d6058,
    reginfo=0x1d78a8, reqinfo=0x225aa0, requests=0x1b07e8)
    at agent_handler.c:329
    #5 0x72f88 in netsnmp_bulk_to_next_helper
    (handler=0x1d6078, reginfo=0x1d78a8, reqinfo=0x225aa0,
    requests=0x1b07e8)
    at bulk_to_next.c:84
    #6 0x211dc in netsnmp_call_handlers (reginfo=0x1d78a8,
    reqinfo=0x225aa0, requests=0x1b07e8) at agent_handler.c:298
    #7 0x19e50 in handle_var_requests (asp=0x223518) at
    snmp_agent.c:2002
    #8 0x1b0c0 in handle_pdu (asp=0x223518) at snmp_agent.c:2706
    #9 0x1acd4 in netsnmp_handle_request (asp=0x223518,
    status=0) at snmp_agent.c:2557
    #10 0x190d4 in handle_snmp_packet (op=1, session=0x1ed8f8,
    reqid=1076168907, pdu=0x1ef770, magic=0x223518) at
    snmp_agent.c:1457
    #11 0x9ba54 in _sess_process_packet (sessp=0x22b0c8,
    sp=0x1ed8f8, isp=0x212280, transport=0x1ef770, opaque=0x0,
    olength=16,
    packetptr=0x22c7b0 "0A\002\001", length=67) at
    snmp_api.c:5038
    #12 0x9c9b4 in _sess_read (sessp=0x22b0c8, fdset=0x22c7b0)
    at snmp_api.c:5436
    #13 0x9c9dc in snmp_sess_read (sessp=0x22b0c8,
    fdset=0xffbef668) at snmp_api.c:5455
    #14 0x9bbb8 in snmp_read (fdset=0xffbef668) at snmp_api.c:5090
    #15 0x169bc in receive () at snmpd.c:1069
    #16 0x15f8c in main (argc=0, argv=0xffbefc6c) at snmpd.c:913
    (gdb) print errno
    $1 = 0
    (gdb) print procfn
    No symbol "procfn" in current context.
    (gdb) print procfd
    No symbol "procfd" in current context.
    (gdb) print psinfo
    No symbol "psinfo" in current context.
    (gdb) quit
    [spos3072]/etc/rc3.d>
    [spos3072]/etc/rc3.d>

    Mauricio.

     
  • Paul Carroll

    Paul Carroll - 2003-05-30

    Logged In: YES
    user_id=790264

    Mauricio

    Has this been retested with 5.0.8?
    Were all the machines doing the same thing
    (test of some kind) when it died?
    What were the machines doing when it died?
    Also, the reference to solaris 2.9....is that
    the machine you are debugging on? What is that
    reference for?

    Paul

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 180 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.