From owner-freebsd-net@freebsd.org Thu Nov 12 18:34:22 2015 Return-Path: Delivered-To: freebsd-net@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 09BE9A2DE8F for ; Thu, 12 Nov 2015 18:34: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 mx1.freebsd.org (Postfix) with ESMTPS id E9A771D8A for ; Thu, 12 Nov 2015 18:34:21 +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 tACIYLlG055680 for ; Thu, 12 Nov 2015 18:34:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204437] 10.2 STABLE Crashing with IPSec Support Date: Thu, 12 Nov 2015 18:34:22 +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: 10.2-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: cc 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 18:34:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204437 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #2 from Andrey V. Elsukov --- (In reply to Cassiano Peixoto from comment #0) > Fatal trap 12: page fault while in kernel mode > cpuid =3D 4; apic id =3D 32 > fault virtual address =3D 0x0 > fault code =3D supervisor read data, page not present > instruction pointer =3D 0x20:0xffffffff80ac9cbe ... > #6 0xffffffff80d2e8c2 at calltrap+0x8 > #7 0xffffffff80acaa7a at ipsec4_in_reject+0x2a > #8 0xffffffff80a73b3b at tcp_input+0x89b > #9 0xffffffff80a0484b at ip_input+0xab ... > (kgdb) list *0xffffffff80ac9cbe > 0xffffffff80ac9cbe is in ipsec_getpolicybysock > (/usr/src/sys/netipsec/ipsec.c:502). > 497 IPSEC_ASSERT(inp !=3D NULL, ("null inp")); > 498 IPSEC_ASSERT(inp->inp_sp !=3D NULL, ("null inp_sp")); > 499 IPSEC_ASSERT(inp->inp_sp->sp_out !=3D NULL && inp->inp_sp->sp_in != =3D NULL, > 500 ("null sp_in || sp_out")); > 501=09 > 502 error =3D ipsec_setspidx(m, &inp->inp_sp->sp_in->spidx, 1); It looks like inp->inp_sp is NULL here. Can you show output of following commands: (kgdb) f 7 (kgdb) p *inp --=20 You are receiving this mail because: You are the assignee for the bug.=