Project

General

Profile

Actions

Bug #19358

closed

Segfault when setting RUBY_GC_HEAP_INIT_SLOTS to a low value

Added by xfalcox (Rafael Silva) almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux]
[ruby-core:<unknown>]

Description

This bug is similar to #19284

In Ruby 2.7 this works fine

docker run --rm -it -e RUBY_GC_HEAP_INIT_SLOTS=1 ruby:2.7 ruby -e 'puts "hello, world!"'
hello, world!

On Ruby 3.1 I get a segfault

docker run --rm -it -e RUBY_GC_HEAP_INIT_SLOTS=1 ruby:3.1.3 ruby -e 'puts "hello, world!"'
ruby: [BUG] heap_page_allocate: allocated(25) > sorted(24)
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0003 E:002060 (none) [FINISH]


-- C level backtrace information -------------------------------------------
/usr/local/lib/libruby.so.3.1(rb_print_backtrace+0x11) [0x7f5fbb24fabb] vm_dump.c:759
/usr/local/lib/libruby.so.3.1(rb_vm_bugreport) vm_dump.c:1045
/usr/local/lib/libruby.so.3.1(bug_report_end+0x0) [0x7f5fbb04d6b5] error.c:798
/usr/local/lib/libruby.so.3.1(rb_bug_without_die) error.c:798
/usr/local/lib/libruby.so.3.1(die+0x0) [0x7f5fbafb1e25] error.c:806
/usr/local/lib/libruby.so.3.1(rb_bug) error.c:808
/usr/local/lib/libruby.so.3.1(heap_page_allocate+0x16) [0x7f5fbafb25d7] gc.c:2037
/usr/local/lib/libruby.so.3.1(heap_page_create+0x11) [0x7f5fbb06ef09] gc.c:2088
/usr/local/lib/libruby.so.3.1(heap_assign_page) gc.c:2113
/usr/local/lib/libruby.so.3.1(heap_add_pages) gc.c:2126
/usr/local/lib/libruby.so.3.1(heap_eden_total_pages+0x0) [0x7f5fbb07824a] gc.c:10878
/usr/local/lib/libruby.so.3.1(gc_set_initial_pages) gc.c:10881
/usr/local/lib/libruby.so.3.1(ruby_gc_set_params) gc.c:10936
/usr/local/lib/libruby.so.3.1(process_options+0x14f) [0x7f5fbb1a2c8f] ruby.c:1991
/usr/local/lib/libruby.so.3.1(ruby_process_options+0x11d) [0x7f5fbb1a42fd] ruby.c:2743
/usr/local/lib/libruby.so.3.1(ruby_options+0xcd) [0x7f5fbb05766d] eval.c:118
/usr/local/bin/ruby(main+0x53) [0x55d0d3676103] ./main.c:47

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

* Loaded script: ruby

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 fiber.so
    3 rational.so
    4 complex.so
    5 ruby2_keywords.rb

* Process memory map:

