Bugs item #8663, was opened at 2007-02-14 17:25
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=8663&group_id=426

Category: Core
Group: 1.8.x
Status: Open
Resolution: None
Priority: 3
Submitted By: MenTaL guY (mental)
Assigned to: Nobody (None)
Summary: fastthread: rb_bug() due to stale wait queue entries

Initial Comment:
When a thread waiting in a fastthread wait queue is woken abnormally (e.g. due to an interrupt), its wait queue entry will get left behind.  This may result in an rb_bug() if the wait queue is subsequently freed.

The attached patch fixes this problem by forcing the waking thread to remove itself from the wait queue if it is still present.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=8663&group_id=426