From owner-freebsd-ports-bugs@freebsd.org Thu Jan 28 13:16:43 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A9C1A524FE1 for ; Thu, 28 Jan 2021 13:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DRLbH4CkWz3MGk for ; Thu, 28 Jan 2021 13:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9097F525062; Thu, 28 Jan 2021 13:16:43 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 905D0524EE3 for ; Thu, 28 Jan 2021 13:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DRLbH3b2xz3MgS for ; Thu, 28 Jan 2021 13:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E2297EFC for ; Thu, 28 Jan 2021 13:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 10SDGhMK058641 for ; Thu, 28 Jan 2021 13:16:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10SDGh2o058640 for ports-bugs@FreeBSD.org; Thu, 28 Jan 2021 13:16:43 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: ports-bugs@FreeBSD.org Subject: [Bug 253062] dns/bind916: Hang on service stop in uwait state starting in v9.16.11 Date: Thu, 28 Jan 2021 13:16:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mat@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 13:16:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253062 Bug ID: 253062 Summary: dns/bind916: Hang on service stop in uwait state starting in v9.16.11 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: john@saltant.com Flags: maintainer-feedback?(mat@FreeBSD.org) Assignee: mat@FreeBSD.org Flags: maintainer-feedback? After upgrading from 9.16.10 to 9.16.11, the named service does not stop properly. $ sudo service named stop Stopping named. Waiting for PIDS: %PID% <-- hangs here indefinitely $ procstat %PID% PID PPID PGID SID TSID THR LOGIN WCHAN EMUL COMM %PID% 1 %PID% %PID% 0 26 obrienjw uwait FreeBSD ELF64 named (lldb) bt * thread #1, name =3D 'named' * frame #0: 0x0000000800cc768c libthr.so.3`_umtx_op_err at _umtx_op_err.S= :37 frame #1: 0x0000000800cc3591 libthr.so.3`join_common(pthread=3D0x0000000803585200, thread_return=3D0x0000000000000000, abstime=3D0x0000000000000000, peek=3D) at thr_join.c:147:9 frame #2: 0x000000000050dbef named`isc_thread_join + 31 frame #3: 0x00000000004fb49f named`isc_taskmgr_destroy + 607 frame #4: 0x00000000002dae31 named`main + 5841 frame #5: 0x00000000002d16b0 named`_start + 256 This is reproducible on two different 12.2R machines on which named is configured to act as a resolver. The hang does not occur on two other hosts= on which named is configured to as as authoritative only. On the hosts where t= he hang occurs, the named logs contain lines of the form: Jan 28 08:03:12 hostname named[%PID%]: creating IPv6 interface igb0 failed; interface ignored These errors are absent on the hosts where the hang does not occur. The 9.16.11 changelog includes a number of items related to threads and net= mgr. 5557. [bug] Prevent RBTDB instances from being destroyed by multiple threads at the same time. [GL #2317] 5545. [func] OS support for load-balanced sockets is no longer required to receive incoming queries in multiple ne= tmgr threads. [GL #2137] 5543. [bug] Fix UDP performance issues caused by making netmgr callbacks asynchronous-only. [GL #2320] 5542. [bug] Refactor netmgr. [GL #1920] [GL #2034] [GL #2061] [GL #2194] [GL #2221] [GL #2266] [GL #2283] [GL #23= 18] [GL #2321] --=20 You are receiving this mail because: You are the assignee for the bug.=