[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-3102928 ] snmpd 5.6 generates core file on Solaris
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2010-11-04 13:51:33
Message-ID: E1PE0E1-0006KB-3g () sfs-web-9 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Bugs item #3102928, was opened at 2010-11-04 14:51
Message generated for change (Tracker Item Submitted) made by mariojansen82
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3102928&group_id=12694
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: agent
Group: solaris
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mario Jansen (mariojansen82)
Assigned to: Nobody/Anonymous (nobody)
Summary: snmpd 5.6 generates core file on Solaris Zone
Initial Comment:
After installing the snmp 5.6 agent inside an Solaris zone with an tun interface the \
agent generates an core file. Another zone on the same physical machine with tun \
interface is working however this machine also crashed. Error:
/usr/local/sbin/snmpd -f -Le
Bus Error (core dumped)
Additional information:
When running it with an debugger (truss) the error occures when the tun interface is \
opened: ioctl(6, KSTAT_IOC_READ, "kstat_headers") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "kstat_headers") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(6, KSTAT_IOC_READ, "aggr2607012") = 389584
ioctl(5, SIOCGLIFFLAGS, 0xFFBF5630) = 0
ioctl(5, SIOCGLIFMTU, 0xFFBF5630) = 0
open("/dev/tun3", O_RDWR|O_NONBLOCK) Err#2 ENOENT
open("/dev/tun", O_RDWR|O_NONBLOCK) = 7
putmsg(7, 0xFFBF5618, 0x00000000, 0) = 0
getmsg(7, 0xFFBF5618, 0x00000000, 0xFFBF5548) = 0
putmsg(7, 0xFFBF5618, 0x00000000, 0) = 0
getmsg(7, 0xFFBF5618, 0x00000000, 0xFFBF5544) = 0
putmsg(7, 0xFFBF55A0, 0x00000000, 0) = 0
getmsg(7, 0xFFBF55A0, 0x00000000, 0xFFBF553C) = 1
close(7) = 0
ioctl(6, KSTAT_IOC_READ, "kstat_headers") = 389584
close(5) = 0
Incurred fault #5, FLTACCESS %pc = 0xFEC57028
siginfo: SIGBUS BUS_ADRALN addr=0x0000000A
Received signal #10, SIGBUS [default]
siginfo: SIGBUS BUS_ADRALN addr=0x0000000A
pstack of the core file:
core '/core' of 28843: /usr/local/sbin/snmpd -f -Le
fec57028 t_splay (2dc24, bc, 2, 20420604, fed303a8, 0) + 10
fec56ac4 realfree (2db60, bf, d995c, 446, 0, ff3f6a90) + 8c
fec5734c cleanfree (0, 6, d90ac, ff3c99e4, fed303a8, fed392a4) + 5c
fec564a4 _malloc_unlocked (d0, bc, 2db60, 2db68, fffffffc, ff3d2708) + f4
fec56394 malloc (cc, 1, da058, ff3b857c, fed303a8, fed3a518) + 4c
fec42834 calloc (cc, cc, cc, 0, 0, 0) + 58
ff210678 netsnmp_access_interface_entry_create (ffbff8f8, 1, e0, 0, ff1f5904, \
ff13194c) + 14 ff227468 netsnmp_arch_interface_container_load (0, ffbff8f0, \
ff1f1268, 1e, 1, 3400) + b4 ff20fbcc netsnmp_access_interface_container_load (2a930, \
0, 0, 354c, 48, 3484) + 84 ff20fd28 netsnmp_access_interface_init (0, ff2b0bbc, 0, \
0, 0, 0) + 68 ff2296bc init_mib_modules (0, 485a3d, ffbfff34, 80808080, 0, 80808080) \
+ 10 00012d7c main (3, ffbffe6c, 0, ffffffff, 0, 1) + c1c
00011e0c _start (0, 0, 0, 0, 0, 0) + 5c
pldd of core file:
core '/core' of 28843: /usr/local/sbin/snmpd -f -Le
/usr/local/lib/libnetsnmpagent.so.25.0.0
/usr/local/lib/libnetsnmpmibs.so.25.0.0
/usr/lib/libkvm.so.1
/usr/local/lib/libnetsnmp.so.25.0.0
/lib/libadm.so.1
/lib/libkstat.so.1
/usr/local/ssl/lib/libcrypto.so.1.0.0
/lib/libnsl.so.1
/lib/libsocket.so.1
/lib/libelf.so.1
/lib/libc.so.1
/usr/local/lib/libgcc_s.so.1
/lib/libdl.so.1
/platform/sun4u-opl/lib/libc_psr.so.1
pflags of core :
core '/core' of 28843: /usr/local/sbin/snmpd -f -Le
data model = _ILP32 flags = RLC|ASYNC|MSACCT|MSFORK
flttrace = 0xfffffbff
sigtrace = 0xfffffeff 0xffffffff
HUP|INT|QUIT|ILL|TRAP|ABRT|EMT|FPE|BUS|SEGV|SYS|PIPE|ALRM|TERM|USR1|USR2|C \
LD|PWR|WINCH|URG|POLL|STOP|TSTP|CONT|TTIN|TTOU|VTALRM|PROF|XCPU|XFSZ|WAITING|LWP|FREEZ \
E|THAW|CANCEL|LOST|XRES|JVM1|JVM2|RTMIN|RTMIN+1|RTMIN+2|RTMIN+3|RTMAX-3|RTMAX-2|RTMAX-1|RTMAX
entryset = 0x00000401 0x04000000 0x00000000 0x00000028
0x80000000 0x00000000 0x00000000 0x00000000
exitset = 0xfffffffe 0xffffffff 0xffffffff 0xffffffd7
0x7fffffff 0xffffffff 0xffffffff 0xffffffff
/1: flags = 0
sigmask = 0xffffbefc,0x0000ffff cursig = SIGBUS
snmp agent is downloaded from sunfreeware. according the site configured with:
./configure --with-mib-modules="smux ucd-snmp/diskio mibII/mta_sendmail" \
--enable-mfd-rewrites --enable-ucd-snmp-compatibility --with-defaults --enable-ipv6 \
--with-out-mib-modules="mibII/ipv6" --without-perl-modules --disable-embedded-perl \
--prefix=/usr/local
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3102928&group_id=12694
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic