Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2018 09:34:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230498] Fatal trap 12: page fault while in kernel mode in sysctl_dumpentry from sysctl NET_RT_DUMP
Message-ID:  <bug-230498-227-fZVc1QAYz0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230498-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230498-227@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=3D230498

--- Comment #1 from ian@niw.com.au ---
The point at which it fails appears to be

Line 1559 in /usr/src/sys/net/rtsock.c

info.rti_info[RTAX_IFP] =3D rt->rt_ifp->if_addr->ifa_addr;

At the point where it runs this,=20

(kgdb) print rt->rt_ifp->if_addr
$3 =3D (struct ifaddr *) 0x0

Its trying to access via a NULL pointer.

--=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-230498-227-fZVc1QAYz0>