Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 08:59:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255214] [bsnmpd]
Message-ID:  <bug-255214-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255214

            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@FreeBSD.org
          Reporter: eugene@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 c=
rash
source is inside the main app.

Backtrace:
=3D=3D=3DCut=3D=3D=3D
[root@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 =3D 'bsnmpd', stop reason =3D signal SIGSEGV
  * frame #0: 0x0000000000213a12 bsnmpd`snmp_input_start(buf=3D<unavailable=
>,
len=3D<unavailable>, source=3D"", pdu=3D0x00007ffffffe2900, ip=3D0x00007fff=
fffe28c4,
pdulen=3D<unavailable>) at main.c:644:40
    frame #1: 0x000000000021498e bsnmpd`snmpd_input(pi=3D0x0000000801045000,
tport=3D0x0000000801008c80) at main.c:1071:9
    frame #2: 0x000000080026fa3e
libbegemot.so.4`poll_dispatch(wait=3D<unavailable>) at rpoll.c:603:6
    frame #3: 0x000000000021593a bsnmpd`main(argc=3D0, argv=3D<unavailable>=
) at
main.c:1747:3
    frame #4: 0x00000000002130b0 bsnmpd`_start(ap=3D<unavailable>,
cleanup=3D<unavailable>) at crt1.c:76:7
(lldb) frame select 0
frame #0: 0x0000000000213a12 bsnmpd`snmp_input_start(buf=3D<unavailable>,
len=3D<unavailable>, source=3D"", pdu=3D0x00007ffffffe2900, ip=3D0x00007fff=
fffe28c4,
pdulen=3D<unavailable>) at main.c:644:40
   641                          pdu->engine.engine_boots =3D
snmpd_engine.engine_boots;
   642                          pdu->engine.engine_time =3D
snmpd_engine.engine_time;
   643                  }
-> 644          } else if (usm_user->suser.auth_proto !=3D SNMP_AUTH_NOAUTH=
 &&
   645               (pdu->engine.engine_boots =3D=3D 0 || pdu->engine.engi=
ne_time
=3D=3D 0)) {
   646                  snmpd_usmstats.not_in_time_windows++;
   647                  ret =3D SNMPD_INPUT_FAILED;
(lldb)
=3D=3D=3DCut=3D=3D=3D

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255214-227>