55d0d3675000-55d0d3676000 r--p 00000000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3676000-55d0d3677000 r-xp 00001000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3677000-55d0d3678000 r--p 00002000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3678000-55d0d3679000 r--p 00002000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3679000-55d0d367a000 rw-p 00003000 fe:00 14391848                   /usr/local/bin/ruby
55d0d43aa000-55d0d4492000 rw-p 00000000 00:00 0                          [heap]
7f5fb53df000-7f5fb55b1000 r--s 00000000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fb55b1000-7f5fb676f000 rw-p 00000000 00:00 0 
7f5fb676f000-7f5fb748f000 r--s 00000000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fb748f000-7f5fb74c2000 r--s 00000000 fe:00 14391848                   /usr/local/bin/ruby
7f5fb74c2000-7f5fb74c5000 r--p 00000000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74c5000-7f5fb74d6000 r-xp 00003000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74d6000-7f5fb74da000 r--p 00014000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74da000-7f5fb74db000 r--p 00017000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74db000-7f5fb74dc000 rw-p 00018000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74e4000-7f5fb74e8000 rw-p 00000000 00:00 0 
7f5fb74e8000-7f5fb74e9000 ---p 00000000 00:00 0 
7f5fb74e9000-7f5fb758a000 rw-p 00000000 00:00 0 
7f5fb758a000-7f5fb758b000 ---p 00000000 00:00 0 
7f5fb758b000-7f5fb762c000 rw-p 00000000 00:00 0 
7f5fb762c000-7f5fb762d000 ---p 00000000 00:00 0 
7f5fb762d000-7f5fb76ce000 rw-p 00000000 00:00 0 
7f5fb76ce000-7f5fb76cf000 ---p 00000000 00:00 0 
7f5fb76cf000-7f5fb7770000 rw-p 00000000 00:00 0 
7f5fb7770000-7f5fb7771000 ---p 00000000 00:00 0 
7f5fb7771000-7f5fb7812000 rw-p 00000000 00:00 0 
7f5fb7812000-7f5fb7813000 ---p 00000000 00:00 0 
7f5fb7813000-7f5fb78b4000 rw-p 00000000 00:00 0 
7f5fb78b4000-7f5fb78b5000 ---p 00000000 00:00 0 
7f5fb78b5000-7f5fb7956000 rw-p 00000000 00:00 0 
7f5fb7956000-7f5fb7957000 ---p 00000000 00:00 0 
7f5fb7957000-7f5fb79f8000 rw-p 00000000 00:00 0 
7f5fb79f8000-7f5fb79f9000 ---p 00000000 00:00 0 
7f5fb79f9000-7f5fb7a9a000 rw-p 00000000 00:00 0 
7f5fb7a9a000-7f5fb7a9b000 ---p 00000000 00:00 0 
7f5fb7a9b000-7f5fb7b3c000 rw-p 00000000 00:00 0 
7f5fb7b3c000-7f5fb7b3d000 ---p 00000000 00:00 0 
7f5fb7b3d000-7f5fb7bde000 rw-p 00000000 00:00 0 
7f5fb7bde000-7f5fb7bdf000 ---p 00000000 00:00 0 
7f5fb7bdf000-7f5fb7c80000 rw-p 00000000 00:00 0 
7f5fb7c80000-7f5fb7c81000 ---p 00000000 00:00 0 
7f5fb7c81000-7f5fb7d22000 rw-p 00000000 00:00 0 
7f5fb7d22000-7f5fb7d23000 ---p 00000000 00:00 0 
7f5fb7d23000-7f5fb7dc4000 rw-p 00000000 00:00 0 
7f5fb7dc4000-7f5fb7dc5000 ---p 00000000 00:00 0 
7f5fb7dc5000-7f5fb7e66000 rw-p 00000000 00:00 0 
7f5fb7e66000-7f5fb7e67000 ---p 00000000 00:00 0 
7f5fb7e67000-7f5fb7f08000 rw-p 00000000 00:00 0 
7f5fb7f08000-7f5fb7f09000 ---p 00000000 00:00 0 
7f5fb7f09000-7f5fb7faa000 rw-p 00000000 00:00 0 
7f5fb7faa000-7f5fb7fab000 ---p 00000000 00:00 0 
7f5fb7fab000-7f5fb804c000 rw-p 00000000 00:00 0 
7f5fb804c000-7f5fb804d000 ---p 00000000 00:00 0 
7f5fb804d000-7f5fb80ee000 rw-p 00000000 00:00 0 
7f5fb80ee000-7f5fb80ef000 ---p 00000000 00:00 0 
7f5fb80ef000-7f5fb8190000 rw-p 00000000 00:00 0 
7f5fb8190000-7f5fb8191000 ---p 00000000 00:00 0 
7f5fb8191000-7f5fb8232000 rw-p 00000000 00:00 0 
7f5fb8232000-7f5fb8233000 ---p 00000000 00:00 0 
7f5fb8233000-7f5fb82d4000 rw-p 00000000 00:00 0 
7f5fb82d4000-7f5fb82d5000 ---p 00000000 00:00 0 
7f5fb82d5000-7f5fb8376000 rw-p 00000000 00:00 0 
7f5fb8376000-7f5fb8377000 ---p 00000000 00:00 0 
7f5fb8377000-7f5fb8418000 rw-p 00000000 00:00 0 
7f5fb8418000-7f5fb8419000 ---p 00000000 00:00 0 
7f5fb8419000-7f5fb84ba000 rw-p 00000000 00:00 0 
7f5fb84ba000-7f5fb84bb000 ---p 00000000 00:00 0 
7f5fb84bb000-7f5fb855c000 rw-p 00000000 00:00 0 
7f5fb855c000-7f5fb855d000 ---p 00000000 00:00 0 
7f5fb855d000-7f5fb85fe000 rw-p 00000000 00:00 0 
7f5fb85fe000-7f5fb85ff000 ---p 00000000 00:00 0 
7f5fb85ff000-7f5fb86a0000 rw-p 00000000 00:00 0 
7f5fb86a0000-7f5fb86a1000 ---p 00000000 00:00 0 
7f5fb86a1000-7f5fb8742000 rw-p 00000000 00:00 0 
7f5fb8742000-7f5fb8743000 ---p 00000000 00:00 0 
7f5fb8743000-7f5fb87e4000 rw-p 00000000 00:00 0 
7f5fb87e4000-7f5fb87e5000 ---p 00000000 00:00 0 
7f5fb87e5000-7f5fb8886000 rw-p 00000000 00:00 0 
7f5fb8886000-7f5fb8887000 ---p 00000000 00:00 0 
7f5fb8887000-7f5fba928000 rw-p 00000000 00:00 0 
7f5fba92f000-7f5fba9f0000 rw-p 00000000 00:00 0 
7f5fba9f2000-7f5fbaaf3000 rw-p 00000000 00:00 0 
7f5fbaaf3000-7f5fbab48000 r--p 00000000 fe:00 9964902                    /usr/lib/locale/C.UTF-8/LC_CTYPE
7f5fbab48000-7f5fbab4a000 rw-p 00000000 00:00 0 
7f5fbab4a000-7f5fbab6c000 r--p 00000000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbab6c000-7f5fbacc6000 r-xp 00022000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbacc6000-7f5fbad15000 r--p 0017c000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbad15000-7f5fbad19000 r--p 001ca000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbad19000-7f5fbad1b000 rw-p 001ce000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbad1b000-7f5fbad1f000 rw-p 00000000 00:00 0 
7f5fbad1f000-7f5fbad2c000 r--p 00000000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbad2c000-7f5fbadc6000 r-xp 0000d000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbadc6000-7f5fbae61000 r--p 000a7000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbae61000-7f5fbae62000 r--p 00141000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbae62000-7f5fbae63000 rw-p 00142000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbae63000-7f5fbae65000 r--p 00000000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae65000-7f5fbae7a000 r-xp 00002000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae7a000-7f5fbae94000 r--p 00017000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae94000-7f5fbae95000 r--p 00030000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae95000-7f5fbae96000 rw-p 00031000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae96000-7f5fbaea0000 rw-p 00000000 00:00 0 
7f5fbaea0000-7f5fbaea1000 r--p 00000000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea1000-7f5fbaea3000 r-xp 00001000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea3000-7f5fbaea4000 r--p 00003000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea4000-7f5fbaea5000 r--p 00003000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea5000-7f5fbaea6000 rw-p 00004000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea6000-7f5fbaeb1000 r--p 00000000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaeb1000-7f5fbaf0d000 r-xp 0000b000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf0d000-7f5fbaf24000 r--p 00067000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf24000-7f5fbaf25000 ---p 0007e000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf25000-7f5fbaf26000 r--p 0007e000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf26000-7f5fbaf27000 rw-p 0007f000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf27000-7f5fbaf29000 r--p 00000000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf29000-7f5fbaf2d000 r-xp 00002000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf2d000-7f5fbaf2f000 r--p 00006000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf2f000-7f5fbaf30000 r--p 00007000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf30000-7f5fbaf31000 rw-p 00008000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf31000-7f5fbaf37000 r--p 00000000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf37000-7f5fbaf47000 r-xp 00006000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf47000-7f5fbaf4d000 r--p 00016000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf4d000-7f5fbaf4e000 r--p 0001b000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf4e000-7f5fbaf4f000 rw-p 0001c000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf4f000-7f5fbaf53000 rw-p 00000000 00:00 0 
7f5fbaf53000-7f5fbaf56000 r--p 00000000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf56000-7f5fbaf67000 r-xp 00003000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf67000-7f5fbaf6d000 r--p 00014000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf6d000-7f5fbaf6e000 ---p 0001a000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf6e000-7f5fbaf6f000 r--p 0001a000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf6f000-7f5fbaf70000 rw-p 0001b000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf71000-7f5fbaf78000 r--s 00000000 fe:00 9965170                    /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f5fbaf78000-7f5fbafab000 r--p 00000000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbafab000-7f5fbb27a000 r-xp 00033000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb27a000-7f5fbb398000 r--p 00302000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb398000-7f5fbb399000 ---p 00420000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb399000-7f5fbb3a0000 r--p 00420000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb3a0000-7f5fbb3a3000 rw-p 00427000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb3a3000-7f5fbb3b7000 rw-p 00000000 00:00 0 
7f5fbb3b7000-7f5fbb3b8000 r--p 00000000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3b8000-7f5fbb3d8000 r-xp 00001000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3d8000-7f5fbb3e0000 r--p 00021000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3e1000-7f5fbb3e2000 r--p 00029000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3e2000-7f5fbb3e3000 rw-p 0002a000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3e3000-7f5fbb3e4000 rw-p 00000000 00:00 0 
7ffc7738b000-7ffc77b8a000 rw-p 00000000 00:00 0                          [stack]
7ffc77bf0000-7ffc77bf4000 r--p 00000000 00:00 0                          [vvar]
7ffc77bf4000-7ffc77bf6000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  [vsyscall]


