[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] pthread_mutex_unlock() on unlocked mutexlock system hard



Hi Yashi,

Yasushi SHOJI wrote:

> well, thread demo works on SUZAKU, too.  it's just unlock() on already
> unlocked mutex kills the system.

The thread demos work for me too - but the results look suspect.  For 
example, the multi-thread one showing threads 0 and 3 running several 
thousand times, but threads 1 & 2 running just a few times.  I would 
expect to see a more even distribution?

>>As for source of problem - by locks hard I assume you mean totally dead 
>>system?  no ping reply, no interrupts, nothing?
> 
> no nothing..  sigh...

A thought - if it's locked up this hard, it must be somewhere in the 
kernel (or indeed my suspect semaphore handling) - otherwise interrupts 
should still be getting through.  I'd get out the xmd/mdm debugger and 
see what's going on.

Cheers,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/