Your message dated Wed, 27 Dec 2006 18:36:51 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#370132: [Pkg-net-snmp-devel] Bug#370132: snmpd segfaults 
on ia64 upon first query
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: snmpd
Version: 5.2.2-3
Severity: important

snmpd no longer works on ia64. It dies when receiving first query.
Here's a sample testcase, running "snmpwalk" from another box ('dogma'):

[EMAIL PROTECTED]:~ $] snmpwalk -v2c -c public morgoth
SNMPv2-MIB::sysDescr.0 = STRING: Linux morgoth 2.6.17-rc4-pa2 #1 SMP 
PREEMPT Thu May 25 13:24:38 CEST 2006 ia64
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::org.0.0.0.0.0.0.0.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (4221) 0:00:42.21
SNMPv2-MIB::sysContact.0 = STRING: "Admin </dev/null>"
SNMPv2-MIB::sysName.0 = STRING: morgoth
SNMPv2-MIB::sysLocation.0 = STRING: "here"
SNMPv2-MIB::sysServices.0 = INTEGER: 76
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (2) 0:00:00.02
SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.7 = OID: 
SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic 
objects for network interface sub-layers
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP 
implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and 
ICMP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP 
implementations
SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for 
SNMP.
SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and 
Dispatching.
SNMPv2-MIB::sysORDescr.9 = STRING: The management information 
definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (2) 0:00:00.02
IF-MIB::ifNumber.0 = INTEGER: 4
Timeout: No Response from morgoth

while stracing the daemon on the ia64 machines ('morgoth'):
[...]
open("/etc/hosts.deny", O_RDONLY)       = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=901, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x2000000000bcc000
read(9, "# /etc/hosts.deny: list of hosts"..., 16384) = 901
read(9, "", 16384)                      = 0
close(9)                                = 0
munmap(0x2000000000bcc000, 65536)       = 0
write(2, "Connection from UDP: [147.215.7."..., 42Connection from UDP: 
[147.215.7.12]:32817
) = 42
gettimeofday({1149344603, 215880}, NULL) = 0
gettimeofday({1149344603, 216074}, NULL) = 0
gettimeofday({1149344603, 216205}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
open("/proc/net/dev", O_RDONLY)         = 10
fstat(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x2000000000bcc000
read(10, "Inter-|   Receive               "..., 1024) = 692
ioctl(9, SIOCGIFADDR, {ifr_name="eth0", ???}) = -1 EADDRNOTAVAIL (Cannot 
assign requested address)
ioctl(9, SIOCGIFBRDADDR, {ifr_name="eth0", ???}) = -1 EADDRNOTAVAIL 
(Cannot assign requested address)
ioctl(9, SIOCGIFNETMASK, {ifr_name="eth0", ???}) = -1 EADDRNOTAVAIL 
(Cannot assign requested address)
ioctl(9, SIOCGIFFLAGS, {ifr_name="eth0", 
ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(9, SIOCGIFHWADDR, {ifr_name="eth0", ifr_hwaddr=00:30:6e:39:a7:6b}) 
= 0
ioctl(9, SIOCGIFMETRIC, {ifr_name="eth0", ifr_metric=0}) = 0
ioctl(9, SIOCGIFMTU, {ifr_name="eth0", ifr_mtu=1500}) = 0
ioctl(9, SIOCGMIIPHY, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGIFADDR, {ifr_name="eth1", ifr_addr={AF_INET, 
inet_addr("147.215.7.112")}}) = 0
ioctl(9, SIOCGIFBRDADDR, {ifr_name="eth1", ifr_broadaddr={AF_INET, 
inet_addr("147.215.7.255")}}) = 0
ioctl(9, SIOCGIFNETMASK, {ifr_name="eth1", ifr_netmask={AF_INET, 
inet_addr("255.255.255.0")}}) = 0
ioctl(9, SIOCGIFFLAGS, {ifr_name="eth1", 
ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(9, SIOCGIFHWADDR, {ifr_name="eth1", ifr_hwaddr=00:30:6e:39:17:c5}) 
= 0
ioctl(9, SIOCGIFMETRIC, {ifr_name="eth1", ifr_metric=0}) = 0
ioctl(9, SIOCGIFMTU, {ifr_name="eth1", ifr_mtu=1500}) = 0
ioctl(9, SIOCGMIIPHY, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGMIIREG, 0x60000ffffea159d8) = 0
ioctl(9, SIOCGIFADDR, {ifr_name="lo", ifr_addr={AF_INET, 
inet_addr("127.0.0.1")}}) = 0
ioctl(9, SIOCGIFBRDADDR, {ifr_name="lo", ifr_broadaddr={AF_INET, 
inet_addr("0.0.0.0")}}) = 0
ioctl(9, SIOCGIFNETMASK, {ifr_name="lo", ifr_netmask={AF_INET, 
inet_addr("255.0.0.0")}}) = 0
ioctl(9, SIOCGIFFLAGS, {ifr_name="lo", 
ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(9, SIOCGIFHWADDR, {ifr_name="lo", ifr_hwaddr=00:00:00:00:00:00}) = 
0
ioctl(9, SIOCGIFMETRIC, {ifr_name="lo", ifr_metric=0}) = 0
ioctl(9, SIOCGIFMTU, {ifr_name="lo", ifr_mtu=16436}) = 0
ioctl(9, SIOCGIFADDR, {ifr_name="dummy0", ???}) = -1 EADDRNOTAVAIL 
(Cannot assign requested address)
ioctl(9, SIOCGIFBRDADDR, {ifr_name="dummy0", ???}) = -1 EADDRNOTAVAIL 
(Cannot assign requested address)
ioctl(9, SIOCGIFNETMASK, {ifr_name="dummy0", ???}) = -1 EADDRNOTAVAIL 
(Cannot assign requested address)
ioctl(9, SIOCGIFFLAGS, {ifr_name="dummy0", 
ifr_flags=IFF_BROADCAST|IFF_NOARP}) = 0
ioctl(9, SIOCGIFHWADDR, {ifr_name="dummy0", 
ifr_hwaddr=76:fd:81:95:44:5d}) = 0
ioctl(9, SIOCGIFMETRIC, {ifr_name="dummy0", ifr_metric=0}) = 0
ioctl(9, SIOCGIFMTU, {ifr_name="dummy0", ifr_mtu=1500}) = 0
ioctl(9, SIOCGMIIPHY, 0x60000ffffea159d8) = -1 EOPNOTSUPP (Operation not 
supported)
ioctl(9, SIOCDEVPRIVATE, 0x60000ffffea159d8) = -1 EOPNOTSUPP (Operation 
not supported)
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0x2000000000bcc000, 65536)       = 0
close(9)                                = 0
sendto(8, "0*\2\1\1\4\6public\242\35\2\4\37\\\252\253\2\1\0\2\1\000"..., 
44, 0, {sa_family=AF_INET, sin_port=htons(32817), 
sin_addr=inet_addr("147.215.7.12")}, 16) = 44
gettimeofday({1149344603, 225337}, NULL) = 0
gettimeofday({1149344603, 225477}, NULL) = 0
gettimeofday({1149344603, 225604}, NULL) = 0
select(9, [3 5 7 8], [], [], {17, 708464}) = 1 (in [8], left {17, 
708464})
recvfrom(8, 
"0)\2\1\1\4\6public\241\34\2\4\37\\\252\254\2\1\0\2\1\000"..., 65536, 0, 
{sa_family=AF_INET, sin_port=htons(32817), 
sin_addr=inet_addr("147.215.7.12")}, [16]) = 43
open("/etc/hosts.allow", O_RDONLY)      = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=677, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x2000000000bcc000
read(9, "# /etc/hosts.allow: list of host"..., 16384) = 677
read(9, "", 16384)                      = 0
close(9)                                = 0
munmap(0x2000000000bcc000, 65536)       = 0
open("/etc/hosts.deny", O_RDONLY)       = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=901, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x2000000000bcc000
read(9, "# /etc/hosts.deny: list of hosts"..., 16384) = 901
read(9, "", 16384)                      = 0
close(9)                                = 0
munmap(0x2000000000bcc000, 65536)       = 0
write(2, "Connection from UDP: [147.215.7."..., 42Connection from UDP: 
[147.215.7.12]:32817
) = 42
gettimeofday({1149344603, 228229}, NULL) = 0
gettimeofday({1149344603, 228522}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 200000000012c960 (f67a8) ---
+++ killed by SIGSEGV +++

Last known working version is sarge's one.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc4-pa2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages snmpd depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  debconf                       1.5.1      Debian configuration management sy
ii  libc6.1                       2.3.6-13   GNU C Library: Shared libraries
ii  libsensors3                   1:2.10.0-7 library to read temperature/voltag
ii  libsnmp9                      5.2.2-3    NET SNMP (Simple Network Managemen
ii  libwrap0                      7.6.dbs-9  Wietse Venema's TCP wrappers libra

snmpd recommends no packages.

-- debconf information excluded


--- End Message ---
--- Begin Message ---
Version: 5.2.3-4

* Jochen Friedrich ([EMAIL PROTECTED]) [061227 02:35]:
> > I just tested 5.2.3-4 which doesn't expose this bug, cool!
> 
> Thanks for the report. However, i leave this bug open until the s390 buildd 
> is fixed
> and a corrected s390 binary has been uploaded.

Thanks to version-tracking, closing with the right version works now. :)


Cheers,
Andi
-- 
  http://home.arcor.de/andreas-barth/

--- End Message ---

Reply via email to