kern/69356: LOR in rtsock.c/route.c

Maxim Maximov mcsi at
Tue Jul 20 12:20:09 PDT 2004

>Number:         69356
>Category:       kern
>Synopsis:       LOR in rtsock.c/route.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 20 19:20:08 GMT 2004
>Originator:     Maxim Maximov
>Release:        FreeBSD 5.2-CURRENT i386
System: FreeBSD ultra.domain 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Wed Jul 21 01:52:10 MSD 2004 root@:/usr/obj/usr/src/sys/ULTRA i386


Jul 20 23:02:29 ultra ppp[53786]: tun1: Error: ipcp_InterfaceUp: unable to set ip address
lock order reversal
 1st 0xc2c4c260 rtentry (rtentry) @ /usr/src/sys/net/rtsock.c:422
 2nd 0xc1d4447c radix node head (radix node head) @ /usr/src/sys/net/route.c:142
KDB: stack backtrace:
kdb_backtrace(c08ef690,c1d4447c,c08ef1fc,c08ef1fc,c08f58ac) at kdb_backtrace+0x2e
witness_checkorder(c1d4447c,9,c08f58ac,8e,c391d478) at witness_checkorder+0x672
_mtx_lock_flags(c1d4447c,0,c08f58ac,8e,c09e3c20) at _mtx_lock_flags+0x80
rtalloc1(c391d478,0,0,c08f59bc,d91d0b5c) at rtalloc1+0x79
ifa_ifwithroute(801,c391d45c,c391d478,c2c4c260,c1d44400) at ifa_ifwithroute+0x7e
rt_getifa(d91d0b5c,1,c08f59bc,1a7,0) at rt_getifa+0xca
route_output(c1e9f800,c219262c,c1e9f800,a0,1f60) at route_output+0x6b3
raw_usend(c219262c,0,c1e9f800,0,0) at raw_usend+0x73
rts_send(c219262c,0,c1e9f800,0,0) at rts_send+0x35
sosend(c219262c,0,d91d0c80,c1e9f800,0) at sosend+0x66d
soo_write(c33dd880,d91d0c80,c3441700,0,c1af2c60) at soo_write+0x87
dofilewrite(c1af2c60,c33dd880,2,bfbfd900,a0) at dofilewrite+0xcb
write(c1af2c60,d91d0d14,c,431,3) at write+0x6e
syscall(2f,2f,2f,2,2) at syscall+0x2a0
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (4, FreeBSD ELF32, write), eip = 0x2828a51f, esp = 0xbfbfd8bc, ebp = 0xbfbfd8e8 ---

	I'm not sure, but I think I started another ppp when there was already one running (it was shutting down).



More information about the freebsd-bugs mailing list