[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46232: netbsd-6 pad(4) panic: locking against myself
The following reply was made to PR kern/46232; it has been noted by GNATS.
From: matthew green <mrg%eterna.com.au@localhost>
Subject: Re: kern/46232: netbsd-6 pad(4) panic: locking against myself
Date: Mon, 26 Mar 2012 17:21:47 +1100
this bug is most certainly not related to prior bugs or crashes in
pad itself, but is an audiomp issue.
looking at the code is fairly obvious. pad_read() takes the lock
thread lock, does a bunch of processing, and then right before it
calls into the audio interrupt it takes the intr lock. then we
traverse down audio_pint()->audio_clear(), and audio clear expects
to need to take the intr_lock here.
there's a bunch of bad uses of audio_clear() in audio.c.
Main Index |
Thread Index |