Subject: Re: kern/34895: panic: sched_lock: locked
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: SODA Noriyuki <soda@sra.co.jp>
List: netbsd-bugs
Date: 10/24/2006 10:15:04
The following reply was made to PR kern/34895; it has been noted by GNATS.

From: SODA Noriyuki <soda@sra.co.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/34895: panic: sched_lock: locked
Date: Tue, 24 Oct 2006 19:11:08 +0900

 >>> How-To-Repeat:
 
 >> not known.
 
 > It seems a SIGWINCH signal on a ssh session somtimes can trigger this
 > symptom.
 
 It happened with a SIGTSTP signal on a ssh session too, as follows:
 
 sched_lock lock held
 
 lock heldlock: 0xffffffff804e1f20, currently at: /chroots/4.0/usr/src/sys/kern/subr_pool.c:933
 last locked: /chroots/4.0/usr/src/sys/kern/kern_sig.c:1169
 last unlocked: /chroots/4.0/usr/src/sys/kern/kern_synch.c:757
 fatal page faultsched_lock lock held
 
 lock heldlock: 0xffffffff804e1f20, currently at: /chroots/4.0/usr/src/sys/kern/kern_synch.c:753
 last locked: /chroots/4.0/usr/src/sys/kern/kern_sig.c:1169
 last unlocked: /chroots/4.0/usr/src/sys/kern/kern_synch.c:757
 ?() at 0xffff80001bbefd80
 ?() at 0xffff80001bbf0d30
 panic: sched_lock: locked
 Begin traceback...
 timer_filtops() at netbsd:_prop_rb_tree_insert_node+0x3b847
 End traceback...
 syncing disks... 
 simple_lock: lock held
 lock: 0xffffffff804e1f20, currently at: /chroots/4.0/usr/src/sys/kern/kern_synch.c:1228
 last locked: /chroots/4.0/usr/src/sys/kern/kern_sig.c:1169
 last unlocked: /chroots/4.0/usr/src/sys/kern/kern_synch.c:757
 fatal page fault in supervisor mode
 trap type 6 code 0 rip ffffffff802d46ab cs 8 rflags 10246 cr2  c cpl d rsp ffff8000479fb120
 panic: trap
 Begin traceback...
 fatal page fault in supervisor mode
 trap type 6 code 0 rip ffffffff802d46ab cs 8 rflags 10246 cr2  0 cpl d rsp ffff8000479facf0
 panic: trap
 Faulted in mid-traceback; aborting...
 dump to dev 19,1 not possible
 sched_lock lock held
 
 lock heldlock: 0xffffffff804e1f20, currently at: /chroots/4.0/usr/src/sys/kern/kern_synch.c:753
 last locked: /chroots/4.0/usr/src/sys/kern/kern_sig.c:1169
 last unlocked: /chroots/4.0/usr/src/sys/kern/kern_synch.c:757
 ?() at 0xffff80001badd760
 panic: sched_lock: locked
 Faulted in mid-traceback; aborting...
 dump to dev 19,1 not possible
 rebooting...
 -- 
 soda