From: Roger Pack Date: 2009-11-24T06:45:47+09:00 Subject: [ruby-core:26877] [Bug #2394] [BUG] pthread_mutex_lock: 22 revisited Bug #2394: [BUG] pthread_mutex_lock: 22 revisited http://redmine.ruby-lang.org/issues/show/2394 Author: Roger Pack Status: Open, Priority: Normal ruby -v: ruby 1.9.2dev (2009-11-23 trunk 25889) [i686-linux] The following occurs consistently with a mixture of 1.9.x, forkoff gem (pure ruby), and my own code. [BUG] pthread_mutex_lock: 22 ruby 1.9.2dev (2009-07-15 trunk 24111) [i686-linux] -- control frame ---------- --------------------------- -- C level backtrace information ------------------------------------------- /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9(rb_vm_bugreport+0x72) [0xb7f187c2] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9 [0xb7dfd351] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9(rb_bug+0x3a) [0xb7dfd40a] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9(rb_thread_blocking_region+0x1f2) [0xb7f1f352] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9 [0xb7e21d5a] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9 [0xb7e23e3e] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9(rb_io_fptr_finalize+0xe4) [0xb7e24014] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9 [0xb7e12946] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9(rb_gc_call_finalizer_at_exit+0x247) [0xb7e139b7] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9(ruby_cleanup+0x12a) [0xb7e01fca] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9 [0xb7f1e844] /home/rdp/installs/ruby_trunk_installed/lib/libruby.so.1.9 [0xb7f1e8c1] /lib/libpthread.so.0 [0xb7d8cfc0] /lib/libc.so.6(clone+0x5e) [0xb7caba1e] How to reproduce: checkout git://github.com/rdp/p2pwebclient.git [pthread_mutex_lock branch] or download http://wilkboardonline.com/roger/p2pwebclient_pthread_mutex_lock.tgz $ gem install rmagick # a dependency, but never part of the bugs, I don't think--sorry for the dependency http://snippets.dzone.com/posts/show/4140 describes how to install its dependencies on ubuntu $ cd p2pwebclient/src $ ruby singleMultipleGraphs.rb unnamed316651_at1 Enjoy! -r ---------------------------------------- http://redmine.ruby-lang.org