ruby: [BUG] Segmentation fault at 0x0000000000000000
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0003 E:002060 (none) [FINISH]


-- Machine register context ------------------------------------------------
 RIP: 0x00007f5fbab6c602 RBP: 0x0000000000000028 RSP: 0x00007ffc77b87710
 RAX: 0x0000000000000000 RBX: 0x00007f5fbab48f40 RCX: 0x00007f5fbab82ce1
 RDX: 0x0000000000000000 RDI: 0x0000000000000002 RSI: 0x00007ffc77b875f0
  R8: 0x0000000000000000  R9: 0x00007ffc77b875f0 R10: 0x0000000000000008
 R11: 0x0000000000000246 R12: 0x000055d0d43ad6a8 R13: 0x00007f5fb74e7ff0
 R14: 0x000055d0d43ad680 R15: 0x000055d0d4470fc0 EFL: 0x0000000000010246

-- C level backtrace information -------------------------------------------
/usr/local/lib/libruby.so.3.1(rb_print_backtrace+0x11) [0x7f5fbb24f348] vm_dump.c:759
/usr/local/lib/libruby.so.3.1(rb_vm_bugreport) vm_dump.c:1045
/usr/local/lib/libruby.so.3.1(rb_bug_for_fatal_signal+0xf0) [0x7f5fbb04d800] error.c:821
/usr/local/lib/libruby.so.3.1(sigsegv+0x49) [0x7f5fbb1a5429] signal.c:964
/lib/x86_64-linux-gnu/libpthread.so.0(__restore_rt+0x0) [0x7f5fbaf44140]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x1ee) [0x7f5fbab6c602]
/usr/local/lib/libruby.so.3.1(die+0x5) [0x7f5fbafb1e2a] error.c:784
/usr/local/lib/libruby.so.3.1(rb_bug) error.c:808
/usr/local/lib/libruby.so.3.1(die) (null):0
/usr/local/lib/libruby.so.3.1(rb_bug_for_fatal_signal) error.c:825
/usr/local/lib/libruby.so.3.1(heap_page_allocate+0x16) [0x7f5fbafb25d7] gc.c:2037
/usr/local/lib/libruby.so.3.1(heap_page_create+0x11) [0x7f5fbb06ef09] gc.c:2088
/usr/local/lib/libruby.so.3.1(heap_assign_page) gc.c:2113
/usr/local/lib/libruby.so.3.1(heap_add_pages) gc.c:2126
/usr/local/lib/libruby.so.3.1(heap_eden_total_pages+0x0) [0x7f5fbb07824a] gc.c:10878
/usr/local/lib/libruby.so.3.1(gc_set_initial_pages) gc.c:10881
/usr/local/lib/libruby.so.3.1(ruby_gc_set_params) gc.c:10936
/usr/local/lib/libruby.so.3.1(process_options+0x14f) [0x7f5fbb1a2c8f] ruby.c:1991
/usr/local/lib/libruby.so.3.1(ruby_process_options+0x11d) [0x7f5fbb1a42fd] ruby.c:2743
/usr/local/lib/libruby.so.3.1(ruby_options+0xcd) [0x7f5fbb05766d] eval.c:118
/usr/local/bin/ruby(main+0x53) [0x55d0d3676103] ./main.c:47

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

