Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2015 18:34:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 204437] 10.2 STABLE Crashing with IPSec Support
Message-ID:  <bug-204437-2472-wvMPBnVx6e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204437-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204437-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204437

Andrey V. Elsukov <ae@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ae@FreeBSD.org

--- Comment #2 from Andrey V. Elsukov <ae@FreeBSD.org> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204437-2472-wvMPBnVx6e>