Date: Wed, 11 Jan 2017 09:36:51 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215963] panic after restart ppp process in nonzero FIB //locking problem ? Message-ID: <bug-215963-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215963 Bug ID: 215963 Summary: panic after restart ppp process in nonzero FIB //locking problem ? Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: devel@stasyan.com This bug is introduce between March 2015 and November 2016: How to reproduce: setfib 1 ppp -quiet -ddial abcd //everything OK killall -9 ppp setfib 1 ppp -quiet -ddial abcd //kernel panic=20 Here is backtrace: (kgdb) bt #0 doadump (textdump=3D1) at pcpu.h:222 #1 0xffffffff80a3be25 in kern_reboot (howto=3D<value optimized out>) at=20 /var/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff80a3c400 in vpanic (fmt=3D<value optimized out>, ap=3D<value optimized=20 out>) at /var/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff80a3c236 in kassert_panic (fmt=3D<value optimized out>) at=20 /var/src/sys/kern/kern_shutdown.c:649 #4 0xffffffff80a38622 in __rw_rlock (c=3D0xfffff80003dfeaf8, file=3D0xffffffff8141c14a=20 "/var/src/sys/net/route.c", line=3D457) at /var/src/sys/kern/kern_rwlock.c:= 411 #5 0xffffffff80b46e66 in rtalloc1_fib (dst=3D0xfffff800046b78b8, report=3D= 0,=20 ignflags=3D<value optimized out>, fibnum=3D1) at /var/src/sys/net/route.c:4= 57 #6 0xffffffff80b481b3 in ifa_ifwithroute (flags=3D<value optimized out>,=20 dst=3D0xfffff800046b7898, gateway=3D0xfffff800046b78b8, fibnum=3D1) at=20 /var/src/sys/net/route.c:752 #7 0xffffffff80b48be4 in rt_getifa_fib (info=3D0xfffffe00f61bf560, fibnum= =3D1) at=20 /var/src/sys/net/route.c:1298 #8 0xffffffff80b478af in rtrequest1_fib (req=3D<value optimized out>,=20 info=3D0xfffffe00f61bf560, ret_nrt=3D<value optimized out>, fibnum=3DCannot= access=20 memory at address 0x0 ) at /var/src/sys/net/route.c:1843 #9 0xffffffff80b4bc69 in route_output (m=3D<value optimized out>, so=3D<va= lue=20 optimized out>) at /var/src/sys/net/rtsock.c:683 #10 0xffffffff80aca485 in sosend_generic (so=3D<value optimized out>, addr= =3D0x0,=20 uio=3D0xfffffe00f61bf8f0, top=3D<value optimized out>, control=3D<value opt= imized=20 out>,=20 flags=3D<value optimized out>, td=3D<value optimized out>) at=20 /var/src/sys/kern/uipc_socket.c:1359 #11 0xffffffff80aa8542 in soo_write (fp=3D<value optimized out>,=20 uio=3D0xfffffe00f61bf8f0, active_cred=3D<value optimized out>, flags=3D<val= ue optimized=20 out>, td=3D<value optimized out>) at /var/src/sys/kern/sys_socket.c:146 #12 0xffffffff80a9fa44 in dofilewrite (td=3D0xfffff80004e0f000, fd=3D2,=20 fp=3D0xfffff80004763f00, auio=3D0xfffffe00f61bf8f0, offset=3D<value optimiz= ed out>,=20 flags=3D0) at file.h:311 #13 0xffffffff80a9f6e8 in kern_writev (td=3D0xfffff80004e0f000, fd=3D2,=20 auio=3D0xfffffe00f61bf8f0) at /var/src/sys/kern/sys_generic.c:508 #14 0xffffffff80a9f674 in sys_write (td=3D<value optimized out>, uap=3D<val= ue=20 optimized out>) at /var/src/sys/kern/sys_generic.c:421 #15 0xffffffff80ea7b19 in amd64_syscall (td=3D0xfffff80004e0f000, traced=3D= 0) at=20 subr_syscall.c:135 #16 0xffffffff80e86efb in Xfast_syscall () at=20 /var/src/sys/amd64/amd64/exception.S:396 #17 0x0000000801dd9d9a in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal --=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-215963-8>