[Bug 255214] [bsnmpd]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 19 08:59:30 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255214

            Bug ID: 255214
           Summary: [bsnmpd]
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: eugene at zhegan.in

bsnmpd crashes regularily (every 3-5 days).

Env:
FreeBSD gw1.tpark-it 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC  amd64

Also the bsnmp-ucd-0.4.5 in installed, but accoring to the backtrace, the crash
source is inside the main app.

Backtrace:
===Cut===
[root at gw1:/]# lldb --core /bsnmpd.core /usr/sbin/bsnmpd
(lldb) target create "/usr/sbin/bsnmpd" --core "/bsnmpd.core"
Core file '/bsnmpd.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'bsnmpd', stop reason = signal SIGSEGV
  * frame #0: 0x0000000000213a12 bsnmpd`snmp_input_start(buf=<unavailable>,
len=<unavailable>, source="", pdu=0x00007ffffffe2900, ip=0x00007ffffffe28c4,
pdulen=<unavailable>) at main.c:644:40
    frame #1: 0x000000000021498e bsnmpd`snmpd_input(pi=0x0000000801045000,
tport=0x0000000801008c80) at main.c:1071:9
    frame #2: 0x000000080026fa3e
libbegemot.so.4`poll_dispatch(wait=<unavailable>) at rpoll.c:603:6
    frame #3: 0x000000000021593a bsnmpd`main(argc=0, argv=<unavailable>) at
main.c:1747:3
    frame #4: 0x00000000002130b0 bsnmpd`_start(ap=<unavailable>,
cleanup=<unavailable>) at crt1.c:76:7
(lldb) frame select 0
frame #0: 0x0000000000213a12 bsnmpd`snmp_input_start(buf=<unavailable>,
len=<unavailable>, source="", pdu=0x00007ffffffe2900, ip=0x00007ffffffe28c4,
pdulen=<unavailable>) at main.c:644:40
   641                          pdu->engine.engine_boots =
snmpd_engine.engine_boots;
   642                          pdu->engine.engine_time =
snmpd_engine.engine_time;
   643                  }
-> 644          } else if (usm_user->suser.auth_proto != SNMP_AUTH_NOAUTH &&
   645               (pdu->engine.engine_boots == 0 || pdu->engine.engine_time
== 0)) {
   646                  snmpd_usmstats.not_in_time_windows++;
   647                  ret = SNMPD_INPUT_FAILED;
(lldb)
===Cut===

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list