trap 12 with preempt (and ule)

From: Randy Bush <randy_at_psg.com>
Date: Mon, 18 Oct 2004 23:44:57 -0700
this was not happening with no preempt

randy

---

kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x14c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc04f84ff
stack pointer           = 0x10:0xd67b9b90
frame pointer           = 0x10:0xd67b9b9c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 430 (asterisk)
[thread 100111]
Stopped at      runq_remove+0x33:       movl    %eax,0x4(%esi)
db> trace
runq_remove(0,c1e09490,d67b9bd4,c1e094e0,c1e09340) at runq_remove+0x33
sched_prio(c1e09340,68,246,c17d3200,d67b9c24) at sched_prio+0x5d
propagate_priority(c1e094e0,c1e09340,c0508db3,498f486d,246) at propagate_priority+0x6d
turnstile_wait(c17d326c,c1e09340,c1e094e0,c17d3200,0) at turnstile_wait+0x32f
_mtx_lock_sleep(c17d326c,c1e094e0,0,0,0) at _mtx_lock_sleep+0xb5
sleepq_calc_signal_retval(0,0,c06351cb,100,c17d3200) at sleepq_calc_signal_retval+0x5a
msleep(c1567ac0,c17d326c,168,c06351cb,64) at msleep+0x3ca
kse_release(c1e094e0,d67b9d14,4,c04caa97,0) at kse_release+0x298
syscall(80c002f,2f,80c002f,80cb000,0) at syscall+0x2f8
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (383, FreeBSD ELF32, kse_release), eip = 0x2815af1b, esp = 0x80cff88, ebp = 0x80cffc4 ---
Received on Tue Oct 19 2004 - 04:44:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC