Project

General

Profile

Bug #14634 » rev62852.txt

crash report on r62852 - zetaben (Benoit Larroque), 03/27/2018 06:42 AM

 
$ ./tool/runruby.rb /versatile/queue2.rb
2935.47112807908940: Starting
2935.47112809422260: Consumer parent thread 47112809422360
2935.47112807908940: Forking
2940.47112809420520: Consumer thread 47112809422360
/versatile/queue2.rb:62: [BUG] pthread_mutex_lock: Invalid argument (EINVAL)
ruby 2.5.0p43 (2018-03-19 revision 62852) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0003 p:---- s:0014 e:000013 CFUNC :push
c:0002 p:0125 s:0009 E:000848 EVAL /versatile/queue2.rb:62 [FINISH]
c:0001 p:0000 s:0003 E:000cd0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/versatile/queue2.rb:62:in `<main>'
/versatile/queue2.rb:62:in `push'

-- C level backtrace information -------------------------------------------
/home/zeta/oss/ruby/ruby(rb_vm_bugreport+0xcf4) [0x55b29a77cbf4] vm_dump.c:703
/home/zeta/oss/ruby/ruby(rb_bug+0xd0) [0x55b29a770980] error.c:565
/home/zeta/oss/ruby/ruby(rb_bug_errno+0x3a) [0x55b29a770b2a] error.c:594
/home/zeta/oss/ruby/ruby(rb_threadptr_interrupt_common.constprop.79+0x5b) [0x55b29a693fbb] thread_pthread.c:211
/home/zeta/oss/ruby/ruby(rb_queue_push+0xd4) [0x55b29a694b54] thread.c:437
/home/zeta/oss/ruby/ruby(vm_call_cfunc+0xf0) [0x55b29a6cc880] vm_insnhelper.c:1918
/home/zeta/oss/ruby/ruby(vm_call_method+0xe3) [0x55b29a6db7c3] vm_insnhelper.c:2381
/home/zeta/oss/ruby/ruby(vm_exec_core+0x3589) [0x55b29a6d63c9] insns.def:915
/home/zeta/oss/ruby/ruby(vm_exec+0x87) [0x55b29a6d9e07] vm.c:1778
/home/zeta/oss/ruby/ruby(ruby_exec_internal+0xc4) [0x55b29a562774] eval.c:246
/home/zeta/oss/ruby/ruby(ruby_run_node+0x2f) [0x55b29a566daf] eval.c:310
/home/zeta/oss/ruby/ruby(main+0x4b) [0x55b29a56221b] ./include/ruby/intern.h:295

-- Other runtime information -----------------------------------------------

* Loaded script: /versatile/queue2.rb

* Loaded features:

0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/encdb.so
5 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/trans/transdb.so
6 /home/zeta/oss/ruby/rbconfig.rb
7 /home/zeta/oss/ruby/lib/rubygems/compatibility.rb
8 /home/zeta/oss/ruby/lib/rubygems/defaults.rb
9 /home/zeta/oss/ruby/lib/rubygems/deprecate.rb
10 /home/zeta/oss/ruby/lib/rubygems/errors.rb
11 /home/zeta/oss/ruby/lib/rubygems/version.rb
12 /home/zeta/oss/ruby/lib/rubygems/requirement.rb
13 /home/zeta/oss/ruby/lib/rubygems/platform.rb
14 /home/zeta/oss/ruby/lib/rubygems/basic_specification.rb
15 /home/zeta/oss/ruby/lib/rubygems/stub_specification.rb
16 /home/zeta/oss/ruby/lib/rubygems/util/list.rb
17 /home/zeta/oss/ruby/.ext/x86_64-linux/stringio.so
18 /home/zeta/oss/ruby/lib/uri/rfc2396_parser.rb
19 /home/zeta/oss/ruby/lib/uri/rfc3986_parser.rb
20 /home/zeta/oss/ruby/lib/uri/common.rb
21 /home/zeta/oss/ruby/lib/uri/generic.rb
22 /home/zeta/oss/ruby/lib/uri/ftp.rb
23 /home/zeta/oss/ruby/lib/uri/http.rb
24 /home/zeta/oss/ruby/lib/uri/https.rb
25 /home/zeta/oss/ruby/lib/uri/ldap.rb
26 /home/zeta/oss/ruby/lib/uri/ldaps.rb
27 /home/zeta/oss/ruby/lib/uri/mailto.rb
28 /home/zeta/oss/ruby/lib/uri.rb
29 /home/zeta/oss/ruby/lib/rubygems/specification.rb
30 /home/zeta/oss/ruby/lib/rubygems/exceptions.rb
31 /home/zeta/oss/ruby/lib/rubygems/core_ext/kernel_gem.rb
32 /home/zeta/oss/ruby/lib/monitor.rb
33 /home/zeta/oss/ruby/lib/rubygems/core_ext/kernel_require.rb
34 /home/zeta/oss/ruby/lib/rubygems.rb
35 /home/zeta/oss/ruby/lib/rubygems/dependency.rb
36 /home/zeta/oss/ruby/lib/rubygems/path_support.rb
37 /home/zeta/oss/ruby/lib/timeout.rb

* Process memory map:

55b29a53e000-55b29a85e000 r-xp 00000000 08:04 1978683 /home/zeta/oss/ruby/ruby
55b29aa5d000-55b29aa62000 r--p 0031f000 08:04 1978683 /home/zeta/oss/ruby/ruby
55b29aa62000-55b29aa63000 rw-p 00324000 08:04 1978683 /home/zeta/oss/ruby/ruby
55b29aa63000-55b29aa74000 rw-p 00000000 00:00 0
55b29c58b000-55b29c94e000 rw-p 00000000 00:00 0 [heap]
55b29c94e000-55b29ca25000 rw-p 00000000 00:00 0 [heap]
7fbc4c000000-7fbc4c021000 rw-p 00000000 00:00 0
7fbc4c021000-7fbc50000000 ---p 00000000 00:00 0
7fbc54000000-7fbc54021000 rw-p 00000000 00:00 0
7fbc54021000-7fbc58000000 ---p 00000000 00:00 0
7fbc5a4b3000-7fbc5b524000 r--s 00000000 08:04 1978683 /home/zeta/oss/ruby/ruby
7fbc5b524000-7fbc5b539000 r-xp 00000000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7fbc5b539000-7fbc5b739000 ---p 00015000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7fbc5b739000-7fbc5b73a000 r--p 00015000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7fbc5b73a000-7fbc5b73b000 rw-p 00016000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7fbc5b73b000-7fbc5b93d000 rw-p 00000000 00:00 0
7fbc5b93d000-7fbc5b93e000 ---p 00000000 00:00 0
7fbc5b93e000-7fbc5b95e000 rw-p 00000000 00:00 0 [stack:2943]
7fbc5bb60000-7fbc5bb69000 r-xp 00000000 08:04 1978678 /home/zeta/oss/ruby/.ext/x86_64-linux/stringio.so
7fbc5bb69000-7fbc5bd68000 ---p 00009000 08:04 1978678 /home/zeta/oss/ruby/.ext/x86_64-linux/stringio.so
7fbc5bd68000-7fbc5bd69000 r--p 00008000 08:04 1978678 /home/zeta/oss/ruby/.ext/x86_64-linux/stringio.so
7fbc5bd69000-7fbc5bd6a000 rw-p 00009000 08:04 1978678 /home/zeta/oss/ruby/.ext/x86_64-linux/stringio.so
7fbc5bd6a000-7fbc5bd6c000 r-xp 00000000 08:04 2107397 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/trans/transdb.so
7fbc5bd6c000-7fbc5bf6c000 ---p 00002000 08:04 2107397 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/trans/transdb.so
7fbc5bf6c000-7fbc5bf6d000 r--p 00002000 08:04 2107397 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/trans/transdb.so
7fbc5bf6d000-7fbc5bf6e000 rw-p 00003000 08:04 2107397 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/trans/transdb.so
7fbc5bf6e000-7fbc5bf70000 r-xp 00000000 08:04 1978613 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/encdb.so
7fbc5bf70000-7fbc5c16f000 ---p 00002000 08:04 1978613 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/encdb.so
7fbc5c16f000-7fbc5c170000 r--p 00001000 08:04 1978613 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/encdb.so
7fbc5c170000-7fbc5c171000 rw-p 00002000 08:04 1978613 /home/zeta/oss/ruby/.ext/x86_64-linux/enc/encdb.so
7fbc5c171000-7fbc5c272000 rw-p 00000000 00:00 0
7fbc5c272000-7fbc5c41a000 r-xp 00000000 08:04 6747999 /lib64/libc-2.25.so
7fbc5c41a000-7fbc5c619000 ---p 001a8000 08:04 6747999 /lib64/libc-2.25.so
7fbc5c619000-7fbc5c61d000 r--p 001a7000 08:04 6747999 /lib64/libc-2.25.so
7fbc5c61d000-7fbc5c61f000 rw-p 001ab000 08:04 6747999 /lib64/libc-2.25.so
7fbc5c61f000-7fbc5c623000 rw-p 00000000 00:00 0
7fbc5c623000-7fbc5c72b000 r-xp 00000000 08:04 6748887 /lib64/libm-2.25.so
7fbc5c72b000-7fbc5c92a000 ---p 00108000 08:04 6748887 /lib64/libm-2.25.so
7fbc5c92a000-7fbc5c92b000 r--p 00107000 08:04 6748887 /lib64/libm-2.25.so
7fbc5c92b000-7fbc5c92c000 rw-p 00108000 08:04 6748887 /lib64/libm-2.25.so
7fbc5c92c000-7fbc5c935000 r-xp 00000000 08:04 6748489 /lib64/libcrypt-2.25.so
7fbc5c935000-7fbc5cb34000 ---p 00009000 08:04 6748489 /lib64/libcrypt-2.25.so
7fbc5cb34000-7fbc5cb35000 r--p 00008000 08:04 6748489 /lib64/libcrypt-2.25.so
7fbc5cb35000-7fbc5cb36000 rw-p 00009000 08:04 6748489 /lib64/libcrypt-2.25.so
7fbc5cb36000-7fbc5cb64000 rw-p 00000000 00:00 0
7fbc5cb64000-7fbc5cb67000 r-xp 00000000 08:04 6748925 /lib64/libdl-2.25.so
7fbc5cb67000-7fbc5cd66000 ---p 00003000 08:04 6748925 /lib64/libdl-2.25.so
7fbc5cd66000-7fbc5cd67000 r--p 00002000 08:04 6748925 /lib64/libdl-2.25.so
7fbc5cd67000-7fbc5cd68000 rw-p 00003000 08:04 6748925 /lib64/libdl-2.25.so
7fbc5cd68000-7fbc5cdd5000 r-xp 00000000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7fbc5cdd5000-7fbc5cfd5000 ---p 0006d000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7fbc5cfd5000-7fbc5cfd6000 r--p 0006d000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7fbc5cfd6000-7fbc5cfdf000 rw-p 0006e000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7fbc5cfdf000-7fbc5cffa000 r-xp 00000000 08:04 6748427 /lib64/libpthread-2.25.so
7fbc5cffa000-7fbc5d1f9000 ---p 0001b000 08:04 6748427 /lib64/libpthread-2.25.so
7fbc5d1f9000-7fbc5d1fa000 r--p 0001a000 08:04 6748427 /lib64/libpthread-2.25.so
7fbc5d1fa000-7fbc5d1fb000 rw-p 0001b000 08:04 6748427 /lib64/libpthread-2.25.so
7fbc5d1fb000-7fbc5d1ff000 rw-p 00000000 00:00 0
7fbc5d1ff000-7fbc5d222000 r-xp 00000000 08:04 6747998 /lib64/ld-2.25.so
7fbc5d23e000-7fbc5d23f000 ---p 00000000 00:00 0
7fbc5d23f000-7fbc5d25f000 rw-p 00000000 00:00 0
7fbc5d25f000-7fbc5d3f7000 r--p 00000000 08:04 1444195 /usr/lib64/locale/locale-archive
7fbc5d3f7000-7fbc5d3fc000 rw-p 00000000 00:00 0
7fbc5d414000-7fbc5d41b000 r--s 00000000 08:04 1444112 /usr/lib64/gconv/gconv-modules.cache
7fbc5d41b000-7fbc5d41c000 ---p 00000000 00:00 0
7fbc5d41c000-7fbc5d421000 rw-p 00000000 00:00 0 [stack:2942]
7fbc5d421000-7fbc5d422000 r--p 00022000 08:04 6747998 /lib64/ld-2.25.so
7fbc5d422000-7fbc5d423000 rw-p 00023000 08:04 6747998 /lib64/ld-2.25.so
7fbc5d423000-7fbc5d424000 rw-p 00000000 00:00 0
7ffd4baa9000-7ffd4c2a8000 rw-p 00000000 00:00 0 [stack]
7ffd4c2e3000-7ffd4c2e5000 r--p 00000000 00:00 0 [vvar]
7ffd4c2e5000-7ffd4c2e7000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

2935.47112807908940: finished parent

(5-5/6)