pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36253: net-snmp 5.4 from pkgsrc dies after start up



>Number:         36253
>Category:       pkg
>Synopsis:       net-snmp 5.4 from pkgsrc dies after start up
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 01 20:15:01 +0000 2007
>Originator:     Petr Janda
>Release:        DragonFly 1.8.1
>Organization:
>Environment:
DragonFly daria.webgate.net.au 1.8.1-RELEASE DragonFly 1.8.1-RELEASE #4: Thu 
Apr 12 15:47:54 EST 2007     
chocgrap%daria.webgate.net.au@localhost:/usr/obj/usr/src/sys/SMP  i386

>Description:
net-snmp 5.4 exits with:

pid 56794 (snmpd), uid 0: exited on signal 11 (core dumped)

output of  snmpd -V -Lo -DALL (only last 20 lines)

trace: _callback_unlock(): callback.c, 150:
9:callback:lock: unlocked (APP,null)
NET-SNMP version 5.4
trace: main(): snmpd.c, 1013:
snmpd/main: We're up.  Starting to process data.
trace: snmp_sess_select_info(): snmp_api.c, 5875:
sess_select: for all sessions: 10 7
sess_select: next alarm 4.678041 sec
verbose:sess_select: timer due in 4.678041 sec
verbose:sess_select: setting timer to 4.678041 sec, clear block (was 0)
trace: receive(): snmpd.c, 1136:
snmpd/select: select( numfds=11, ..., tvp=0xbfbff5f8)
trace: receive(): snmpd.c, 1138:
timer: tvp 4.678041
trace: receive(): snmpd.c, 1140:
snmpd/select: returned, count = 0
trace: run_alarms(): snmp_alarm.c, 251:
snmp_alarm: run alarm 2
trace: netsnmp_cpu_get_byIdx(): mibgroup/hardware/cpu/cpu.c, 58:
cpu: cpu_get_byIdx -1 (not found)


Last 100 lines of ktrace:

 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x23,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x22,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x21,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x20,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x1f,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x1e,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x1d,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x1c,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x1b,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x1a,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x19,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x18,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x17,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x16,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x15,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x14,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x13,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x12,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x11,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x10,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0xf,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0xe,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0xd,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0xc,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0xb,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0xa,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x9,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x8,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x7,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x6,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  fcntl(0x3,0x3,0)
 68850 snmpd    RET   fcntl -1 errno 9 Bad file descriptor
 68850 snmpd    CALL  sigaction(0xf,0xbfbff7d0,0)
 68850 snmpd    RET   sigaction 0
 68850 snmpd    CALL  sigaction(0x2,0xbfbff7d0,0)
 68850 snmpd    RET   sigaction 0
 68850 snmpd    CALL  sigaction(0x1,0xbfbff7d0,0)
 68850 snmpd    RET   sigaction 0
 68850 snmpd    CALL  sigaction(0x1e,0xbfbff7d0,0)
 68850 snmpd    RET   sigaction 0
 68850 snmpd    CALL  sigaction(0xd,0xbfbff7d0,0)
 68850 snmpd    RET   sigaction 0
 68850 snmpd    CALL  sigaction(0x19,0xbfbff7d0,0)
 68850 snmpd    RET   sigaction 0
 68850 snmpd    CALL  fstat(0x1,0xbfbff7b0)
 68850 snmpd    RET   fstat 0
 68850 snmpd    CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
 68850 snmpd    RET   mmap 677056512/0x285b1000
 68850 snmpd    CALL  fork
 68850 snmpd    RET   fork 68851/0x10cf3
 68850 snmpd    CALL  setitimer(0x2,0xbfbff7f0,0)
 68850 snmpd    RET   setitimer 0
 68850 snmpd    CALL  close(0x4)
 68850 snmpd    RET   close 0
 68850 snmpd    CALL  close(0x5)
 68850 snmpd    RET   close 0
 68850 snmpd    CALL  fcntl(0,0x3,0)
 68850 snmpd    RET   fcntl 2
 68850 snmpd    CALL  fcntl(0,0x4,0x2)
 68850 snmpd    RET   fcntl 0
 68850 snmpd    CALL  fcntl(0x1,0x3,0)
 68850 snmpd    RET   fcntl 2
 68850 snmpd    CALL  fcntl(0x1,0x4,0x2)
 68850 snmpd    RET   fcntl 0
 68850 snmpd    CALL  fcntl(0x2,0x3,0)
 68850 snmpd    RET   fcntl 2
 68850 snmpd    CALL  fcntl(0x2,0x4,0x2)
 68850 snmpd    RET   fcntl 0
 68850 snmpd    CALL  exit(0)

>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index