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

Bug#472500: Bug#472702: ruby1.8: thread implementation has "a couple serious bugs"



Hi,

> I don't know detail of the problem.

Unfortunately neither do I. I was taking Capistrano and the ruby-talk
thread's "word" that there was a problem.

> But Capistrano 2.1 print outs the following message:
> 
>   You are running Ruby 1.8.6, which has a bug in its threading implementation.
>   You are liable to encounter deadlocks running Capistrano, unless you install
>   the fastthread library, which is available as a gem:
> 
> I think that it is a case of "a couple serious bugs".
> (I couldn't find detail of the reason of
> the message from the svn-repo of Capistrano.)
> 
> I tested about this message using unit-tests of Capistrano 2.1.
> 
> When I run the tests with ruby1.8_1.8.6-2,
> the result was the following:
> 
>   $ rake
>   [...]
>   Loaded suite /usr/lib/ruby/1.8/rake/rake_test_loader
>   Started
>   ... [...] ...deadlock 0xb76afb14: sleep:-  - ./test/../lib/capistrano/gateway.rb:57
>   deadlock 0xb7c3a700: sleep:- (main) - ./test/../lib/capistrano/gateway.rb:64
>   ./test/../lib/capistrano/gateway.rb:64:in `wait': Thread(0xb7c3a700): deadlock (fatal)
> 
> And when I run it with ruby1.8_1.8.6.36-1 or ruby1.8_1.8.6.111-2,
> the result was all OK.

So the current version of ruby1.8 looks good. I will close the bug.
Thanks for your time.

Whoever packages Capistrano for Debian should then disable the warning
about fastthread, since it is fixed in ruby1.8.

-- 
Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85  C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: