Crash in stable 363430 and higher
peter.blok at bsd4all.org
peter.blok at bsd4all.org
Sun Jul 26 17:21:37 UTC 2020
Hi,
I’m getting the following crash during startup. It seems strongswan is setting a reqid.
Commit r363430 is on if_bridge. The IPSec interfaces are not bridged at all, so I’m clueless to why this crash relates to this commit. The only commonality is that the crash is Epoch related and the commit as well.
(kgdb) list
418 * Propagate our priority to any other waiters to prevent us
419 * from starving them. They will have their original priority
420 * restore on exit from epoch_wait().
421 */
422 curwaittd = tdwait->et_td;
423 if (!TD_IS_INHIBITED(curwaittd) && curwaittd->td_priority > td->td_priority) {
424 critical_enter();
425 thread_unlock(td);
426 thread_lock(curwaittd);
427 sched_prio(curwaittd, td->td_priority);
(kgdb) p/x tdwait
$3 = 0xfffffe0075dca778
(kgdb) p/x tdwait->et_td
$4 = 0x806
(kgdb) bt
#0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
#1 doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:371
#2 0xffffffff8064d335 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:451
#3 0xffffffff8064d773 in vpanic (fmt=<optimized out>, ap=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:880
#4 0xffffffff8064d593 in panic (fmt=<unavailable>) at /usr/src/sys/kern/kern_shutdown.c:807
#5 0xffffffff809cc3d1 in trap_fatal (frame=0xfffffe00c8a0e6f0, eva=3094) at /usr/src/sys/amd64/amd64/trap.c:925
#6 0xffffffff809cc42f in trap_pfault (frame=0xfffffe00c8a0e6f0, usermode=<optimized out>, signo=<optimized out>, ucode=<optimized out>) at /usr/src/sys/amd64/amd64/trap.c:743
#7 0xffffffff809cba76 in trap (frame=0xfffffe00c8a0e6f0) at /usr/src/sys/amd64/amd64/trap.c:407
#8 <signal handler called>
#9 epoch_block_handler_preempt (global=<optimized out>, cr=<optimized out>, arg=<optimized out>) at /usr/src/sys/kern/subr_epoch.c:423
#10 0xffffffff803677fd in epoch_block (global=0xfffff800020be600, cr=0xfffffe0075db9a00, cb=0xffffffff80692320 <epoch_block_handler_preempt>, ct=0x0) at /usr/src/sys/contrib/ck/src/ck_epoch.c:416
#11 ck_epoch_synchronize_wait (global=0xfffff800020be600, cb=<optimized out>, ct=<optimized out>) at /usr/src/sys/contrib/ck/src/ck_epoch.c:465
#12 0xffffffff806921da in epoch_wait_preempt (epoch=0xfffff800020be600) at /usr/src/sys/kern/subr_epoch.c:513
#13 0xffffffff80761687 in ipsec_set_reqid (sc=0xfffff8004261e200, reqid=103) at /usr/src/sys/net/if_ipsec.c:964
#14 ipsec_ioctl (ifp=<optimized out>, cmd=<optimized out>, data=<optimized out>) at /usr/src/sys/net/if_ipsec.c:764
#15 0xffffffff807527ef in ifioctl (so=0xfffff8011d766000, cmd=2149607841, data=0xfffffe00c8a0ea10 "btcd", td=<optimized out>) at /usr/src/sys/net/if.c:3147
#16 0xffffffff806b5f47 in fo_ioctl (fp=0xfffff800194846e0, com=2149607841, data=0x0, active_cred=0x0, td=0xfffff80122379740) at /usr/src/sys/sys/file.h:337
#17 kern_ioctl (td=0xffffffff80692320 <epoch_block_handler_preempt>, fd=<optimized out>, com=2149607841, data=0x0) at /usr/src/sys/kern/sys_generic.c:805
#18 0xffffffff806b5bea in sys_ioctl (td=0xfffff80122379740, uap=0xfffff80122379b00) at /usr/src/sys/kern/sys_generic.c:713
#19 0xffffffff809ccf87 in syscallenter (td=0xfffff80122379740) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:144
#20 amd64_syscall (td=0xfffff80122379740, traced=0) at /usr/src/sys/amd64/amd64/trap.c:1167
#21 <signal handler called>
#22 0x000000080044e0da in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffffffe1a8
Any pointers?
More information about the freebsd-stable
mailing list