[haiku-gsoc] Re: [HCD]: Bfs bug #1

  • From: "Rene Gollent" <anevilyak@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Sat, 21 Jun 2008 14:06:27 -0500

On Sat, Jun 21, 2008 at 2:01 PM, Rene Gollent <anevilyak@xxxxxxxxx> wrote:
> On Sat, Jun 21, 2008 at 1:15 PM, Salvatore Benedetto <emitrax@xxxxxxxxx> 
> wrote:
>> One question though, is it possible to see who is holding a semaphore?
>> That is, not who created it,
>> but who is holding it, because I haven't understand if the attached
>> screenshot shows a deadlock or not.
>>
>
> From that screenshot it looks like the scsi bus service forgot to
> release it somewhere..you'll notice thread 33 is in the waiting queue,
> and the sem was also last acquired and released by 33. Which implies
> that 33 tried to acquire it several times in a row without releasing
> it.
>

Incidentally, that thread appears to belong to the SCSI bus manager if
that helps at all, it's created in
src/add-ons/kernel/bus_managers/scsi/busses.c.

Regards,

Rene

Other related posts: