From owner-freebsd-bugs@freebsd.org Fri Nov 23 09:19:44 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A2FE1140897 for ; Fri, 23 Nov 2018 09:19:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E0C867E993 for ; Fri, 23 Nov 2018 09:19:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A486D1140892; Fri, 23 Nov 2018 09:19:43 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66FBF1140891 for ; Fri, 23 Nov 2018 09:19:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF0C47E989 for ; Fri, 23 Nov 2018 09:19:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EB2EF157E4 for ; Fri, 23 Nov 2018 09:19:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wAN9Jf1G031850 for ; Fri, 23 Nov 2018 09:19:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wAN9JfHn031839 for bugs@FreeBSD.org; Fri, 23 Nov 2018 09:19:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233431] [bsnmpd] regression on 12-STABLE: crash on start Date: Fri, 23 Nov 2018 09:19:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: E0C867E993 X-Spamd-Result: default: False [1.85 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_LONG(0.42)[0.416,0]; NEURAL_SPAM_MEDIUM(0.80)[0.802,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; NEURAL_SPAM_SHORT(0.63)[0.631,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 09:19:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233431 Bug ID: 233431 Summary: [bsnmpd] regression on 12-STABLE: crash on start Product: Base System Version: 12.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: emz@norma.perm.ru bsnmpd crashes right after start, was working on 11.x, regression happened after upgrade to 12.x. 100% reproducible, multiple instances: FreeBSD san01.bsh-ru.playkey.net 12.0-PRERELEASE FreeBSD 12.0-PRERELEASE r340754 GENERIC amd64 FreeBSD san01.boston.playkey.net 12.0-PRERELEASE FreeBSD 12.0-PRERELEASE r340673 GENERIC amd6 Backtrace: # gdb /usr/sbin/bsnmpd bsnmpd.core=20 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `/usr/sbin/bsnmpd -p /var/run/snmpd.pid'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libbegemot.so.4...Reading symbols from /usr/lib/debug//lib/libbegemot.so.4.debug...done. done. Loaded symbols for /lib/libbegemot.so.4 Reading symbols from /usr/lib/libbsnmp.so.6...Reading symbols from /usr/lib/debug//usr/lib/libbsnmp.so.6.debug...done. done. Loaded symbols for /usr/lib/libbsnmp.so.6 Reading symbols from /usr/lib/libwrap.so.6...Reading symbols from /usr/lib/debug//usr/lib/libwrap.so.6.debug...done. done. Loaded symbols for /usr/lib/libwrap.so.6 Reading symbols from /lib/libc.so.7...Reading symbols from /usr/lib/debug//lib/libc.so.7.debug...done. done. Loaded symbols for /lib/libc.so.7 Reading symbols from /lib/libcrypto.so.111...Reading symbols from /usr/lib/debug//lib/libcrypto.so.111.debug...done. done. Loaded symbols for /lib/libcrypto.so.111 Reading symbols from /lib/libthr.so.3...Reading symbols from /usr/lib/debug//lib/libthr.so.3.debug...done. done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /libexec/ld-elf.so.1...Reading symbols from /usr/lib/debug//libexec/ld-elf.so.1.debug...done. done. Loaded symbols for /libexec/ld-elf.so.1 #0 strlen (str=3D0x801062223
) at /usr/src/lib/libc/string/strlen.c:101 101 va =3D (*lp - mask01); [New Thread 8009e5000 (LWP 110269/)] (gdb) bt #0 strlen (str=3D0x801062223
) at /usr/src/lib/libc/string/strlen.c:101 #1 0x00000008003d95a9 in __vfprintf (fp=3D, locale=3D0x80044a4e8, fmt0=3D,=20 ap=3D) at /usr/src/lib/libc/stdio/vfprintf.c:854 #2 0x00000008003d71b4 in vfprintf_l (fp=3D0x80067bec0, locale=3D, fmt0=3D0x80028e62f "%s %d - - ",=20 ap=3D0x7fffffffb5b0) at /usr/src/lib/libc/stdio/vfprintf.c:285 #3 0x00000008003deedb in fprintf (fp=3D0x80067bec0, fmt=3D0x80028e62f "%s = %d - - ") at /usr/src/lib/libc/stdio/fprintf.c:57 #4 0x000000080041e16b in vsyslog (pri=3D, fmt=3D0x200= 963 "error in config file", ap=3D0x7fffffffc510) at /usr/src/lib/libc/gen/syslog.c:210 #5 0x000000080041de8d in syslog (pri=3D, fmt=3D) at /usr/src/lib/libc/gen/syslog.c:129 #6 0x0000000000213bb1 in main (argc=3D0, argv=3D) Current language: auto; currently minimal (gdb) bt full #0 strlen (str=3D0x801062223
) at /usr/src/lib/libc/string/strlen.c:101 p =3D 0x801062223
lp =3D (const long unsigned int *) 0x801062220 va =3D vb =3D #1 0x00000008003d95a9 in __vfprintf (fp=3D, locale=3D0x80044a4e8, fmt0=3D,=20 ap=3D) at /usr/src/lib/libc/stdio/vfprintf.c:854 mbs =3D {__mbstate8 =3D 0x7fffffffb3c0 "\230=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BD\177", _mbstateL =3D 140737488335768} mbseqlen =3D xdigs_lower =3D 0x80029b7e0 "0123456789abcdef0123456789ABCDEF", ' ' , '0' , "=EF=BF=BD=EF=BF=BD\023" xdigs_upper =3D 0x80029b7f0 "0123456789ABCDEF", ' ' , '0' , "=EF=BF=BD=EF=BF=BD\023" expstr =3D 0x7fffffffb3b8 "p" buf =3D 0x7fffffffb300 "" ox =3D 0x7fffffffb258 "" statargtable =3D 0x7fffffffb280 orgap =3D 0x7fffffffb260 fmt =3D nextarg =3D saved_errno =3D 2 ret =3D 0 decimal_point =3D 0x80028c072 "." decpt_len =3D 1 cp =3D 0x801062223
dtoaresult =3D realsz =3D 24 size =3D flags =3D 17179171 ch =3D n =3D dprec =3D Cannot access memory at address 0x0 (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.=