[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67717] [ruby-trunk - Bug #9432] ThreadError [ Attempt to unlock a mutex which is locked by another thread ]

From: aaron@...
Date: 2015-01-21 07:43:33 UTC
List: ruby-core #67717
Issue #9432 has been updated by Aaron Stone.


The error also shows up here: https://github.com/iconara/cql-rb/issues/68

This is not an issue with the applications or the gems, or that eventmachine is written in C++. It's an MRI Ruby problem in the 2.0 implementation of Queue.pop, which is different than the 1.9.3 implementation that does not have this problem.

Ruby 2.0 is a widely deployed and supported version.
I'd really appreciate if someone upstream would take this bug report seriously.

----------------------------------------
Bug #9432:  ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
https://bugs.ruby-lang.org/issues/9432#change-51147

* Author: rajesh shanmugam
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 2.0.0
* Backport: 
----------------------------------------
I use ruby-2.0.0-p247. I seem to get this issue frequently in threaded environment. (Sidekiq) 

I am not very sure if it a ruby thread issue as such or something I am doing wrong. If there is any more details you need I would be happy to provide you.

Operating system: Ubuntu

Trace

```
/home/ubuntu/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:188:in `synchronize'
/home/ubuntu/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:188:in `block in pop'
/home/ubuntu/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:187:in `handle_interrupt'
/home/ubuntu/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/thread.rb:187:in `pop'
```

Regards
Rajesh



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next