Project

General

Profile

Bug #14634 » repro.trace.txt

Reproduction trace - zetaben (Benoit Larroque), 03/26/2018 11:06 PM

 
28363.47288853120600: Starting
28363.47288853719500: Consumer parent thread 47288853719680
28363.47288853120600: Forking
28390.47288853717580: Consumer thread 47288853719680
/versatile/queue2.rb:62: [BUG] pthread_mutex_lock: Invalid argument (EINVAL)
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]

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

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

-- C level backtrace information -------------------------------------------
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(rb_vm_bugreport+0xcf4) [0x560494f97924] vm_dump.c:703
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(rb_bug+0xd0) [0x560494f8b6b0] error.c:565
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(rb_bug_errno+0x3a) [0x560494f8b85a] error.c:594
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(rb_threadptr_interrupt_common.constprop.78+0x5b) [0x560494eaf59b] thread_pthread.c:211
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(rb_queue_push+0xd4) [0x560494eb0134] thread.c:437
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(vm_call_cfunc+0xf0) [0x560494ee85b0] vm_insnhelper.c:1918
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(vm_call_method+0xe3) [0x560494ef7193] vm_insnhelper.c:2381
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(vm_exec_core+0x3599) [0x560494ef1a59] insns.def:915
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(vm_exec+0x87) [0x560494ef5497] vm.c:1778
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(ruby_exec_internal+0xc4) [0x560494d7d754] eval.c:246
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(ruby_run_node+0x2f) [0x560494d81d8f] eval.c:310
/home/zeta/.rbenv/versions/2.5.0/bin/ruby(main+0x4b) [0x560494d7d1fb] ./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/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
5 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
6 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/rbconfig.rb
7 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/compatibility.rb
8 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/defaults.rb
9 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/deprecate.rb
10 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/errors.rb
11 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/version.rb
12 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/requirement.rb
13 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/platform.rb
14 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/basic_specification.rb
15 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/stub_specification.rb
16 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/util/list.rb
17 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/stringio.so
18 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/specification.rb
19 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/exceptions.rb
20 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/dependency.rb
21 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_gem.rb
22 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/monitor.rb
23 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb
24 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems.rb
25 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/path_support.rb
26 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/version.rb
27 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb
28 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/levenshtein.rb
29 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/jaro_winkler.rb
30 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checker.rb
31 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/delegate.rb
32 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
33 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
34 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
35 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
36 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/key_error_checker.rb
37 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/null_checker.rb
38 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/formatters/plain_formatter.rb
39 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean.rb
40 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/timeout.rb

* Process memory map:

