Bug #1848
closedPanic when starting IPSec
0%
Description
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm running v2.7.3.1089.gd2d11-DEVELOPMENT, this kernel Panic when I start IPSec
with or without rules in ipsec.conf.
The Backtrace is as follow :
(kgdb) bt
#0 _get_mycpu (di=0xc06e4ca0) at ./machine/thread.h:83
#1 md_dumpsys (di=0xc06e4ca0) at /usr/src/sys/platform/pc32/i386/dump_machdep.c:263
#2 0xc030e935 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:880
#3 0xc030eea4 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:387
#4 0xc030f024 in panic (fmt=0xc05af226 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:786
#5 0xc017cac9 in db_panic (addr=-1068158408, have_addr=0, count=-1, modif=0xc86f3bac "") at /usr/src/sys/ddb/db_command.c:448
#6 0xc017d13e in db_command () at /usr/src/sys/ddb/db_command.c:344
#7 db_command_loop () at /usr/src/sys/ddb/db_command.c:470
#8 0xc017f748 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:71
#9 0xc0553394 in kdb_trap (type=3, code=0, regs=0xc86f3ca8) at /usr/src/sys/platform/pc32/i386/db_interface.c:152
#10 0xc0564ef0 in trap (frame=0xc86f3ca8) at /usr/src/sys/platform/pc32/i386/trap.c:823
#11 0xc0554727 in calltrap () at /usr/src/sys/platform/pc32/i386/exception.s:785
#12 0xc0553238 in breakpoint (msg=0xc05c6e56 "panic") at ./cpu/cpufunc.h:73
#13 Debugger (msg=0xc05c6e56 "panic") at /usr/src/sys/platform/pc32/i386/db_interface.c:334
#14 0xc030f01b in panic (fmt=0xc05ab9fb "assertion: %s in %s") at /usr/src/sys/kern/kern_shutdown.c:784
#15 0xc034619d in sofree (so=0xcf6c5d00) at /usr/src/sys/kern/uipc_socket.c:347
#16 0xc03939a3 in raw_detach (rp=0xcf129e60) at /usr/src/sys/net/raw_cb.c:101
#17 0xc0393ed9 in raw_udetach (msg=0xcd550be4) at /usr/src/sys/net/raw_usrreq.c:216
#18 0xc0414f27 in key_detach (msg=0xcd550be4) at /usr/src/sys/netproto/key/keysock.c:503
#19 0xc039264d in netmsg_service_loop (arg=0x0) at /usr/src/sys/net/netisr.c:284
#20 0xc0316e53 in lwkt_deschedule_self (td=Cannot access memory at address 0x8
) at /usr/src/sys/kern/lwkt_thread.c:281
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(kgdb) f 15
#15 0xc034619d in sofree (so=0xcf6c5d00) at /usr/src/sys/kern/uipc_socket.c:347
warning: Source file is more recent than executable.
347 KKASSERT);
(kgdb) f 16
#16 0xc03939a3 in raw_detach (rp=0xcf129e60) at /usr/src/sys/net/raw_cb.c:101
101 sofree(so); /* remove pcb ref */
(kgdb) f 17
#17 0xc0393ed9 in raw_udetach (msg=0xcd550be4) at /usr/src/sys/net/raw_usrreq.c:216
216 raw_detach(rp);
(kgdb) f 18
#18 0xc0414f27 in key_detach (msg=0xcd550be4) at /usr/src/sys/netproto/key/keysock.c:503
503 raw_usrreqs.pru_detach(msg);
(kgdb) f 19
#19 0xc039264d in netmsg_service_loop (arg=0x0) at /usr/src/sys/net/netisr.c:284
284 msg->nm_dispatch((netmsg_t)msg);
(kgdb) f 20
#20 0xc0316e53 in lwkt_deschedule_self (td=Cannot access memory at address 0x8
) at /usr/src/sys/kern/lwkt_thread.c:281
281 }
David BERARD
- ---------------------------------------
NFrance Conseil, Toulouse, France
david(at)nfrance.com
GPG|PGP KeyId 0x7FC68EB8
GPG|PGP Key http://tinyurl.com/gpgdavid
- ---------------------------------------
- No electrons were harmed in *
- the transmission of this email *
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAkybD7kACgkQYIAREn/GjrjR7QCfXZJDWPSxrODecRBkf6u7GAv8
l3MAnjOPyDK64B4kRPRylLqyHlazBwZP
=SISN
-----END PGP SIGNATURE-----
Updated by alexh about 14 years ago
Can someone with better understanding of the new networking code take a look at
this? We can't release without a working ipsec imo...
Cheers,
Alex Hornung
Updated by alexh about 14 years ago
Seems we released anyways. So can someone with an understanding of the recent
networking changes please take a look at this?
Updated by tuxillo about 11 years ago
- Status changed from New to Feedback
c2a4b3e7855a8c84fabf4094721c01e3c570ef27 - ipsec - Add missing reference when so_pcb is attached.
David, can you please check it now?
Updated by liweitianux over 5 years ago
- Status changed from Feedback to Resolved