[Bug 1541152] [NEW] segmentation fault when calling session.get() method
pseudonomous
1541152 at bugs.launchpad.net
Wed Feb 3 00:44:18 UTC 2016
Public bug reported:
I was hoping to use this python module to get retrieve a single OID from
a networked copy machine.
So I fired up ipython and did:
import netsnmp
session = netsnmp.Session(DestHost='my-copy-machine', SecName='supersecret', SecLevel='authPriv', AuthProto='SHA', AuthPass='supersecret', PrivProto='AES', PrivPass='supersecret')
# this produces quite a bit of output, I'll try and include it later.
vars = netsnmp.Varbind('1.3.6.1.2.1.43.10.2.1.4.1.1')
session.get(vars)
Segmentation fault (core dumped)
I've tried this on a VM running 32 bit ubuntu and a laptop running 64
bit ubuntu. (both running 14.04) same results.
Even if I'm misusing the API (which is possible, I've never used the
netsnmp python bindings before) I really don't think this should produce
a segfault.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-netsnmp 5.7.2~dfsg-8.1ubuntu3.1
ProcVersionSignature: Ubuntu 3.13.0-74.118-generic 3.13.11-ckt30
Uname: Linux 3.13.0-74-generic i686
NonfreeKernelModules: openafs
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: i386
CurrentDesktop: Unity
Date: Tue Feb 2 18:42:29 2016
SourcePackage: net-snmp
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: net-snmp (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 trusty
** Attachment added: "output from after I initialize a session object"
https://bugs.launchpad.net/bugs/1541152/+attachment/4562607/+files/output.txt
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1541152
Title:
segmentation fault when calling session.get() method
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1541152/+subscriptions
More information about the Ubuntu-server-bugs
mailing list