snmpd crashes with segfault (libnetsnmpmibs.so.15.1.2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
Medium
|
Athos Ribeiro | ||
Jammy |
Triaged
|
Medium
|
Athos Ribeiro |
Bug Description
[ Impact ]
snmpd crashes irregularly with segfaults when running an internal _check_
[ Test Plan ]
As shown in the upstream bug at https:/
[ Where problems could occur ]
Apart from the usual concerns on rebuilding the package against new versions of its dependencies, the segfault in question may take days to manifest. Therefore, we may end up applying upstream fixes which do not really fix the exact observed issue. If this is the case, there will be no need to revert changes as long as they will not cause regressions since they are indeed bug fixes, but we may need to re-open this bug and keep chasing the proper fix if this happens.
[ Other Info ]
We are currently relying on WBTMagnum's feedback for this SRU. They have been providing great feedback on this bug for the past 18 months.
[ Original message ]
snmpd crashes with segfault:
Feb 15 19:54:23 linux060 kernel: [622538.454874] snmpd[1958]: segfault at 0 ip 00007f62f56d6167 sp 00007fffafb63060 error 6 in libnetsnmpmibs.
Description: Ubuntu 10.04.2 LTS
Release: 10.04
snmpd:
Installed: 5.4.2.1~
Candidate: 5.4.2.1~
Version table:
*** 5.4.2.1~
500 http://
500 http://
100 /var/lib/
5.
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: snmpd 5.4.2.1~
ProcVersionSign
Uname: Linux 2.6.32-27-server x86_64
Architecture: amd64
Date: Thu Feb 17 11:54:37 2011
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron: SHELL=/bin/bash
SNMPVersion:
NET-SNMP version: 5.4.2.1
Web: http://
Email: <email address hidden>
SourcePackage: net-snmp
SyslogSnmptrapd:
mtime.conffile.
mtime.conffile.
visibility: | private → public |
Changed in net-snmp (Ubuntu): | |
assignee: | Clint Byrum (clint-fewbar) → nobody |
tags: | added: server-todo |
Changed in net-snmp (Ubuntu): | |
status: | Incomplete → Triaged |
importance: | High → Medium |
Changed in net-snmp (Ubuntu): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
Changed in net-snmp (Ubuntu Jammy): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in net-snmp (Ubuntu): | |
status: | Triaged → Fix Released |
status: | Fix Released → Triaged |
description: | updated |
rhhoek I've marked this bug private, as it includes your snmpd community name, which you may not have wanted to be publicly available. If not, then I suggest uploading new versions and redacting the community name before marking the report public again.
I'm also marking this as Confirmed. I've just tested this on a lucid amd64 chroot, and something in your snmpd.conf causes the segfault. I was able to get a core dump by starting the service with your snmpd.conf after setting ulimit -c unlimited
Also setting Importance to high.