netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()

Bug #966039 reported by Ralf Hildebrandt
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

In my daemon.log I'm finding lots of those:

# fgrep -1 netsnmp_assert /var/log/daemon.log
Mar 25 22:10:51 search snmpd[1589]: Connection from UDP: [10.32.32.167]:51129->[10.32.32.146]
Mar 25 22:11:15 search snmpd[1589]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Mar 25 22:11:30 search snmpd[1589]: c64 32 bit check failed
--
Mar 26 09:31:09 search snmpd[1589]: Connection from UDP: [10.32.32.167]:57283->[10.32.32.146]
Mar 26 09:34:08 search snmpd[1589]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Mar 26 09:34:23 search snmpd[1589]: c64 32 bit check failed
--
Mar 26 09:56:10 search snmpd[1589]: Connection from UDP: [10.32.32.167]:44584->[10.32.32.146]
Mar 26 09:58:53 search snmpd[1589]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Mar 26 09:59:08 search snmpd[1589]: c64 32 bit check failed
--
Mar 26 10:01:10 search snmpd[1589]: Connection from UDP: [10.32.32.167]:52062->[10.32.32.146]
Mar 26 10:05:08 search snmpd[1589]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Mar 26 10:05:23 search snmpd[1589]: c64 32 bit check failed
--
Mar 26 22:15:07 search snmpd[1589]: Connection from UDP: [10.47.120.37]:52876->[10.32.32.146]
Mar 26 22:15:46 search snmpd[1589]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Mar 26 22:16:01 search snmpd[1589]: c64 32 bit check failed

Maybe it's related to https://bugzilla.redhat.com/show_bug.cgi?id=539443#c22

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: snmpd 5.4.2.1~dfsg0ubuntu1-0ubuntu2.1
ProcVersionSignature: Ubuntu 2.6.32-39.86-server 2.6.32.56+drm33.22
Uname: Linux 2.6.32-39-server x86_64
Architecture: amd64
Date: Tue Mar 27 11:02:26 2012
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SNMPVersion:
 NET-SNMP version: 5.4.2.1
 Web: http://www.net-snmp.org/
 Email: <email address hidden>
SourcePackage: net-snmp
SyslogSnmptrapd:

mtime.conffile..etc.default.snmpd: 2010-08-30T14:09:03
mtime.conffile..etc.snmp.snmpd.conf: 2010-08-30T14:14:30

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :
James Page (james-page)
Changed in net-snmp (Ubuntu):
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in net-snmp (Ubuntu):
status: New → Confirmed
Revision history for this message
Jacob Smith (jsmith-argotecinc) wrote :

Any chance of a patch to at least quiet this down? Or some additional info we can provide to try to fix the problem??

These are writing to log every 15 seconds:

Dec 25 23:25:27 Condor snmpd[3908]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Dec 25 23:25:42 Condor snmpd[3908]: c64 32 bit check failed
Dec 25 23:25:57 Condor snmpd[3908]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Dec 25 23:26:12 Condor snmpd[3908]: c64 32 bit check failed
Dec 25 23:26:27 Condor snmpd[3908]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Dec 25 23:26:42 Condor snmpd[3908]: c64 32 bit check failed
Dec 25 23:26:57 Condor snmpd[3908]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()
Dec 25 23:27:12 Condor snmpd[3908]: c64 32 bit check failed
Dec 25 23:27:27 Condor snmpd[3908]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update()

Ubuntu 12.04 Precise with all available updates applied running the latest Lucid kernel:
linux-image-2.6.32-45-server 2.6.32-45.101 Linux kernel image for version 2.6.32 on x86_64

snmpd 5.4.3~dfsg-2.4ubuntu1.1 SNMP (Simple Network Management Protocol) agents

tags: added: precise
Revision history for this message
Christian Kujau (christiank) wrote :

FWIW, this had been reported to upstream recently and a fix has been commited to their source tree:

 https://sourceforge.net/p/net-snmp/mailman/message/35585541/
 https://sourceforge.net/p/net-snmp/code/ci/333aea41eb8bcdb9afae6bb89f3581f8e70ee830

There have been no official net-snmp relases since v5.7.3 (Dec 2014), but their commit log suggests that development is still active. So, upgrading to their latest version plus cherry picking the commit above should fix this.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thank you for the report.

I verified that the commit referenced by Christian indeed seems to fix the issue. It has been present since version 5.8 of net-snmp, which is available from Focal onwards. For this reason, I am closing this bug as Fix Released.

Feel free to reopen it if you think this is still an issue, in which case we would kindly request that you provide a reproducer as well.

Thanks.

Changed in net-snmp (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.