pcm & exclusive sleep mutex with Oct19 CURRENT

Kris Kennaway kris at obsecurity.org
Mon Oct 20 10:37:15 PDT 2003


On Mon, Oct 20, 2003 at 07:15:19PM +0200, Paolo Pisati wrote:
> 
> from my dmesg:
> [snip]
> pcm0: <ESS Technology Allegro-1> port 0xb800-0xb8ff irq 5 at device 1.0 on pci2
> pcm0: failed to enable memory mapping!
> pcm0: <ESS Technology ES1988 AC97 Codec>
> malloc() of "64" with the following non-sleepable locks held:
> exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc2d34540) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322

Unfortunately none of the sound developers have been interested in
looking at the locking problems in the code.

> 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:
> 
> with no backtrace at all.

FWIW, the backtrace would have been reported on the system console.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031020/1d4841c3/attachment.bin


More information about the freebsd-current mailing list