[Bug 230498] Fatal trap 12: page fault while in kernel mode in sysctl_dumpentry from sysctl NET_RT_DUMP

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 10 09:34:43 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230498

--- Comment #1 from ian at 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] = rt->rt_ifp->if_addr->ifa_addr;

At the point where it runs this, 

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

Its trying to access via a NULL pointer.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list