Project

General

Profile

Actions

Bug #22117

closed

Segfault with YJIT when `define_method` + `super()` calls a method that creates a `Hash.new { ... }`

Bug #22117: Segfault with YJIT when `define_method` + `super()` calls a method that creates a `Hash.new { ... }`

Added by mame (Yusuke Endoh) about 5 hours ago. Updated about 4 hours ago.

Status:
Rejected
Target version:
ruby -v:
ruby 4.1.0dev (2026-06-15T10:28:20Z master c2879d4eb1) +YJIT +PRISM [x86_64-linux]
[ruby-core:125771]

Description

With the latest Ruby master, enabling YJIT causes a SEGV with the following code:

class C
  def foo
    Hash.new {|h, k| h[k] = [] }
  end
end

class D < C
  define_method(:foo) do
    super()
  end
end

1000.times { D.new.foo }
$ ruby --yjit test.rb
<internal:hash>:38: [BUG] Segmentation fault at 0x0000000000000001
ruby 4.1.0dev (2026-06-15T10:28:20Z master c2879d4eb1) +YJIT +PRISM [x86_64-linux]

According to git bisect:

So I suspect ea7d3eb89b8c5192c0cf9a885a17b0aeaef1067a is the culprit.

@alanwu (Alan Wu) Could you take a look?

Here is the full trace:

$ ruby --yjit test.rb
<internal:hash>:38: [BUG] Segmentation fault at 0x0000000000000001
ruby 4.1.0dev (2026-06-15T10:28:20Z master c2879d4eb1) +YJIT +PRISM [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0008 p:0016 s:0038 e:000034 l:y b:0001 r:0x743253071000 METHOD <internal:hash>:38 [FINISH]
c:0007 p:---- s:0026 e:000025 l:y b:0001 r:(nil) CFUNC  :new
c:0006 p:0005 s:0022 e:000021 l:y b:0001 r:0x743253071234 METHOD test.rb:3
c:0005 p:0004 s:0018 e:000017 l:n b:---- r:0x7432530711a9 BLOCK  test.rb:9
c:0004 p:0017 s:0014 e:000013 l:n b:---- r:0x743253071000 BLOCK  test.rb:13
c:0003 p:0024 s:0011 e:000010 l:y b:0001 r:(nil) METHOD <internal:numeric>:262
c:0002 p:0022 s:0006 e:000005 l:n b:---- r:(nil) EVAL   test.rb:13 [FINISH]
c:0001 p:0000 s:0003 E:0005a0 l:y b:---- r:(nil) DUMMY  [FINISH]

-- Ruby level backtrace information ----------------------------------------
test.rb:13:in '<main>'
<internal:numeric>:262:in 'times'
test.rb:13:in 'block in <main>'
test.rb:9:in 'block in <class:D>'
test.rb:3:in 'foo'
test.rb:3:in 'new'
<internal:hash>:38:in 'initialize'

-- Threading information ---------------------------------------------------
Total ractor count: 1
Ruby thread count for this ractor: 1

-- Machine register context ------------------------------------------------
 RIP: 0x0000743276f981dc RBP: 0x0000000000000000 RSP: 0x00007ffd90e92b50
 RAX: 0x0000000000000001 RBX: 0x0000000000000000 RCX: 0x0000000000000000
 RDX: 0x00007432762b3500 RDI: 0x00005c69e4f08628 RSI: 0x00007432774ae380
  R8: 0x0000000000000014  R9: 0x0000000000000014 R10: 0x0000000000000014
 R11: 0x0000000000000000 R12: 0x00007432762b3500 R13: 0x00007432774ae380
 R14: 0x00007432762ff0c8 R15: 0x00007432763fef68 EFL: 0x0000000000010246

-- C level backtrace information -------------------------------------------
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_print_backtrace+0x11) [0x743276fcaee0] /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm_dump.c:1111
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_vm_bugreport) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm_dump.c:1473
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_bug_for_fatal_signal+0x109) [0x743276d65799] /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/error.c:1140
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(sigsegv+0x48) [0x743276eef1c8] /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/signal.c:948
/lib/x86_64-linux-gnu/libc.so.6(0x743276845f60) [0x743276845f60]
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_vm_make_proc_lambda+0x2c) [0x743276f981dc] internal/imemo.h:168
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(VM_FRAME_CFRAME_P+0x0) [0x743276f9867c] /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm_core.h:1979
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(VM_FRAME_RUBYFRAME_P) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm_core.h:1557
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(vm_block_handler_escape) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm.c:1109
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(vm_make_env_each) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm.c:1103
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(vm_make_env_object+0x5) [0x743276f9892d] /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm.c:1180
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_vm_make_proc_lambda) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm.c:1621
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_vm_make_proc) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm_core.h:1979
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_vm_bh_to_procval) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm_insnhelper.c:552
/home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1(rb_vm_bh_to_procval) /tmp/ruby-build.20260615205957.112028.2eogNm/ruby-master/vm_insnhelper.c:543
[0x74325306f444]

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

