Subject: pty tests panic netbsd-3 XENU
To: None <port-xen@NetBSD.org>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: port-xen
Date: 04/17/2006 07:48:07
--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I'm running a custom XENU kernel with COMPAT_BSDPTY and the pty
pseudo-device built from netbsd-3 sources dated 20060416.

When I run the python-2.4.3 regression tests, I consistently panic
the kernel with the attached result.  This happens during the "openpty"
test.  You can run the python regression tests without installing the
python package by doing:

	cd pkgsrc/lang/python24 && make test

(this package should have no dependencies on a normal NetBSD system).

	Cheers,

	-- Johnny Lam <jlam@pkgsrc.org>

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=PANIC

panic: lockmgr: using decommissioned lock
Stopped in pid 12193.1 (python) at      netbsd:cpu_Debugger+0x4:        leave
cpu_Debugger(cd763b28,0,cb6dbe60,10002,0) at netbsd:cpu_Debugger+0x4
panic(c03655c0,cb6dbe60,0,c0df7200,cf74bba8) at netbsd:panic+0x121
lockmgr(cd763b98,10002,cd37434c,c0df7200,cf74bbc8) at netbsd:lockmgr+0xdc
layer_lock(cf74bb84,0,0,cd37434c,c03341e0) at netbsd:layer_lock+0x34
VOP_LOCK(cd37434c,10002,cf74bbdc,c029b930,cd37434c) at netbsd:VOP_LOCK+0x28
vn_lock(cd37434c,10002,1,c027ba46,0) at netbsd:vn_lock+0x6e
vrele(cd37434c,1,cf74bc04,cf74bd84,2fa1) at netbsd:vrele+0xaf
pty_grant_slave(cb6dbe60,502,cf74bcac,cf74bd84,4) at netbsd:pty_grant_slave+0xc7

ptmioctl(a501,40287446,cf74bea4,3,cb6dbe60) at netbsd:ptmioctl+0x44
spec_ioctl(cf74bd84,cb6dbe60,0,c0df7200,cf74bd98) at netbsd:spec_ioctl+0x6e
layer_bypass(cf74bd84,cf74bdf8,cf74bdbc,c029b6d0,c0333d20) at netbsd:layer_bypas
s+0x8f
VOP_IOCTL(cee8d208,40287446,cf74bea4,3,ca7a02f4) at netbsd:VOP_IOCTL+0x40
vn_ioctl(ca7b3380,40287446,cf74bea4,cb6dbe60,0) at netbsd:vn_ioctl+0x9e
sys_ioctl(ca7abad4,cf74bf64,cf74bf5c,0,c037f920) at netbsd:sys_ioctl+0x12e
syscall_plain() at netbsd:syscall_plain+0x18f
--- syscall (number 54) ---
0xbda9c94f:
ds          0x11
es          0x11
fs          0x31
gs          0x11
edi         0x1
esi         0x100
ebp         0xcf74badc
ebx         0x1
edx         0xc049e000  linux_sys_tz+0xd7d3c
ecx         0xfffffffe
eax         0xa8c
eip         0xc02f1370  cpu_Debugger+0x4
cs          0x9
eflags      0x202
esp         0xcf74badc
ss          0x11
netbsd:cpu_Debugger+0x4:        leave
Stopped in pid 12193.1 (python) at      netbsd:cpu_Debugger+0x4:        leave
db>

--bp/iNruPH9dso1Pn--