[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] kernel BUG at sched.c:687!
Hi,
I have 4 pthreads with SCHED_RR and different priorities and when a certain
thread is killed due a timeout, I sometimes get
kernel BUG at sched.c:687!
and usually just a Linux crash. This all only happens if many context
switches happen during the killing of that pthread. All threads heavily use
mutexes, semaphores and 1 of them uses poll() to wait for events of a kernel
driver.
Are you sure the microblaze's platform code for context switches is really
OK?
Otherwise I wish we used kernel 2.6.
Once I thought I worked around such scheduler problems by using pthread_join
to catch a dying thread but now I often hit a time frame where that doesn't
help either.
I've played around with some ideas for workaround for the last 5 days but
now I'm stranded again. *sigh*
Cheers
F@lk
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/