|
$ env RUBY_DEBUG_LOG=stderr RUBY_DEBUG=gc_stress ./miniruby -v
|
|
RUBY_DEBUG_LOG=stderr [stderr]
|
|
0: thread_sched_setup_running_threads +:0 -:0 +ts:0 -ts:0 thread_pthread.c:573 nt:1
|
|
1: ractor_sched_lock_ cr:1 thread_pthread.c:577 nt:1
|
|
2: ractor_sched_unlock_ cr:1 thread_pthread.c:629 nt:1
|
|
3: thread_sched_setup_running_threads run:0->1 thread_pthread.c:648 nt:1
|
|
4: th_init th:1 vm.c:3629 nt:1
|
|
5: rb_ractor_set_current_ec_ ec:0x0000000000000000->0x000055a5d91d93b0 vm.c:4260 nt:1 th:1 (rth:-1,sth:1)
|
|
6: vm_lock_enter start locked:0 gc.c:2852 nt:1 th:1
|
|
7: vm_lock_enter rec:1 owner:1 gc.c:2852 nt:1 th:1
|
|
8: gc_enter continue (N) gc.c:9265 nt:1 th:1
|
|
9: gc_exit continue (N) gc.c:9278 nt:1 th:1
|
|
10: heap_add_freepage page:0x000055a5d91da110 freelist:0x00007f8a23b2ff70 gc.c:2023 nt:1 th:1
|
|
11: heap_next_free_page page:0x000055a5d91da110 freelist:0x00007f8a23b2ff70 cnt:818 gc.c:2748 nt:1 th:1
|
|
12: vm_lock_leave rec:1 owner:1 (leave) gc.c:2873 nt:1 th:1
|
|
13: gc_enter start (N) gc.c:9265 nt:1 th:1
|
|
14: gc_sweep_step sweep_page:0x000055a5d91da110 gc.c:5668 nt:1 th:1
|
|
[BUG] inconsistent freelist length: expected 817 but was 0
|
|
ruby 3.4.0dev (2024-04-09T16:29:01Z master 0107954f25) [x86_64-linux]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0001 p:---- s:0003 e:000002 DUMMY [FINISH]
|
|
|
|
|
|
-- Threading information ---------------------------------------------------
|
|
Total ractor count: 0
|
|
Ruby thread count for this ractor: 0
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
/home/debian/ruby/miniruby(rb_print_backtrace+0x14) [0x55a5d710c7f3] /home/debian/ruby/vm_dump.c:820
|
|
/home/debian/ruby/miniruby(rb_vm_bugreport) /home/debian/ruby/vm_dump.c:1151
|
|
/home/debian/ruby/miniruby(bug_report_end+0x0) [0x55a5d6edc432] /home/debian/ruby/error.c:1064
|
|
/home/debian/ruby/miniruby(rb_bug_without_die) /home/debian/ruby/error.c:1064
|
|
/home/debian/ruby/miniruby(die+0x0) [0x55a5d6e0be81] /home/debian/ruby/error.c:1072
|
|
/home/debian/ruby/miniruby(rb_bug) /home/debian/ruby/error.c:1074
|
|
/home/debian/ruby/miniruby(heap_page_add_freeobj+0x0) [0x55a5d6e0d208] /home/debian/ruby/gc.c:5435
|
|
/home/debian/ruby/miniruby(gc_sweep_plane) /home/debian/ruby/gc.c:5333
|
|
/home/debian/ruby/miniruby(gc_sweep_page) /home/debian/ruby/gc.c:5387
|
|
/home/debian/ruby/miniruby(gc_sweep_step+0x112) [0x55a5d6f06322] /home/debian/ruby/gc.c:5676
|
|
/home/debian/ruby/miniruby(gc_sweep_rest+0x1e) [0x55a5d6f08296] /home/debian/ruby/gc.c:5733
|
|
/home/debian/ruby/miniruby(gc_sweep) /home/debian/ruby/gc.c:5891
|
|
/home/debian/ruby/miniruby(gc_start+0xe93) [0x55a5d6f0dcd3] /home/debian/ruby/gc.c:9073
|
|
/home/debian/ruby/miniruby(rb_multi_ractor_p+0x0) [0x55a5d6f0f1a9] /home/debian/ruby/gc.c:8953
|
|
/home/debian/ruby/miniruby(rb_vm_lock_leave) ./vm_sync.h:92
|
|
/home/debian/ruby/miniruby(garbage_collect) /home/debian/ruby/gc.c:8955
|
|
/home/debian/ruby/miniruby(objspace_malloc_gc_stress+0x2d) [0x55a5d6f104cc] /home/debian/ruby/gc.c:11735
|
|
/home/debian/ruby/miniruby(objspace_xmalloc0) /home/debian/ruby/gc.c:11726
|
|
/home/debian/ruby/miniruby(pin_array_list_new+0x2d) [0x55a5d71076f6] /home/debian/ruby/vm.c:4344
|
|
/home/debian/ruby/miniruby(Init_vm_objects) /home/debian/ruby/vm.c:4401
|
|
/home/debian/ruby/miniruby(rb_current_execution_context+0x0) [0x55a5d6ee87e5] /home/debian/ruby/eval.c:82
|
|
/home/debian/ruby/miniruby(ruby_setup) /home/debian/ruby/eval.c:84
|
|
/home/debian/ruby/miniruby(ruby_init+0x9) [0x55a5d6ee88f9] /home/debian/ruby/eval.c:98
|
|
/home/debian/ruby/miniruby(rb_main+0xf) [0x55a5d6e18614] ./main.c:39
|
|
/home/debian/ruby/miniruby(main) ./main.c:59
|
|
/lib/x86_64-linux-gnu/libc.so.6(0x7f8a23b6224a) [0x7f8a23b6224a]
|
|
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f8a23b62305]
|
|
[0x55a5d6e18671]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Process memory map:
|
|
|
|
55a5d6dc5000-55a5d6e09000 r--p 00000000 fe:02 2110757 /home/debian/ruby/miniruby
|
|
55a5d6e09000-55a5d7258000 r-xp 00044000 fe:02 2110757 /home/debian/ruby/miniruby
|
|
55a5d7258000-55a5d73e9000 r--p 00493000 fe:02 2110757 /home/debian/ruby/miniruby
|
|
55a5d73e9000-55a5d7400000 r--p 00623000 fe:02 2110757 /home/debian/ruby/miniruby
|
|
55a5d7400000-55a5d7402000 rw-p 0063a000 fe:02 2110757 /home/debian/ruby/miniruby
|
|
55a5d7402000-55a5d7417000 rw-p 00000000 00:00 0
|
|
55a5d91d0000-55a5d91f1000 rw-p 00000000 00:00 0 [heap]
|
|
7f8a2062a000-7f8a20800000 r--s 00000000 fe:02 659393 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f8a20800000-7f8a23536000 r--s 00000000 fe:02 2110757 /home/debian/ruby/miniruby
|
|
7f8a236ff000-7f8a23800000 rw-p 00000000 00:00 0
|
|
7f8a23800000-7f8a23ae9000 r--p 00000000 fe:02 666237 /usr/lib/locale/locale-archive
|
|
7f8a23b20000-7f8a23b30000 rw-p 00000000 00:00 0
|
|
7f8a23b38000-7f8a23b3b000 rw-p 00000000 00:00 0
|
|
7f8a23b3b000-7f8a23b61000 r--p 00000000 fe:02 659393 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f8a23b61000-7f8a23cb6000 r-xp 00026000 fe:02 659393 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f8a23cb6000-7f8a23d09000 r--p 0017b000 fe:02 659393 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f8a23d09000-7f8a23d0d000 r--p 001ce000 fe:02 659393 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f8a23d0d000-7f8a23d0f000 rw-p 001d2000 fe:02 659393 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f8a23d0f000-7f8a23d1e000 rw-p 00000000 00:00 0
|
|
7f8a23d1e000-7f8a23d21000 r--p 00000000 fe:02 656278 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f8a23d21000-7f8a23d38000 r-xp 00003000 fe:02 656278 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f8a23d38000-7f8a23d3c000 r--p 0001a000 fe:02 656278 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f8a23d3c000-7f8a23d3d000 r--p 0001d000 fe:02 656278 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f8a23d3d000-7f8a23d3e000 rw-p 0001e000 fe:02 656278 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f8a23d3e000-7f8a23d4e000 r--p 00000000 fe:02 659398 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f8a23d4e000-7f8a23dc1000 r-xp 00010000 fe:02 659398 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f8a23dc1000-7f8a23e1b000 r--p 00083000 fe:02 659398 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f8a23e1b000-7f8a23e1c000 r--p 000dc000 fe:02 659398 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f8a23e1c000-7f8a23e1d000 rw-p 000dd000 fe:02 659398 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f8a23e1d000-7f8a23e1f000 r--p 00000000 fe:02 659076 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f8a23e1f000-7f8a23e35000 r-xp 00002000 fe:02 659076 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f8a23e35000-7f8a23e4f000 r--p 00018000 fe:02 659076 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f8a23e4f000-7f8a23e50000 r--p 00031000 fe:02 659076 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f8a23e50000-7f8a23e51000 rw-p 00032000 fe:02 659076 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f8a23e51000-7f8a23e59000 rw-p 00000000 00:00 0
|
|
7f8a23e59000-7f8a23e64000 r--p 00000000 fe:02 656684 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f8a23e64000-7f8a23ec1000 r-xp 0000b000 fe:02 656684 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f8a23ec1000-7f8a23ed8000 r--p 00068000 fe:02 656684 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f8a23ed8000-7f8a23ed9000 r--p 0007f000 fe:02 656684 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f8a23ed9000-7f8a23eda000 rw-p 00080000 fe:02 656684 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f8a23eda000-7f8a23edd000 r--p 00000000 fe:02 658006 /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
|
|
7f8a23edd000-7f8a23ef0000 r-xp 00003000 fe:02 658006 /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
|
|
7f8a23ef0000-7f8a23ef7000 r--p 00016000 fe:02 658006 /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
|
|
7f8a23ef7000-7f8a23ef8000 r--p 0001c000 fe:02 658006 /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
|
|
7f8a23ef8000-7f8a23ef9000 rw-p 0001d000 fe:02 658006 /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
|
|
7f8a23f03000-7f8a23f05000 rw-p 00000000 00:00 0
|
|
7f8a23f05000-7f8a23f06000 r--p 00000000 fe:02 659387 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f8a23f06000-7f8a23f2b000 r-xp 00001000 fe:02 659387 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f8a23f2b000-7f8a23f35000 r--p 00026000 fe:02 659387 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f8a23f35000-7f8a23f37000 r--p 00030000 fe:02 659387 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f8a23f37000-7f8a23f39000 rw-p 00032000 fe:02 659387 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7ffca5b99000-7ffca6398000 rw-p 00000000 00:00 0 [stack]
|
|
7ffca63a3000-7ffca63a7000 r--p 00000000 00:00 0 [vvar]
|
|
7ffca63a7000-7ffca63a9000 r-xp 00000000 00:00 0 [vdso]
|
|
|
|
|
|
Aborted
|