From owner-freebsd-bugs@freebsd.org Sat May 13 07:50:14 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F084D6B2F0 for ; Sat, 13 May 2017 07:50:14 +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 mx1.freebsd.org (Postfix) with ESMTPS id 1E6AAE03 for ; Sat, 13 May 2017 07:50:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4D7oDMW032728 for ; Sat, 13 May 2017 07:50:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 219251] [Panic] [VIMAGE] [pf] panic when creating/destroying multiple vnet jails Date: Sat, 13 May 2017 07:50:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: reshadpatuck1@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 attachments.created 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-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2017 07:50:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219251 Bug ID: 219251 Summary: [Panic] [VIMAGE] [pf] panic when creating/destroying multiple vnet jails Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: reshadpatuck1@gmail.com Created attachment 182558 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182558&action= =3Dedit core.txt file for the panic While trying a workaround for bug #219250 - [Panic] [VIMAGE] panic: in6_ifattach_linklocal (assigning ipv6 addresses in vnet jail) I disabled ipv6 in the jails. Now, while ruining the same tests to create and destroy 20 vnet jails with = pf and netgraph I get this panic (pf_state_expires). I have attached the core.txt for the panic to this post. The issue seems to be during cleaning up existing pf states. Pleas let me know if there is any other information you require. Thanks --- (kgdb) backtrace #0 __curthread () at ./machine/pcpu.h:232 #1 doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:318 #2 0xffffffff803a308b in db_dump (dummy=3D, dummy2=3D, dummy3=3D, dummy4=3D) at /usr/src/sys/ddb/db_command.c:546 #3 0xffffffff803a2e7f in db_command (last_cmdp=3D, cmd_table=3D, dopager=3D) at /usr/src/sys/ddb/db_command.c:453 #4 0xffffffff803a2bb4 in db_command_loop () at /usr/src/sys/ddb/db_command.c:506 #5 0xffffffff803a5c7f in db_trap (type=3D, code=3D) at /usr/src/sys/ddb/db_main.c:248 #6 0xffffffff80a95673 in kdb_trap (type=3D9, code=3D0, tf=3D) at /usr/src/sys/kern/subr_kdb.c:654 #7 0xffffffff80ef15b2 in trap_fatal (frame=3D0xfffffe10433a17f0, eva=3D0) = at /usr/src/sys/amd64/amd64/trap.c:796 #8 0xffffffff80ef0bbd in trap (frame=3D0xfffffe10433a17f0) at /usr/src/sys/amd64/amd64/trap.c:197 #9 #10 counter_u64_fetch_inline (p=3D) at ./machine/counter.h:57 #11 counter_u64_fetch (c=3D0xdeadc0dedeadc0de) at /usr/src/sys/kern/subr_counter.c:55 #12 0xffffffff82666c8f in pf_state_expires (state=3D0xfffff80570246cb8) at /usr/src/sys/netpfil/pf/pf.c:1529 #13 0xffffffff82666618 in pf_purge_expired_states (i=3D5026, maxcheck=3D) at /usr/src/sys/netpfil/pf/pf.c:1689 #14 0xffffffff82666469 in pf_purge_thread (unused=3D) at /usr/src/sys/netpfil/pf/pf.c:1451 #15 0xffffffff80a147d4 in fork_exit (callout=3D0xffffffff82666320 , arg=3D0x0, frame=3D0xfffffe10433a19c0) at /usr/src/sys/kern/kern_fork.c:1038 #16 --- --=20 You are receiving this mail because: You are the assignee for the bug.=