Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "ro->_ro_rt ==NULL || ro->_ro_rt->rt_refcnt > 0" failed



On Fri, 28 Aug 2015, Paul Goyette wrote:

On Fri, 28 Aug 2015, Jun Ebihara wrote:

On: i386 kernel from nyftp.
7.99.21 NetBSD 7.99.21 (GENERIC.201508271450Z) #0: Thu Aug 27 17:23:37 UTC 2015 builds%b47.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201508271450Z-obj/home/source/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386

sometimes panic around route.h.

savecore: reboot after panic: panic: kernel diagnostic assertion "ro->_ro_rt ==NULL || ro->_ro_rt->rt_refcnt > 0" failed: file "/home/source/ab/HEAD/src/sys/net/route.h", line 433


I had one of these crashes yesterday. It happened when I was stopping a pkgsrc/net/openvpn tunnel via "/etc/rc.d/openvpn onestop"


I don't bring my tunnel up very often, so I'm not sure if it is reproducible...

I don't know if this is the same crash as yesterday, but I just got another one!

I started openvpn, then stopped it. No crash. so I repeated this a couple more times. Still no crash.

Then I brought the tunnel up, and did a 'ping6 ftp.netbsd.org' and it crashed almost immediately.

Here's my backtrace:

(gdb) target kvm netbsd.0.core
0xffffffff802f5ae5 in cpu_reboot ()
(gdb) bt
#0  0xffffffff802f5ae5 in cpu_reboot ()
#1  0xffffffff803742d4 in vpanic ()
#2  0xffffffff80467583 in kern_assert ()
#3  0xffffffff8033a0e3 in rtfree ()
#4  0xffffffff8033a5fd in rtcache_clear ()
#5  0xffffffff8033a681 in rtcache_free ()
#6  0xffffffff8020a65a in in6_pcbdetach ()
#7  0xffffffff80332ccc in rip6_detach_wrapper ()
#8  0xffffffff803cea10 in soclose ()
#9  0xffffffff803860a1 in soo_close ()
#10 0xffffffff802b0de4 in closef ()
#11 0xffffffff802b39e3 in fd_free ()
#12 0xffffffff802badd5 in exit1 ()
#13 0xffffffff802db146 in sigexit ()
#14 0xffffffff802db46b in postsig ()
#15 0xffffffff802c4999 in lwp_userret ()
#16 0xffffffff803866b4 in syscall ()
#17 0xffffffff80100691 in Xsyscall ()
(gdb)


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index