[BUG] rb_thread_create_timer_thread: return non-zero (11)


#1

e$B%W%m%;%9?t$r@)8B$7$?>uBV$Ge(B system e$B$r8F$V$He(B [BUG]
e$B$H$J$j$^$9!#e(B

% ./ruby -ve ’
Process.setrlimit(:NPROC, 1)
system(“ls”)

ruby 1.9.2dev (2009-02-06 trunk 22098) [i686-linux]
-e:3: [BUG] rb_thread_create_timer_thread: return non-zero (11)
ruby 1.9.2dev (2009-02-06 trunk 22098) [i686-linux]

– control frame ----------
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :system
c:0003 p:0031 s:0006 b:0006 l:000d14 d:0004c4 EVAL -e:3
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000d14 d:000d14 TOP :17

-e:3:in <main>' -e:3:insystem’

– C level backtrace information

0x813eaae ./ruby(rb_vm_bugreport+0x6c) [0x813eaae]
0x816c4c9 ./ruby [0x816c4c9]
0x816c524 ./ruby(rb_bug+0x36) [0x816c524]
0x813f660 ./ruby [0x813f660]
0x8142280 ./ruby(rb_thread_start_timer_thread+0x15) [0x8142280]
0x80ab486 ./ruby(rb_fork_err+0xc8) [0x80ab486]
0x80abcd5 ./ruby [0x80abcd5]
0x80abd9b ./ruby [0x80abd9b]
0x8134d8c ./ruby [0x8134d8c]
0x8134c03 ./ruby [0x8134c03]
0x81344a7 ./ruby [0x81344a7]
0x8130b51 ./ruby [0x8130b51]
0x813c2b2 ./ruby [0x813c2b2]
0x813c900 ./ruby(rb_iseq_eval_main+0x2b) [0x813c900]
0x805aac2 ./ruby(ruby_exec_node+0x99) [0x805aac2]
0x805ab65 ./ruby(ruby_run_node+0x66) [0x805ab65]
0x8059728 ./ruby(main+0x74) [0x8059728]
0xb7ddfea8 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8)
[0xb7ddfea8]
0x8059631 ./ruby [0x8059631]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html