[#28687] [Bug #2973] rb_bug - Segmentation fault - error.c:213 — rudolf gavlas <redmine@...>

Bug #2973: rb_bug - Segmentation fault - error.c:213

10 messages 2010/03/16

[#28735] [Bug #2982] Ruby tries to link with both openssl and readline — Lucas Nussbaum <redmine@...>

Bug #2982: Ruby tries to link with both openssl and readline

16 messages 2010/03/18

[#28736] [Bug #2983] Ruby (GPLv2 only) tries to link to with readline (now GPLv3) — Lucas Nussbaum <redmine@...>

Bug #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)

10 messages 2010/03/18

[#28907] [Bug #3000] Open SSL Segfaults — Christian Höltje <redmine@...>

Bug #3000: Open SSL Segfaults

19 messages 2010/03/23

[#28924] [Bug #3005] Ruby core dump - [BUG] rb_sys_fail() - errno == 0 — Sebastian YEPES <redmine@...>

Bug #3005: Ruby core dump - [BUG] rb_sys_fail() - errno == 0

10 messages 2010/03/24

[#28954] [Feature #3010] slow require gems in ruby 1.9.1 — Miao Jiang <redmine@...>

Feature #3010: slow require gems in ruby 1.9.1

15 messages 2010/03/24

[#29179] [Bug #3071] Convert rubygems and rdoc to use psych — Aaron Patterson <redmine@...>

Bug #3071: Convert rubygems and rdoc to use psych

10 messages 2010/03/31

[ruby-core:28535] [Bug #2739] ruby 1.8.7 built with pthreads hangs under some circumstances

From: Lucas Nussbaum <redmine@...>
Date: 2010-03-06 17:25:59 UTC
List: ruby-core #28535
Issue #2739 has been updated by Lucas Nussbaum.


Ruby is compiled with pthreads enabled on Ubuntu (and Debian), so there are several PIDs of interest here.

Backtraces for the parent PID:
#0  0x00007f508e929c73 in select () from /lib/libc.so.6
#1  0x00007f508f6f2893 in rb_thread_schedule ()
   from /usr/lib/libruby1.8.so.1.8
#2  0x00007f508f709a3c in ?? () from /usr/lib/libruby1.8.so.1.8
#3  0x00007f508f70e6d3 in ?? () from /usr/lib/libruby1.8.so.1.8
#4  0x00007f508f6ef6c1 in ?? () from /usr/lib/libruby1.8.so.1.8
#5  0x00007f508f6ef8b3 in ?? () from /usr/lib/libruby1.8.so.1.8
#6  0x00007f508f6f0578 in ?? () from /usr/lib/libruby1.8.so.1.8
#7  0x00007f508f6f0825 in rb_funcall () from /usr/lib/libruby1.8.so.1.8
#8  0x00007f508f6ebd7d in ?? () from /usr/lib/libruby1.8.so.1.8
#9  0x00007f508f6ed9f7 in ?? () from /usr/lib/libruby1.8.so.1.8
#10 0x00007f508f6e9dea in ?? () from /usr/lib/libruby1.8.so.1.8
#11 0x00007f508f6ecb81 in ?? () from /usr/lib/libruby1.8.so.1.8
#12 0x00007f508f6ecc5b in ?? () from /usr/lib/libruby1.8.so.1.8
#13 0x00007f508f6ef573 in ?? () from /usr/lib/libruby1.8.so.1.8
#14 0x00007f508f6ef8b3 in ?? () from /usr/lib/libruby1.8.so.1.8
#15 0x00007f508f6ec721 in ?? () from /usr/lib/libruby1.8.so.1.8
#16 0x00007f508f6ed066 in ?? () from /usr/lib/libruby1.8.so.1.8
#17 0x00007f508f6ea2f6 in ?? () from /usr/lib/libruby1.8.so.1.8
#18 0x00007f508f6fc85b in ?? () from /usr/lib/libruby1.8.so.1.8
#19 0x00007f508f6fc8a5 in ruby_exec () from /usr/lib/libruby1.8.so.1.8
#20 0x00007f508f6fc8d5 in ruby_run () from /usr/lib/libruby1.8.so.1.8
#21 0x0000000000400911 in main ()

Backtrace for the child PID:
#0  0x00007f508f4a2474 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007f508f4a00c1 in pthread_cond_signal@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x00007f508f6e5e8e in rb_thread_stop_timer ()
   from /usr/lib/libruby1.8.so.1.8
#3  0x00007f508e8f5416 in fork () from /lib/libc.so.6
#4  0x00007f508f70cd20 in ?? () from /usr/lib/libruby1.8.so.1.8
#5  0x00007f508f70e691 in ?? () from /usr/lib/libruby1.8.so.1.8
#6  0x00007f508f6ef6c1 in ?? () from /usr/lib/libruby1.8.so.1.8
#7  0x00007f508f6ef8b3 in ?? () from /usr/lib/libruby1.8.so.1.8
#8  0x00007f508f6f0578 in ?? () from /usr/lib/libruby1.8.so.1.8
#9  0x00007f508f6f0825 in rb_funcall () from /usr/lib/libruby1.8.so.1.8
#10 0x00007f508f6ebd7d in ?? () from /usr/lib/libruby1.8.so.1.8
#11 0x00007f508f6ed9f7 in ?? () from /usr/lib/libruby1.8.so.1.8
#12 0x00007f508f6e9dea in ?? () from /usr/lib/libruby1.8.so.1.8
#13 0x00007f508f6ecb81 in ?? () from /usr/lib/libruby1.8.so.1.8
#14 0x00007f508f6ecc5b in ?? () from /usr/lib/libruby1.8.so.1.8
#15 0x00007f508f6ef573 in ?? () from /usr/lib/libruby1.8.so.1.8
#16 0x00007f508f6ef8b3 in ?? () from /usr/lib/libruby1.8.so.1.8
#17 0x00007f508f6ec721 in ?? () from /usr/lib/libruby1.8.so.1.8
#18 0x00007f508f6ed066 in ?? () from /usr/lib/libruby1.8.so.1.8
#19 0x00007f508f6ea2f6 in ?? () from /usr/lib/libruby1.8.so.1.8
#20 0x00007f508f6fc85b in ?? () from /usr/lib/libruby1.8.so.1.8
#21 0x00007f508f6fc8a5 in ruby_exec () from /usr/lib/libruby1.8.so.1.8
#22 0x00007f508f6fc8d5 in ruby_run () from /usr/lib/libruby1.8.so.1.8
#23 0x0000000000400911 in main ()

I could easily provide you with an Ubuntu lucid chroot (as a tarball) so you can reproduce the issue. I'd just need to use the CPU architecture that you use (i386, amd64?)
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2739

----------------------------------------
http://redmine.ruby-lang.org

In This Thread