Re: Fatal trap 12: page fault while in kernel mode (subr_turnstile.c:226)

From: Stephan Uphoff <ups_at_tree.com>
Date: Wed, 18 May 2005 21:31:16 -0400
On Wed, 2005-05-18 at 18:20, Jonathan Noack wrote:
> On 05/18/05 17:03, Doug White wrote:
> > On Mon, 16 May 2005, Jonathan Noack wrote:
[...SNIP...]
> >>panic(c06a83b3,c06d27e7,f976c868,1,1) at panic+0x13a
> >>trap_fatal(c06d2aff,c,2,118,4) at trap_fatal+0x255
> >>trap(b23c0008,28,c2ed0028,c29a07c0,c3168900) at trap+0x221
> >>calltrap() at calltrap+0x5
> >>--- trap 0xc, eip = 0xc051c117, esp = 0xf976c8a8, ebp = 0xf976c8cc ---
> >>propagate_priority(c07127c0,8,c06ba676,254,c0717134) at
> >>propagate_priority+0x197
[...SNIP...]
> >>/usr/src/sys/kern/subr_turnstile.c:226
> >>
> >>223:		/*
> >>224:		 * If we aren't blocked on a lock, we should be.
> >>225:		 */
> >>226:		KASSERT(TD_ON_LOCK(td), (
> >>227:		    "thread %d(%s):%d holds %s but isn't blocked on a lock\n",
> >>228:		    td->td_tid, td->td_proc->p_comm, td->td_state,
> >>229:		    ts->ts_lockobj->lo_name));


I just checked in change that should help.
(1.112 src/sys/kern/kern_switch.c)
Thanks for reporting the problem.

Stephan
Received on Wed May 18 2005 - 23:31:20 UTC

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