[Pkg-zenoss-team] Bug#471980: python-pynetsnmp: get hangs in snmp_read on amd64
John Kozak
jk at thameslighter.net
Fri Mar 21 15:39:52 UTC 2008
Package: python-pynetsnmp
Version: 0.28.6-1
Severity: normal
Get intermittent hangs (ctrl-c proof) in code using pynetsnmp on
amd64. I believe it's caused by this:
netsnmp.py line 498:
MAXFD = 1024
fdset = c_long * (MAXFD/32)
this assumes each element of fdset is 32 bits. But on amd64, c_long
is 8 bytes. Replacing c_long with c_uint32 seems to fix this problem.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-pynetsnmp depends on:
ii libsnmp15 5.4.1~dfsg-6 SNMP (Simple Network Management Pr
ii python-ctypes 1.0.2-2 Python package to create and manip
ii python-support 0.7.7 automated rebuilding support for P
ii python-twisted-core 2.5.0-2 Event-based framework for internet
python-pynetsnmp recommends no packages.
-- debconf-show failed
More information about the Pkg-zenoss-team
mailing list