Subject: kern/36046: newlock panic
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <cherry.g.mathew@NetBSD.org>
List: netbsd-bugs
Date: 03/19/2007 18:10:00
>Number:         36046
>Category:       kern
>Synopsis:       newlock panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 19 18:10:00 +0000 2007
>Originator:     Cherry G. Mathew
>Release:        -current ( see dmesg snippet below)
>Organization:
TNF
>Environment:
NetBSD maverick 4.99.15 NetBSD 4.99.15 (GENERIC.AVERATEC) #11: Sun Mar 18 01:36:39 GMT 2007  cherry@maverick:/home/cherry/builds/build-i386/obj/home/cherry/source/src/sys/arch/i386/compile/GENERIC.AVERATEC i386
>Description:
mutex_enter with held simple_lock: 0xcbeea9c4 CPU 0 i386/sys_machdep.c:296
uvm_fault (0xccdedbd4,0,1)->0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 371.1 (mplayer) at netbsd:db_read_bytes+0x30: movl 0 (%esi), %eax

db> bt

dbread_bytes(88,4,cce759f4, c045f085,e759f8) at netbsd:db_read_bytes+0x30
db_get_value(88, 4, 0, 78657475, 746e655f) at netbsd:db_get_value+0x27
db_stack_trace_print(cce75ae0, 1, ffff, c096ca28, c045ed00) at netbsd:db_statck_trace_print+0x3e3
simple_lock_only_held(0,c0942091,0,c0416905,0) at netbsd:simple_lock_only_held+0x111
mutex_vector_enter(c0a6ea90,200,cce75bac,c05266dc,c09ee134) at netbsd:mutx_vector_enter+0x3f1
gdt_get_slot(c099ee134,3,1000,c0e8b9a0,c2238eb0) at netbsd:gdt_get_slot+0x13
ldt_alloc(cbeea9c4,cc980000,1000,1,0) at netbsd:ldt_alloc+0x33b
syscall_plain() at netbsd:syscall_plain + 0x169
syscall(number 165) ---
0xbb46aee3





Copyright (c) 1996, 1997, 1998,
 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.15 (GENERIC.AVERATEC) #11: Sun Mar 18 01:36:39 GMT 2007
        cherry@maverick:/home/cherry/builds/build-i386/obj/home/cherry/source/sr
c/sys/arch/i386/compile/GENERIC.AVERATEC


>How-To-Repeat:
run mplayer with specific mp3 files ( reproducible with the same file )
>Fix: