| "make update-download -j16" exit with 0. |
| "make update-src -j16" exit with 0. |
| From https://github.com/ruby/ruby |
| 41b427a..a68331e master -> origin/master |
| "make after-update -j16" exit with 0. |
| "make miniruby -j16" exit with 0. |
| "make ruby -j16" exit with 0. |
| "make all -j16" exit with 0. |
| "make install -j16" exit with 0. |
| "make yes-btest TESTOPTS='-q -j16'" exit with 512. |
| $$$ #<Timeout::Error: execution expired> |
| ### enter analyzing mode for stuck processes |
| $$$ ps jx |
| PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND |
| 1 1035 1035 1035 ? -1 Ss 1000 0:05 SCREEN -d -m dash -c cd build-ruby; BUILD_RUBY_WORKING_DIR=/tmp/ruby sh build-loop.sh trunk_asan --incremental |
| 1035 1041 1041 1041 pts/0 1041 Ss+ 1000 0:00 dash -c cd build-ruby; BUILD_RUBY_WORKING_DIR=/tmp/ruby sh build-loop.sh trunk_asan --incremental |
| 1041 1042 1041 1041 pts/0 1041 S+ 1000 0:01 sh build-loop.sh trunk_asan --incremental |
| 1042 667502 1041 1041 pts/0 1041 Sl+ 1000 0:00 ruby ./br.rb build_report trunk_asan --incremental |
| 667502 667505 1041 1041 pts/0 1041 S+ 1000 0:00 sh -c ruby /home/ko1/build-ruby/build-ruby.rb --target_name=trunk_asan --logfile=/home/ko1/ruby/logs/brlog.trunk_asan.20240820-180909 --root_dir=/tmp/ruby --timeout=600 --no-timeout-error --configure_opts="'CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0'" --incremental |
| 667505 667506 1041 1041 pts/0 1041 Sl+ 1000 0:00 ruby /home/ko1/build-ruby/build-ruby.rb --target_name=trunk_asan --logfile=/home/ko1/ruby/logs/brlog.trunk_asan.20240820-180909 --root_dir=/tmp/ruby --timeout=600 --no-timeout-error --configure_opts='CC=clang-17' 'cflags=-fsanitize=address -fno-omit-frame-pointer -DUSE_MN_THREADS=0' --incremental |
| 667506 668440 1041 1041 pts/0 1041 S+ 1000 0:00 sh -c make yes-btest TESTOPTS='-q -j16' |
| 668440 668441 1041 1041 pts/0 1041 S+ 1000 0:00 make yes-btest TESTOPTS=-q -j16 |
| 668441 668456 1041 1041 pts/0 1041 Sl+ 1000 0:03 /usr/bin/ruby --disable=gems /tmp/ruby/src/trunk_asan/bootstraptest/runner.rb --ruby=./miniruby -I/tmp/ruby/src/trunk_asan/lib -I. -I.ext/common -r./x86_64-linux-fake --disable-gems -q -j16 |
| 1 677843 1041 1041 pts/0 1041 Sl+ 1000 0:00 /tmp/ruby/build/trunk_asan/miniruby -I/tmp/ruby/src/trunk_asan/lib -I/tmp/ruby/build/trunk_asan -I/tmp/ruby/build/trunk_asan/.ext/common -r/tmp/ruby/build/trunk_asan/x86_64-linux-fake --disable-gems -W0 bootstraptest.test_fork.rb_12_284.rb |
| 667506 709236 1041 1041 pts/0 1041 R+ 1000 0:00 ps jx |
| {1=>[1035, 677843], 1035=>[1041], 1041=>[1042], 1042=>[667502], 667502=>[667505], 667505=>[667506], 667506=>[668440, 709236], 668440=>[668441], 668441=>[668456]} |
| $ timeout 60 gdb -p 668456 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| [New LWP 668478] |
| [New LWP 668462] |
| [Thread debugging using libthread_db enabled] |
| Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". |
| 0x0000725a2f91ba00 in __GI_ppoll (fds=0x7fff34c825a8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 |
| >>> Threads |
| Id Target Id Frame |
| * 1 Thread 0x725a2ffea740 (LWP 668456) "ruby" 0x0000725a2f91ba00 in __GI_ppoll (fds=0x7fff34c825a8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 |
| 2 Thread 0x725a20a006c0 (LWP 668478) "runner.rb:533" 0x0000725a2f91b4cd in __GI___poll (fds=0x725a208ff180, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 |
| 3 Thread 0x725a292006c0 (LWP 668462) "runner.rb:322" 0x0000725a2f898d61 in __futex_abstimed_wait_common64 (private=29274, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5fda0a8ca028) at ./nptl/futex-internal.c:57 |
| >>> Machine level backtrace |
| Thread 3 (Thread 0x725a292006c0 (LWP 668462) "runner.rb:322"): |
| #0 0x0000725a2f898d61 in __futex_abstimed_wait_common64 (private=29274, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5fda0a8ca028) at ./nptl/futex-internal.c:57 |
| sc_cancel_oldtype = 0 |
| sc_ret = <optimized out> |
| resultvar = <optimized out> |
| __arg6 = <optimized out> |
| __arg5 = <optimized out> |
| __arg4 = <optimized out> |
| __arg3 = <optimized out> |
| __arg2 = <optimized out> |
| __arg1 = <optimized out> |
| _a6 = <optimized out> |
| _a5 = <optimized out> |
| _a4 = <optimized out> |
| _a3 = <optimized out> |
| _a2 = <optimized out> |
| _a1 = <optimized out> |
| #1 __futex_abstimed_wait_common (cancel=true, private=29274, abstime=0x0, clockid=0, expected=0, futex_word=0x5fda0a8ca028) at ./nptl/futex-internal.c:87 |
| err = <optimized out> |
| clockbit = 256 |
| op = 393 |
| err = <optimized out> |
| clockbit = <optimized out> |
| op = <optimized out> |
| #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5fda0a8ca028, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 |
| No locals. |
| #3 0x0000725a2f89b7dd in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5fda0a930600, cond=0x5fda0a8ca000) at ./nptl/pthread_cond_wait.c:503 |
| spin = 0 |
| buffer = {__routine = 0x725a2f89b4a0 <__condvar_cleanup_waiting>, __arg = 0x725a290ff370, __canceltype = 740772542, __prev = 0x0} |
| cbuffer = {wseq = 436, cond = 0x5fda0a8ca000, mutex = 0x5fda0a930600, private = 0} |
| err = <optimized out> |
| g = 0 |
| flags = <optimized out> |
| g1_start = <optimized out> |
| maxspin = 0 |
| signals = <optimized out> |
| result = 0 |
| wseq = 436 |
| seq = 218 |
| private = 0 |
| maxspin = <optimized out> |
| err = <optimized out> |
| result = <optimized out> |
| wseq = <optimized out> |
| g = <optimized out> |
| seq = <optimized out> |
| flags = <optimized out> |
| private = <optimized out> |
| signals = <optimized out> |
| done = <optimized out> |
| g1_start = <optimized out> |
| spin = <optimized out> |
| buffer = <optimized out> |
| cbuffer = <optimized out> |
| s = <optimized out> |
| #4 ___pthread_cond_wait (cond=0x5fda0a8ca000, mutex=0x5fda0a930600) at ./nptl/pthread_cond_wait.c:627 |
| No locals. |
| #5 0x0000725a2fe0fced in rb_native_cond_wait () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #6 0x0000725a2fe1189c in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #7 0x0000725a2fe11992 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #8 0x0000725a2fe1679c in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #9 0x0000725a2fcb7440 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #10 0x0000725a2fe0bf21 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #11 0x0000725a2fe0bfcb in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #12 0x0000725a2fe4d8f0 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #13 0x0000725a2fe500ff in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #14 0x0000725a2fe531c2 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #15 0x0000725a2fe57b3a in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #16 0x0000725a2fe5c7ae in rb_vm_invoke_proc () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #17 0x0000725a2fe14a6f in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #18 0x0000725a2fe14f61 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #19 0x0000725a2fe15836 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #20 0x0000725a2f89ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447 |
| ret = <optimized out> |
| pd = <optimized out> |
| out = <optimized out> |
| unwind_buf = {cancel_jmp_buf = {{jmp_buf = {125731562587840, 903212767959933317, 125731562587840, -136, 22, 140734078915952, 903212767938961797, 903207117142581637}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} |
| not_first_call = <optimized out> |
| #21 0x0000725a2f929c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| No locals. |
| Thread 2 (Thread 0x725a20a006c0 (LWP 668478) "runner.rb:533"): |
| #0 0x0000725a2f91b4cd in __GI___poll (fds=0x725a208ff180, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 |
| sc_ret = -516 |
| sc_cancel_oldtype = 0 |
| sc_ret = <optimized out> |
| #1 0x0000725a2fce763f in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #2 0x0000725a2fce85d9 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #3 0x0000725a2fe14563 in rb_thread_io_blocking_region () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #4 0x0000725a2fce89be in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #5 0x0000725a2fcedbf9 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #6 0x0000725a2fcb7440 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #7 0x0000725a2fce90f0 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #8 0x0000725a2fced0f0 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #9 0x0000725a2fcf0626 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #10 0x0000725a2fe4d8f0 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #11 0x0000725a2fe500ff in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #12 0x0000725a2fe531c2 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #13 0x0000725a2fe57b3a in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #14 0x0000725a2fe5c7ae in rb_vm_invoke_proc () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #15 0x0000725a2fe14a6f in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #16 0x0000725a2fe14f61 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #17 0x0000725a2fe15836 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #18 0x0000725a2f89ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447 |
| ret = <optimized out> |
| pd = <optimized out> |
| out = <optimized out> |
| unwind_buf = {cancel_jmp_buf = {{jmp_buf = {125731419981504, 903191877239005573, 125731419981504, -136, 25, 125731460870688, 903191877218034053, 903207117142581637}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} |
| not_first_call = <optimized out> |
| #19 0x0000725a2f929c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 |
| No locals. |
| Thread 1 (Thread 0x725a2ffea740 (LWP 668456) "ruby"): |
| #0 0x0000725a2f91ba00 in __GI_ppoll (fds=0x7fff34c825a8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 |
| sc_ret = -514 |
| sc_cancel_oldtype = 0 |
| sc_ret = <optimized out> |
| tval = {tv_sec = 140734078920304, tv_nsec = 125731675894041} |
| #1 0x0000725a2fe109e9 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #2 0x0000725a2fe11aa1 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #3 0x0000725a2fe142c2 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #4 0x0000725a2fe15a65 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #5 0x0000725a2fcb7440 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #6 0x0000725a2fe10eab in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #7 0x0000725a2fe53428 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #8 0x0000725a2fe57b3a in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #9 0x0000725a2fe5c287 in rb_yield () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #10 0x0000725a2fcb7440 in rb_ensure () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #11 0x0000725a2fc952a6 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #12 0x0000725a2fe4d8f0 in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #13 0x0000725a2fe500ff in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #14 0x0000725a2fe545dc in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #15 0x0000725a2fe57b3a in rb_vm_exec () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #16 0x0000725a2fcb4e5c in ?? () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #17 0x0000725a2fcb9193 in ruby_run_node () from /lib/x86_64-linux-gnu/libruby-3.2.so.3.2 |
| No symbol table info available. |
| #18 0x00005fda08f70187 in ?? () |
| No symbol table info available. |
| #19 0x0000725a2f82a1ca in __libc_start_call_main (main=main@entry=0x5fda08f70120, argc=argc@entry=6, argv=argv@entry=0x7fff34c83478) at ../sysdeps/nptl/libc_start_call_main.h:58 |
| self = <optimized out> |
| result = <optimized out> |
| unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140734078923896, 1712177741188129157, 6, 0, 105390057925952, 125731678240768, 1712177741173449093, 903207023514706309}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x6, 0x7fff34c83470}, data = {prev = 0x0, cleanup = 0x0, canceltype = 6}}} |
| not_first_call = <optimized out> |
| #20 0x0000725a2f82a28b in __libc_start_main_impl (main=0x5fda08f70120, argc=6, argv=0x7fff34c83478, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff34c83468) at ../csu/libc-start.c:360 |
| No locals. |
| #21 0x00005fda08f701d5 in _start () |
| No symbol table info available. |
| >>> Dump Ruby level backtrace (if possible) |
| [Inferior 1 (process 668456) detached] |
| $ timeout 60 gdb -p 668441 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| make: *** [uncommon.mk:897: yes-btest] Killed |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| #<Errno::ESRCH: No such process> |
| $ timeout 60 gdb -p 668440 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| Could not attach to process. If your uid matches the uid of the target |
| process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try |
| again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| $ timeout 60 gdb -p 709236 -x /home/ko1/build-ruby/gdbscript -batch -quiet 2> /dev/null |
| >>> Threads |
| No threads. |
| >>> Machine level backtrace |
| >>> Dump Ruby level backtrace (if possible) |
| #<Errno::ESRCH: No such process> |
| "make yes-test-basic TESTS='-j16'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j16'" exit with 512. |
| /tmp/ruby/src/trunk_asan/lib/delegate.rb:61:in 'Module#const_get': uninitialized constant Remover (NameError) |
| /tmp/ruby/src/trunk_asan/lib/delegate.rb:61:in 'Delegator.const_missing' |
| /tmp/ruby/src/trunk_asan/tool/lib/leakchecker.rb:146:in 'LeakChecker#extend_tempfile_counter' |
| /tmp/ruby/src/trunk_asan/tool/lib/leakchecker.rb:153:in 'LeakChecker#find_tempfiles' |
| /tmp/ruby/src/trunk_asan/tool/lib/leakchecker.rb:8:in 'LeakChecker#initialize' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1651:in 'Class#new' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1651:in 'Test::Unit::Runner#_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit.rb:1361:in 'Test::Unit::ExcludesOption#_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:52:in 'Test::Unit::Worker#_run_suite' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:24:in 'block in Test::Unit::Worker#_run_suites' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23:in 'Array#map' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:23:in 'Test::Unit::Worker#_run_suites' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:122:in 'Test::Unit::Worker#run' |
| /tmp/ruby/src/trunk_asan/tool/lib/test/unit/parallel.rb:220:in '<main>' |
| running file: /tmp/ruby/src/trunk_asan/test/ripper/test_files_test_1.rb |
| A test worker crashed. It might be an interpreter bug or |
| a bug in test/unit/parallel.rb. Try again without the -j |
| option. |
| make: *** [uncommon.mk:964: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j16'" exit with 0. |