From owner-freebsd-net@freebsd.org Sun May 27 13:28:23 2018 Return-Path: Delivered-To: freebsd-net@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 BCCC2F73A3E for ; Sun, 27 May 2018 13:28:23 +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 36EC18013B for ; Sun, 27 May 2018 13:28:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E1440F73A3D; Sun, 27 May 2018 13:28:22 +0000 (UTC) Delivered-To: net@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 A4167F73A3C for ; Sun, 27 May 2018 13:28:22 +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.2 with cipher ECDHE-RSA-AES256-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 3F37E80138 for ; Sun, 27 May 2018 13:28:22 +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 99A581015E for ; Sun, 27 May 2018 13:28:21 +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 w4RDSLH5050298 for ; Sun, 27 May 2018 13:28:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4RDSLTG050297 for net@FreeBSD.org; Sun, 27 May 2018 13:28:21 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: net@FreeBSD.org Subject: [Bug 228501] [VIMAGE JAIL] panic: negative refcount 0xfffff8002717643c (when stopping jail) Date: Sun, 27 May 2018 13:28:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marieheleneka@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-net@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 13:28:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228501 --- Comment #8 from Marie Helene Kvello-Aune --- Confirmed: There's no panic when repeatidly starting&stopping the jail w/o = an IP assigned to epair0b. If I assign an IP to epair0b (I did so through the jails rc.conf), start the jail, then stop it; there's an immediate panic: negative refcount. During this test, no network daemons were enabled, sendmail was explicitly disabled, and syslogd were passed the "-ss" flags upon startup. =3D=3D Panic summary =3D=3D panic: negative refcount 0xfffff8001d12803c cpuid =3D 0 time =3D 1527428596 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0077b96= 660 vpanic() at vpanic+0x1a3/frame 0xfffffe0077b966c0 doadump() at doadump/frame 0xfffffe0077b96740 ifa_free() at ifa_free+0x35/frame 0xfffffe0077b96760 in_difaddr_ioctl() at in_difaddr_ioctl+0x460/frame 0xfffffe0077b967c0 in_ifscrub_all() at in_ifscrub_all+0xff/frame 0xfffffe0077b96850 ip_destroy() at ip_destroy+0xbd/frame 0xfffffe0077b96870 vnet_destroy() at vnet_destroy+0x12c/frame 0xfffffe0077b968a0 prison_deref() at prison_deref+0x29d/frame 0xfffffe0077b968e0 taskqueue_run_locked() at taskqueue_run_locked+0x14c/frame 0xfffffe0077b969= 40 taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe0077b96= 970 fork_exit() at fork_exit+0x84/frame 0xfffffe0077b969b0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0077b969b0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic Additional info about jail: # jexec devsamba sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root casperd 28345 7 stream /var/run/casper root syslogd 26069 5 dgram /var/run/log root syslogd 26069 6 dgram /var/run/logpriv --=20 You are receiving this mail because: You are the assignee for the bug.=