* Loaded script: test.rb

* Ruby Box: disabled
* Loaded features:

    0 enumerator.so
    1 monitor.so
    2 thread.rb
    3 fiber.so
    4 rational.so
    5 complex.so
    6 pathname.so
    7 ruby2_keywords.rb
    8 set.rb
    9 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/encdb.so
   10 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/trans/transdb.so
   11 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/rbconfig.rb
   12 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/defaults.rb
   13 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/deprecate.rb
   14 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/errors.rb
   15 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/target_rbconfig.rb
   16 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/win_platform.rb
   17 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/util/atomic_file_writer.rb
   18 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/unknown_command_spell_checker.rb
   19 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/exceptions.rb
   20 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/basic_specification.rb
   21 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/stub_specification.rb
   22 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/platform.rb
   23 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/specification_record.rb
   24 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/version.rb
   25 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/requirement.rb
   26 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/specification.rb
   27 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/util.rb
   28 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/dependency.rb
   29 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/core_ext/kernel_gem.rb
   30 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/monitor.rb
   31 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems.rb
   32 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/bundled_gems.rb
   33 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/rubygems/path_support.rb
   34 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/error_highlight/version.rb
   35 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/error_highlight/base.rb
   36 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/error_highlight/formatter.rb
   37 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/error_highlight/core_ext.rb
   38 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/error_highlight.rb
   39 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/version.rb
   40 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/core_ext/name_error.rb
   41 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/levenshtein.rb
   42 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/jaro_winkler.rb
   43 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checker.rb
   44 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   45 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   46 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/name_error_checkers.rb
   47 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/method_name_checker.rb
   48 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/key_error_checker.rb
   49 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/null_checker.rb
   50 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/tree_spell_checker.rb
   51 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/require_path_checker.rb
   52 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/spell_checkers/pattern_key_name_checker.rb
   53 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean/formatter.rb
   54 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/did_you_mean.rb
   55 /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/syntax_suggest/core_ext.rb

* Process memory map:

