Script started on Fri Sep 25 10:47:31 2009
r...@odyssey1 # gdb /usr/local/sbin/snmpd /core GNU gdb 6.8 Copyright (C) 2008 
Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.9"...

warning: Can't read pathname for load map: I/O error.
Reading symbols from /usr/local/lib/libnetsnmpagent.so.20...done.
Loaded symbols for /usr/local/lib/libnetsnmpagent.so.20
Reading symbols from /usr/local/lib/libnetsnmphelpers.so.20...done.
Loaded symbols for /usr/local/lib/libnetsnmphelpers.so.20
Reading symbols from /usr/local/lib/libnetsnmpmibs.so.20...done.
Loaded symbols for /usr/local/lib/libnetsnmpmibs.so.20
Reading symbols from /usr/lib/libkvm.so.1...done.
Loaded symbols for /usr/lib/libkvm.so.1
Reading symbols from /usr/local/lib/libnetsnmp.so.20...done.
Loaded symbols for /usr/local/lib/libnetsnmp.so.20 Reading symbols from 
/usr/lib/libadm.so.1...done.
Loaded symbols for /usr/lib/libadm.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libkstat.so.1...done.
Loaded symbols for /usr/lib/libkstat.so.1 Reading symbols from 
/usr/local/ssl/lib/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/local/ssl/lib/libcrypto.so.0.9.8
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/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.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,Sun-Fire-V440/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1

warning: Can't read pathname for load map: I/O error.

warning: Can't read pathname for load map: I/O error.
Core was generated by `/usr/local/sbin/snmpd -I -at -c 
/etc/sma/snmp/snmpd.conf'.
Program terminated with signal 11, Segmentation fault.
[New process 77299    ]
#0  0xff3b05c0 in memcpy ()
   from /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
(gdb) bt
#0  0xff3b05c0 in memcpy ()
   from /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
#1  0xff1f1508 in getMibstat (grid=MIB_INTERFACES, resp=0xffbfeb58, 
    entrysize=120, req_type=GET_FIRST, comp=0xff1a826c <AT_Cmp>, 
    arg=0xffbfebd0) at kernel_sunos5.c:746
#2  0xff1a86ec in var_atEntry (vp=0xffbfeef0, name=0xffbfecf0, 
    length=0xffbfecec, exact=0, var_len=0xffbfece8, write_method=0xffbfece4)
    at mibII/at.c:414
#3  0xff31dd7c in netsnmp_old_api_helper (handler=0xa, reginfo=0x8bf00, 
    reqinfo=0x16e7e0, requests=0xfd5a0) at old_api.c:291
#4  0xff36ba7c in netsnmp_call_handler (next_handler=0x8aa20, reginfo=0x8bf00, 
    reqinfo=0x16e7e0, requests=0xfd5a0) at agent_handler.c:440
#5  0xff36bdd4 in netsnmp_call_handlers (reginfo=0x8bf00, reqinfo=0x16e7e0, 
    requests=0xfd5a0) at agent_handler.c:521
#6  0xff3609bc in handle_var_requests (asp=0x10e300) at snmp_agent.c:2611
#7  0xff36167c in handle_getnext_loop (asp=0x10e300) at snmp_agent.c:3051
#8  0xff36209c in handle_pdu (asp=0x10e300) at snmp_agent.c:3420
#9  0xff361bfc in netsnmp_handle_request (asp=0x10e300, status=52)
    at snmp_agent.c:3203
#10 0xff35f4bc in handle_snmp_packet (op=1, session=0xfd158, reqid=1108437003, 
    pdu=0x16ba68, magic=0x0) at snmp_agent.c:1929
#11 0xff0bf0d0 in _sess_process_packet (sessp=0x1535d8, sp=0xfd158, 
    isp=0x150188, transport=0x0, opaque=0x151820, olength=1489512, ---Type 
<return> to continue, or q <return> to quit---
    packetptr=0x15ba60 
"02\002\001\001\004\006publicĀ”%\002\004B\021h\v\002\001", length=52) at 
snmp_api.c:5604
#12 0xff0c0310 in _sess_read (sessp=0x1535d8, fdset=0x15ba60)
    at snmp_api.c:6043
#13 0xff0c038c in snmp_sess_read2 (sessp=0x1535d8, fdset=0xffbff9a8)
    at snmp_api.c:6075
#14 0xff0bf2a0 in snmp_read2 (fdset=0xffbff9a8) at snmp_api.c:5667
#15 0x000144f4 in receive () at snmpd.c:1221
#16 0x00013afc in main (argc=5, argv=0xffbffbb4) at snmpd.c:1056
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) quit
r...@odyssey1 # ^D  

script done on Fri Sep 25 10:49:24 2009

-----Original Message-----
From: Thomas Anders [mailto:thomas.and...@blue-cable.de] 
Sent: Thursday, September 24, 2009 4:55 PM
To: Burkhardt, Chris
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Error with net-snmp on Solaris 9 sparc

Burkhardt, Chris wrote.
> It failed again.

Oops, my fault. Please try "snmpd -I -at ..." instead.


+Thomas

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to