From owner-freebsd-current@FreeBSD.ORG Sat Sep 6 01:43:26 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 792B016A4BF for ; Sat, 6 Sep 2003 01:43:26 -0700 (PDT) Received: from metafocus.net (cbshost-12-155-142-123.sbcox.net [12.155.142.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB2C43FB1 for ; Sat, 6 Sep 2003 01:43:25 -0700 (PDT) (envelope-from mudman@metafocus.net) Received: from metafocus.net (localhost [127.0.0.1]) by metafocus.net (8.12.9/8.12.9) with ESMTP id h868mbke003535 for ; Sat, 6 Sep 2003 01:48:37 -0700 (PDT) (envelope-from mudman@metafocus.net) Received: from localhost (mudman@localhost) by metafocus.net (8.12.9/8.12.9/Submit) with ESMTP id h868madU003532 for ; Sat, 6 Sep 2003 01:48:37 -0700 (PDT) Date: Sat, 6 Sep 2003 01:48:36 -0700 (PDT) From: Dave To: freebsd-current@freebsd.org Message-ID: <20030906014720.Q3531@metafocus.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: sound lock X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 08:43:26 -0000 I got this when I exited XFree86.... Reproduceable? Not always... acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/sound.c:195 2nd pcm0:play:0 @ /usr/src/sys/dev/sound/pcm/sound.c:195 Stack backtrace: backtrace(c05a25b4,c44a2a54,c059025d,c3,246) at backtrace+0x17 witness_lock(c44d4a40,8,c059025d,c3,c44d4bc0) at witness_lock+0x672 _mtx_lock_flags(c44d4a40,0,c059025d,c3,3) at _mtx_lock_flags+0xba pcm_chnalloc(c44d6600,1,d3c,ffffffff,8) at pcm_chnalloc+0x56 dsp_open(c065e5f0,7,2000,c4a43ab0,c03e8fe2) at dsp_open+0x19f spec_open(dd8ada50,dd8adb0c,c03f0e73,dd8ada50,0) at spec_open+0x2ab spec_vnoperate(dd8ada50,0,c066b140,180,c4a43ab0) at spec_vnoperate+0x18 vn_open_cred(dd8adbc0,dd8adcc0,0,c4bffb00,a) at vn_open_cred+0x3f3 vn_open(dd8adbc0,dd8adcc0,0,a,c061862c) at vn_open+0x30 kern_open(c4a43ab0,c450c800,1,7,0) at kern_open+0x140 linux_open(c4a43ab0,dd8add10,c05ba3a0,3eb,3) at linux_open+0x110 syscall(2f,2f,2f,2874af73,802) at syscall+0x273 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (5), eip = 0x288476b4, esp = 0xbfbfe8e8, ebp = 0xbfbfe918 ---