5c69c4431000-5c69c4432000 r--p 00000000 103:02 80372576                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/bin/ruby
5c69c4432000-5c69c4433000 r-xp 00001000 103:02 80372576                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/bin/ruby
5c69c4433000-5c69c4434000 r--p 00002000 103:02 80372576                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/bin/ruby
5c69c4434000-5c69c4435000 r--p 00002000 103:02 80372576                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/bin/ruby
5c69c4435000-5c69c4436000 rw-p 00003000 103:02 80372576                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/bin/ruby
5c69e4f02000-5c69e541e000 rw-p 00000000 00:00 0                          [heap]
74324ec00000-74324ee38000 r--s 00000000 103:02 48134286                  /usr/lib/x86_64-linux-gnu/libc.so.6
74324ef56000-743251400000 rw-p 00000000 00:00 0
743251400000-743252ece000 r--s 00000000 103:02 80372578                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1.0
74325306f000-743253072000 r-xp 00000000 00:00 0                          [anon:Ruby:rb_jit_reserve_addr_space]
743253072000-74325b06f000 ---p 00000000 00:00 0                          [anon:Ruby:rb_jit_reserve_addr_space]
74325b216000-74325b3b2000 rw-p 00000000 00:00 0
74325b3b2000-74325b3f0000 r--s 00000000 103:02 80372576                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/bin/ruby
74325b3f0000-74325b510000 rw-p 00000000 00:00 0                          [anon:Ruby:GC:default:heap_page_body_allocate]
74325b520000-74325b590000 rw-p 00000000 00:00 0                          [anon:Ruby:GC:default:heap_page_body_allocate]
74325b5a0000-74325b5b0000 rw-p 00000000 00:00 0                          [anon:Ruby:GC:default:heap_page_body_allocate]
74325b5bf000-74325b5c0000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b5c0000-74325b661000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b661000-74325b662000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b662000-74325b703000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b703000-74325b704000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b704000-74325b7a5000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b7a5000-74325b7a6000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b7a6000-74325b847000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b847000-74325b848000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b848000-74325b8e9000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b8e9000-74325b8ea000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b8ea000-74325b98b000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b98b000-74325b98c000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325b98c000-74325ba2d000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325ba2d000-74325ba2e000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325ba2e000-74325bacf000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bacf000-74325bad0000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bad0000-74325bb71000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bb71000-74325bb72000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bb72000-74325bc13000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bc13000-74325bc14000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bc14000-74325bcb5000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bcb5000-74325bcb6000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bcb6000-74325bd57000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bd57000-74325bd58000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bd58000-74325bdf9000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bdf9000-74325bdfa000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bdfa000-74325be9b000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325be9b000-74325be9c000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325be9c000-74325bf3d000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bf3d000-74325bf3e000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bf3e000-74325bfdf000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bfdf000-74325bfe0000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325bfe0000-74325c081000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c081000-74325c082000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c082000-74325c123000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c123000-74325c124000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c124000-74325c1c5000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c1c5000-74325c1c6000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c1c6000-74325c267000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c267000-74325c268000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c268000-74325c309000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c309000-74325c30a000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c30a000-74325c3ab000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c3ab000-74325c3ac000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c3ac000-74325c44d000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c44d000-74325c44e000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c44e000-74325c4ef000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c4ef000-74325c4f0000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c4f0000-74325c591000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c591000-74325c592000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c592000-74325c633000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c633000-74325c634000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c634000-74325c6d5000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c6d5000-74325c6d6000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c6d6000-74325c777000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c777000-74325c778000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c778000-74325c819000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c819000-74325c81a000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c81a000-74325c8bb000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c8bb000-74325c8bc000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c8bc000-74325c95d000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c95d000-74325c95e000 ---p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c95e000-74325c9ff000 rw-p 00000000 00:00 0                          [anon:Ruby:fiber_pool_allocate_memory]
74325c9ff000-74325d200000 rw-p 00000000 00:00 0
74325d200000-743275200000 rw-p 00000000 00:00 0                          [anon:Ruby:Init_default_shapes:shape_cache]
743275200000-743276200000 rw-p 00000000 00:00 0                          [anon:Ruby:Init_default_shapes:shape_list]
743276210000-7432762f0000 rw-p 00000000 00:00 0                          [anon:Ruby:GC:default:heap_page_body_allocate]
7432762ff000-743276400000 rw-p 00000000 00:00 0
743276400000-7432767f6000 r--p 00000000 103:02 48104134                  /usr/lib/locale/locale-archive
743276800000-743276828000 r--p 00000000 103:02 48134286                  /usr/lib/x86_64-linux-gnu/libc.so.6
743276828000-7432769c1000 r-xp 00028000 103:02 48134286                  /usr/lib/x86_64-linux-gnu/libc.so.6
7432769c1000-743276a30000 r--p 001c1000 103:02 48134286                  /usr/lib/x86_64-linux-gnu/libc.so.6
743276a30000-743276a34000 r--p 0022f000 103:02 48134286                  /usr/lib/x86_64-linux-gnu/libc.so.6
743276a34000-743276a36000 rw-p 00233000 103:02 48134286                  /usr/lib/x86_64-linux-gnu/libc.so.6
743276a36000-743276a43000 rw-p 00000000 00:00 0
743276a60000-743276aa0000 rw-p 00000000 00:00 0                          [anon:Ruby:GC:default:heap_page_body_allocate]
743276aa5000-743276ac6000 rw-p 00000000 00:00 0
743276ac6000-743276aca000 r--p 00000000 103:02 48107690                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
743276aca000-743276aed000 r-xp 00004000 103:02 48107690                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
743276aed000-743276af1000 r--p 00027000 103:02 48107690                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
743276af1000-743276af2000 r--p 0002a000 103:02 48107690                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
743276af2000-743276af3000 rw-p 0002b000 103:02 48107690                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
743276af3000-743276b04000 r--p 00000000 103:02 48134302                  /usr/lib/x86_64-linux-gnu/libm.so.6
743276b04000-743276b8f000 r-xp 00011000 103:02 48134302                  /usr/lib/x86_64-linux-gnu/libm.so.6
743276b8f000-743276bfe000 r--p 0009c000 103:02 48134302                  /usr/lib/x86_64-linux-gnu/libm.so.6
743276bfe000-743276bff000 r--p 0010a000 103:02 48134302                  /usr/lib/x86_64-linux-gnu/libm.so.6
743276bff000-743276c00000 rw-p 0010b000 103:02 48134302                  /usr/lib/x86_64-linux-gnu/libm.so.6
743276c00000-743276c60000 r--p 00000000 103:02 80372578                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1.0
743276c60000-74327728f000 r-xp 00060000 103:02 80372578                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1.0
74327728f000-743277477000 r--p 0068f000 103:02 80372578                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1.0
743277477000-74327749f000 r--p 00877000 103:02 80372578                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1.0
74327749f000-7432774a6000 rw-p 0089f000 103:02 80372578                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/libruby.so.4.1.0
7432774a6000-7432774bd000 rw-p 00000000 00:00 0
7432774c9000-7432774cd000 rw-p 00000000 00:00 0
7432774cd000-7432774cf000 r--p 00000000 103:02 48105802                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7432774cf000-7432774e4000 r-xp 00002000 103:02 48105802                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7432774e4000-7432774fd000 r--p 00017000 103:02 48105802                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7432774fd000-7432774fe000 r--p 0002f000 103:02 48105802                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7432774fe000-7432774ff000 rw-p 00030000 103:02 48105802                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7432774ff000-743277507000 rw-p 00000000 00:00 0
743277507000-743277511000 r--p 00000000 103:02 48112326                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
743277511000-743277576000 r-xp 0000a000 103:02 48112326                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
743277576000-74327758b000 r--p 0006f000 103:02 48112326                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
74327758b000-74327758c000 r--p 00083000 103:02 48112326                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
74327758c000-74327758d000 rw-p 00084000 103:02 48112326                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
74327758d000-743277590000 r--p 00000000 103:02 48103922                  /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
743277590000-7432775a3000 r-xp 00003000 103:02 48103922                  /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7432775a3000-7432775ab000 r--p 00016000 103:02 48103922                  /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7432775ab000-7432775ac000 r--p 0001d000 103:02 48103922                  /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7432775ac000-7432775ad000 rw-p 0001e000 103:02 48103922                  /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7432775b0000-7432775c0000 rw-p 00000000 00:00 0                          [anon:Ruby:GC:default:heap_page_body_allocate]
7432775c1000-7432775c2000 r--p 00000000 103:02 80376884                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/trans/transdb.so
7432775c2000-7432775c4000 r-xp 00001000 103:02 80376884                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/trans/transdb.so
7432775c4000-7432775c5000 r--p 00003000 103:02 80376884                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/trans/transdb.so
7432775c5000-7432775c6000 r--p 00003000 103:02 80376884                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/trans/transdb.so
7432775c6000-7432775c7000 rw-p 00004000 103:02 80376884                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/trans/transdb.so
7432775c7000-7432775c8000 r--p 00000000 103:02 80374180                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/encdb.so
7432775c8000-7432775c9000 r-xp 00001000 103:02 80374180                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/encdb.so
7432775c9000-7432775ca000 r--p 00002000 103:02 80374180                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/encdb.so
7432775ca000-7432775cb000 r--p 00002000 103:02 80374180                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/encdb.so
7432775cb000-7432775cc000 rw-p 00003000 103:02 80374180                  /home/mame/.local/share/mise/installs/ruby/ruby-dev/lib/ruby/4.1.0+3/x86_64-linux/enc/encdb.so
7432775cc000-7432775cd000 rw-p 00000000 00:00 0
7432775cd000-7432775ce000 rw-p 00000000 00:00 0
7432775ce000-7432775d0000 rw-p 00000000 00:00 0
7432775d0000-7432775d4000 r--p 00000000 00:00 0                          [vvar]
7432775d4000-7432775d6000 r--p 00000000 00:00 0                          [vvar_vclock]
7432775d6000-7432775d8000 r-xp 00000000 00:00 0                          [vdso]
7432775d8000-7432775d9000 r--p 00000000 103:02 48134270                  /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
7432775d9000-743277607000 r-xp 00001000 103:02 48134270                  /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
743277607000-743277615000 r--p 0002f000 103:02 48134270                  /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
743277615000-743277617000 r--p 0003d000 103:02 48134270                  /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
743277617000-743277618000 rw-p 0003f000 103:02 48134270                  /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
743277618000-743277619000 rw-p 00000000 00:00 0
7ffd90e74000-7ffd90e95000 rw-p 00000000 00:00 0                          [stack]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  [vsyscall]


Segmentation fault

Updated by mame (Yusuke Endoh) about 4 hours ago Actions #1 [ruby-core:125773]

  • Status changed from Assigned to Rejected
Actions

Also available in: PDF Atom