560494d59000-560495079000 r-xp 00000000 08:04 2770322 /home/zeta/.rbenv/versions/2.5.0/bin/ruby
560495278000-56049527d000 r--p 0031f000 08:04 2770322 /home/zeta/.rbenv/versions/2.5.0/bin/ruby
56049527d000-56049527e000 rw-p 00324000 08:04 2770322 /home/zeta/.rbenv/versions/2.5.0/bin/ruby
56049527e000-56049528f000 rw-p 00000000 00:00 0
560496925000-560496cc7000 rw-p 00000000 00:00 0 [heap]
560496cc7000-560496d76000 rw-p 00000000 00:00 0 [heap]
7f67c8000000-7f67c8021000 rw-p 00000000 00:00 0
7f67c8021000-7f67cc000000 ---p 00000000 00:00 0
7f67d0000000-7f67d0021000 rw-p 00000000 00:00 0
7f67d0021000-7f67d4000000 ---p 00000000 00:00 0
7f67d4b84000-7f67d5bf4000 r--s 00000000 08:04 2770322 /home/zeta/.rbenv/versions/2.5.0/bin/ruby
7f67d5bf4000-7f67d5c09000 r-xp 00000000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7f67d5c09000-7f67d5e09000 ---p 00015000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7f67d5e09000-7f67d5e0a000 r--p 00015000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7f67d5e0a000-7f67d5e0b000 rw-p 00016000 08:04 6917146 /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_s.so.1
7f67d5e0b000-7f67d600d000 rw-p 00000000 00:00 0
7f67d600d000-7f67d600e000 ---p 00000000 00:00 0
7f67d600e000-7f67d610e000 rw-p 00000000 00:00 0 [stack:28393]
7f67d620f000-7f67d6210000 ---p 00000000 00:00 0
7f67d6210000-7f67d6310000 rw-p 00000000 00:00 0
7f67d6411000-7f67d641a000 r-xp 00000000 08:04 2806896 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/stringio.so
7f67d641a000-7f67d6619000 ---p 00009000 08:04 2806896 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/stringio.so
7f67d6619000-7f67d661a000 r--p 00008000 08:04 2806896 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/stringio.so
7f67d661a000-7f67d661b000 rw-p 00009000 08:04 2806896 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/stringio.so
7f67d661b000-7f67d661d000 r-xp 00000000 08:04 2806977 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7f67d661d000-7f67d681d000 ---p 00002000 08:04 2806977 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7f67d681d000-7f67d681e000 r--p 00002000 08:04 2806977 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7f67d681e000-7f67d681f000 rw-p 00003000 08:04 2806977 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7f67d681f000-7f67d6821000 r-xp 00000000 08:04 2806957 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7f67d6821000-7f67d6a20000 ---p 00002000 08:04 2806957 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7f67d6a20000-7f67d6a21000 r--p 00001000 08:04 2806957 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7f67d6a21000-7f67d6a22000 rw-p 00002000 08:04 2806957 /home/zeta/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7f67d6a22000-7f67d6b23000 rw-p 00000000 00:00 0
7f67d6b23000-7f67d6ccb000 r-xp 00000000 08:04 6747999 /lib64/libc-2.25.so
7f67d6ccb000-7f67d6eca000 ---p 001a8000 08:04 6747999 /lib64/libc-2.25.so
7f67d6eca000-7f67d6ece000 r--p 001a7000 08:04 6747999 /lib64/libc-2.25.so
7f67d6ece000-7f67d6ed0000 rw-p 001ab000 08:04 6747999 /lib64/libc-2.25.so
7f67d6ed0000-7f67d6ed4000 rw-p 00000000 00:00 0
7f67d6ed4000-7f67d6fdc000 r-xp 00000000 08:04 6748887 /lib64/libm-2.25.so
7f67d6fdc000-7f67d71db000 ---p 00108000 08:04 6748887 /lib64/libm-2.25.so
7f67d71db000-7f67d71dc000 r--p 00107000 08:04 6748887 /lib64/libm-2.25.so
7f67d71dc000-7f67d71dd000 rw-p 00108000 08:04 6748887 /lib64/libm-2.25.so
7f67d71dd000-7f67d71e6000 r-xp 00000000 08:04 6748489 /lib64/libcrypt-2.25.so
7f67d71e6000-7f67d73e5000 ---p 00009000 08:04 6748489 /lib64/libcrypt-2.25.so
7f67d73e5000-7f67d73e6000 r--p 00008000 08:04 6748489 /lib64/libcrypt-2.25.so
7f67d73e6000-7f67d73e7000 rw-p 00009000 08:04 6748489 /lib64/libcrypt-2.25.so
7f67d73e7000-7f67d7415000 rw-p 00000000 00:00 0
7f67d7415000-7f67d7418000 r-xp 00000000 08:04 6748925 /lib64/libdl-2.25.so
7f67d7418000-7f67d7617000 ---p 00003000 08:04 6748925 /lib64/libdl-2.25.so
7f67d7617000-7f67d7618000 r--p 00002000 08:04 6748925 /lib64/libdl-2.25.so
7f67d7618000-7f67d7619000 rw-p 00003000 08:04 6748925 /lib64/libdl-2.25.so
7f67d7619000-7f67d7686000 r-xp 00000000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7f67d7686000-7f67d7886000 ---p 0006d000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7f67d7886000-7f67d7887000 r--p 0006d000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7f67d7887000-7f67d7890000 rw-p 0006e000 08:04 1059222 /usr/lib64/libgmp.so.10.1.3
7f67d7890000-7f67d78ab000 r-xp 00000000 08:04 6748427 /lib64/libpthread-2.25.so
7f67d78ab000-7f67d7aaa000 ---p 0001b000 08:04 6748427 /lib64/libpthread-2.25.so
7f67d7aaa000-7f67d7aab000 r--p 0001a000 08:04 6748427 /lib64/libpthread-2.25.so
7f67d7aab000-7f67d7aac000 rw-p 0001b000 08:04 6748427 /lib64/libpthread-2.25.so
7f67d7aac000-7f67d7ab0000 rw-p 00000000 00:00 0
7f67d7ab0000-7f67d7ad3000 r-xp 00000000 08:04 6747998 /lib64/ld-2.25.so
7f67d7b10000-7f67d7ca8000 r--p 00000000 08:04 1444195 /usr/lib64/locale/locale-archive
7f67d7ca8000-7f67d7cad000 rw-p 00000000 00:00 0
7f67d7cc5000-7f67d7ccc000 r--s 00000000 08:04 1444112 /usr/lib64/gconv/gconv-modules.cache
7f67d7ccc000-7f67d7ccd000 ---p 00000000 00:00 0
7f67d7ccd000-7f67d7cd2000 rw-p 00000000 00:00 0 [stack:28392]
7f67d7cd2000-7f67d7cd3000 r--p 00022000 08:04 6747998 /lib64/ld-2.25.so
7f67d7cd3000-7f67d7cd4000 rw-p 00023000 08:04 6747998 /lib64/ld-2.25.so
7f67d7cd4000-7f67d7cd5000 rw-p 00000000 00:00 0
7ffce8036000-7ffce8835000 rw-p 00000000 00:00 0 [stack]
7ffce8916000-7ffce8918000 r--p 00000000 00:00 0 [vvar]
7ffce8918000-7ffce891a000 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

28363.47288853120600: finished parent
(4-4/6)