* Loaded script: ruby

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 fiber.so
    3 rational.so
    4 complex.so
    5 ruby2_keywords.rb

* Process memory map:

55d0d3675000-55d0d3676000 r--p 00000000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3676000-55d0d3677000 r-xp 00001000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3677000-55d0d3678000 r--p 00002000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3678000-55d0d3679000 r--p 00002000 fe:00 14391848                   /usr/local/bin/ruby
55d0d3679000-55d0d367a000 rw-p 00003000 fe:00 14391848                   /usr/local/bin/ruby
55d0d43aa000-55d0d4492000 rw-p 00000000 00:00 0                          [heap]
7f5fb32d7000-7f5fb34a9000 r--s 00000000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fb34a9000-7f5fb34ce000 r--s 00000000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fb34ce000-7f5fb468c000 rw-p 00000000 00:00 0 
7f5fb468c000-7f5fb53ac000 r--s 00000000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fb53ac000-7f5fb53df000 r--s 00000000 fe:00 14391848                   /usr/local/bin/ruby
7f5fb53df000-7f5fb55b1000 r--s 00000000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fb55b1000-7f5fb676f000 rw-p 00000000 00:00 0 
7f5fb676f000-7f5fb748f000 r--s 00000000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fb748f000-7f5fb74c2000 r--s 00000000 fe:00 14391848                   /usr/local/bin/ruby
7f5fb74c2000-7f5fb74c5000 r--p 00000000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74c5000-7f5fb74d6000 r-xp 00003000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74d6000-7f5fb74da000 r--p 00014000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74da000-7f5fb74db000 r--p 00017000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74db000-7f5fb74dc000 rw-p 00018000 fe:00 9846564                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5fb74e4000-7f5fb74e8000 rw-p 00000000 00:00 0 
7f5fb74e8000-7f5fb74e9000 ---p 00000000 00:00 0 
7f5fb74e9000-7f5fb758a000 rw-p 00000000 00:00 0 
7f5fb758a000-7f5fb758b000 ---p 00000000 00:00 0 
7f5fb758b000-7f5fb762c000 rw-p 00000000 00:00 0 
7f5fb762c000-7f5fb762d000 ---p 00000000 00:00 0 
7f5fb762d000-7f5fb76ce000 rw-p 00000000 00:00 0 
7f5fb76ce000-7f5fb76cf000 ---p 00000000 00:00 0 
7f5fb76cf000-7f5fb7770000 rw-p 00000000 00:00 0 
7f5fb7770000-7f5fb7771000 ---p 00000000 00:00 0 
7f5fb7771000-7f5fb7812000 rw-p 00000000 00:00 0 
7f5fb7812000-7f5fb7813000 ---p 00000000 00:00 0 
7f5fb7813000-7f5fb78b4000 rw-p 00000000 00:00 0 
7f5fb78b4000-7f5fb78b5000 ---p 00000000 00:00 0 
7f5fb78b5000-7f5fb7956000 rw-p 00000000 00:00 0 
7f5fb7956000-7f5fb7957000 ---p 00000000 00:00 0 
7f5fb7957000-7f5fb79f8000 rw-p 00000000 00:00 0 
7f5fb79f8000-7f5fb79f9000 ---p 00000000 00:00 0 
7f5fb79f9000-7f5fb7a9a000 rw-p 00000000 00:00 0 
7f5fb7a9a000-7f5fb7a9b000 ---p 00000000 00:00 0 
7f5fb7a9b000-7f5fb7b3c000 rw-p 00000000 00:00 0 
7f5fb7b3c000-7f5fb7b3d000 ---p 00000000 00:00 0 
7f5fb7b3d000-7f5fb7bde000 rw-p 00000000 00:00 0 
7f5fb7bde000-7f5fb7bdf000 ---p 00000000 00:00 0 
7f5fb7bdf000-7f5fb7c80000 rw-p 00000000 00:00 0 
7f5fb7c80000-7f5fb7c81000 ---p 00000000 00:00 0 
7f5fb7c81000-7f5fb7d22000 rw-p 00000000 00:00 0 
7f5fb7d22000-7f5fb7d23000 ---p 00000000 00:00 0 
7f5fb7d23000-7f5fb7dc4000 rw-p 00000000 00:00 0 
7f5fb7dc4000-7f5fb7dc5000 ---p 00000000 00:00 0 
7f5fb7dc5000-7f5fb7e66000 rw-p 00000000 00:00 0 
7f5fb7e66000-7f5fb7e67000 ---p 00000000 00:00 0 
7f5fb7e67000-7f5fb7f08000 rw-p 00000000 00:00 0 
7f5fb7f08000-7f5fb7f09000 ---p 00000000 00:00 0 
7f5fb7f09000-7f5fb7faa000 rw-p 00000000 00:00 0 
7f5fb7faa000-7f5fb7fab000 ---p 00000000 00:00 0 
7f5fb7fab000-7f5fb804c000 rw-p 00000000 00:00 0 
7f5fb804c000-7f5fb804d000 ---p 00000000 00:00 0 
7f5fb804d000-7f5fb80ee000 rw-p 00000000 00:00 0 
7f5fb80ee000-7f5fb80ef000 ---p 00000000 00:00 0 
7f5fb80ef000-7f5fb8190000 rw-p 00000000 00:00 0 
7f5fb8190000-7f5fb8191000 ---p 00000000 00:00 0 
7f5fb8191000-7f5fb8232000 rw-p 00000000 00:00 0 
7f5fb8232000-7f5fb8233000 ---p 00000000 00:00 0 
7f5fb8233000-7f5fb82d4000 rw-p 00000000 00:00 0 
7f5fb82d4000-7f5fb82d5000 ---p 00000000 00:00 0 
7f5fb82d5000-7f5fb8376000 rw-p 00000000 00:00 0 
7f5fb8376000-7f5fb8377000 ---p 00000000 00:00 0 
7f5fb8377000-7f5fb8418000 rw-p 00000000 00:00 0 
7f5fb8418000-7f5fb8419000 ---p 00000000 00:00 0 
7f5fb8419000-7f5fb84ba000 rw-p 00000000 00:00 0 
7f5fb84ba000-7f5fb84bb000 ---p 00000000 00:00 0 
7f5fb84bb000-7f5fb855c000 rw-p 00000000 00:00 0 
7f5fb855c000-7f5fb855d000 ---p 00000000 00:00 0 
7f5fb855d000-7f5fb85fe000 rw-p 00000000 00:00 0 
7f5fb85fe000-7f5fb85ff000 ---p 00000000 00:00 0 
7f5fb85ff000-7f5fb86a0000 rw-p 00000000 00:00 0 
7f5fb86a0000-7f5fb86a1000 ---p 00000000 00:00 0 
7f5fb86a1000-7f5fb8742000 rw-p 00000000 00:00 0 
7f5fb8742000-7f5fb8743000 ---p 00000000 00:00 0 
7f5fb8743000-7f5fb87e4000 rw-p 00000000 00:00 0 
7f5fb87e4000-7f5fb87e5000 ---p 00000000 00:00 0 
7f5fb87e5000-7f5fb8886000 rw-p 00000000 00:00 0 
7f5fb8886000-7f5fb8887000 ---p 00000000 00:00 0 
7f5fb8887000-7f5fba928000 rw-p 00000000 00:00 0 
7f5fba92f000-7f5fba9f0000 rw-p 00000000 00:00 0 
7f5fba9f2000-7f5fbaaf3000 rw-p 00000000 00:00 0 
7f5fbaaf3000-7f5fbab48000 r--p 00000000 fe:00 9964902                    /usr/lib/locale/C.UTF-8/LC_CTYPE
7f5fbab48000-7f5fbab4a000 rw-p 00000000 00:00 0 
7f5fbab4a000-7f5fbab6c000 r--p 00000000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbab6c000-7f5fbacc6000 r-xp 00022000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbacc6000-7f5fbad15000 r--p 0017c000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbad15000-7f5fbad19000 r--p 001ca000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbad19000-7f5fbad1b000 rw-p 001ce000 fe:00 9846542                    /lib/x86_64-linux-gnu/libc-2.31.so
7f5fbad1b000-7f5fbad1f000 rw-p 00000000 00:00 0 
7f5fbad1f000-7f5fbad2c000 r--p 00000000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbad2c000-7f5fbadc6000 r-xp 0000d000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbadc6000-7f5fbae61000 r--p 000a7000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbae61000-7f5fbae62000 r--p 00141000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbae62000-7f5fbae63000 rw-p 00142000 fe:00 9846591                    /lib/x86_64-linux-gnu/libm-2.31.so
7f5fbae63000-7f5fbae65000 r--p 00000000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae65000-7f5fbae7a000 r-xp 00002000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae7a000-7f5fbae94000 r--p 00017000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae94000-7f5fbae95000 r--p 00030000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae95000-7f5fbae96000 rw-p 00031000 fe:00 9846556                    /lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f5fbae96000-7f5fbaea0000 rw-p 00000000 00:00 0 
7f5fbaea0000-7f5fbaea1000 r--p 00000000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea1000-7f5fbaea3000 r-xp 00001000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea3000-7f5fbaea4000 r--p 00003000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea4000-7f5fbaea5000 r--p 00003000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea5000-7f5fbaea6000 rw-p 00004000 fe:00 9846557                    /lib/x86_64-linux-gnu/libdl-2.31.so
7f5fbaea6000-7f5fbaeb1000 r--p 00000000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaeb1000-7f5fbaf0d000 r-xp 0000b000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf0d000-7f5fbaf24000 r--p 00067000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf24000-7f5fbaf25000 ---p 0007e000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf25000-7f5fbaf26000 r--p 0007e000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf26000-7f5fbaf27000 rw-p 0007f000 fe:00 9965197                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7f5fbaf27000-7f5fbaf29000 r--p 00000000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf29000-7f5fbaf2d000 r-xp 00002000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf2d000-7f5fbaf2f000 r--p 00006000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf2f000-7f5fbaf30000 r--p 00007000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf30000-7f5fbaf31000 rw-p 00008000 fe:00 9846733                    /lib/x86_64-linux-gnu/librt-2.31.so
7f5fbaf31000-7f5fbaf37000 r--p 00000000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf37000-7f5fbaf47000 r-xp 00006000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf47000-7f5fbaf4d000 r--p 00016000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf4d000-7f5fbaf4e000 r--p 0001b000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf4e000-7f5fbaf4f000 rw-p 0001c000 fe:00 9846718                    /lib/x86_64-linux-gnu/libpthread-2.31.so
7f5fbaf4f000-7f5fbaf53000 rw-p 00000000 00:00 0 
7f5fbaf53000-7f5fbaf56000 r--p 00000000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf56000-7f5fbaf67000 r-xp 00003000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf67000-7f5fbaf6d000 r--p 00014000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf6d000-7f5fbaf6e000 ---p 0001a000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf6e000-7f5fbaf6f000 r--p 0001a000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf6f000-7f5fbaf70000 rw-p 0001b000 fe:00 9846787                    /lib/x86_64-linux-gnu/libz.so.1.2.11
7f5fbaf71000-7f5fbaf78000 r--s 00000000 fe:00 9965170                    /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f5fbaf78000-7f5fbafab000 r--p 00000000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbafab000-7f5fbb27a000 r-xp 00033000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb27a000-7f5fbb398000 r--p 00302000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb398000-7f5fbb399000 ---p 00420000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb399000-7f5fbb3a0000 r--p 00420000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb3a0000-7f5fbb3a3000 rw-p 00427000 fe:00 14392044                   /usr/local/lib/libruby.so.3.1.3
7f5fbb3a3000-7f5fbb3b7000 rw-p 00000000 00:00 0 
7f5fbb3b7000-7f5fbb3b8000 r--p 00000000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3b8000-7f5fbb3d8000 r-xp 00001000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3d8000-7f5fbb3e0000 r--p 00021000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3e1000-7f5fbb3e2000 r--p 00029000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3e2000-7f5fbb3e3000 rw-p 0002a000 fe:00 9846484                    /lib/x86_64-linux-gnu/ld-2.31.so
7f5fbb3e3000-7f5fbb3e4000 rw-p 00000000 00:00 0 
7ffc7738b000-7ffc77b8a000 rw-p 00000000 00:00 0                          [stack]
7ffc77bf0000-7ffc77bf4000 r--p 00000000 00:00 0                          [vvar]
7ffc77bf4000-7ffc77bf6000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  [vsyscall]

Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #19284: Integer overflow when using RUBY_GC_HEAP_INIT_SLOTS environment variableClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0