Project

General

Profile

Actions

Bug #2394

closed

[BUG] pthread_mutex_lock: 22 revisited

Added by rogerdpack (Roger Pack) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-11-23 trunk 25889) [i686-linux]
Backport:
[ruby-core:26877]

Description

=begin
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
=end


Related issues 2 (0 open2 closed)

Related to Backport191 - Backport #2654: segfault on self thread joinClosedyugui (Yuki Sonoda)Actions
Related to Backport191 - Backport #2399: pthread_mutex_lock: 22Closedyugui (Yuki Sonoda)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0