From: Graham Agnew Date: 2009-04-01T01:52:08+09:00 Subject: [ruby-core:23082] [Bug #1341] pthread_cond_timedwait failing in 1.9.1-p0 thread tests Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests http://redmine.ruby-lang.org/issues/show/1341 Author: Graham Agnew Status: Open, Priority: Normal Category: core, Target version: 1.9.1 ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [ia64-hpux11.23] I have been trying to compile and test 1.9.1-p0 on HP-UX 11i v2. When running the tests, the threads tests crash with the following bug: > [BUG] pthread_cond_timedwait: 22 > ruby 1.9.1p0 (2009-01-30 revision 21907) [ia64-hpux11.23] > > -- control frame ---------- > --------------------------- > -- Ruby level backtrace information----------------------------------------- > > [NOTE] > You may encounter a bug of Ruby interpreter. Bug reports are welcome. > For details: http://www.ruby-lang.org/bugreport.html The errno 22 means EINVAL. I put some print statements into the thread_pthread.c file to work out what was going on and it looks like there's a condition variable that is being initialised twice. ---------------------------------------- http://redmine.ruby-lang.org