From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 2E9DD1F4B4 for ; Tue, 26 Jan 2021 08:55:23 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 69E4A120AE2; Tue, 26 Jan 2021 17:54:30 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id D3BEA120AE1 for ; Tue, 26 Jan 2021 17:54:28 +0900 (JST) Received: by filterdrecv-p3mdw1-7cc5db4d68-jkhdv with SMTP id filterdrecv-p3mdw1-7cc5db4d68-jkhdv-19-600FD8F5-56 2021-01-26 08:55:17.808401594 +0000 UTC m=+46588.797002084 Received: from herokuapp.com (unknown) by ismtpd0141p1mdw1.sendgrid.net (SG) with ESMTP id tbDbsjkcRyKlmQDTYjWQiw for ; Tue, 26 Jan 2021 08:55:17.762 +0000 (UTC) Date: Tue, 26 Jan 2021 08:55:17 +0000 (UTC) From: yoshiokatsuneo@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 78161 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 17583 X-Redmine-Issue-Author: yoshiokatsuneo X-Redmine-Sender: yoshiokatsuneo X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?nKA0czjlsZ4tpGGeWpyghxLp61e45CTobdWl4XvRv=2FpOam612jtqmsM=2FjrWwvI?= =?us-ascii?Q?TeMQuIicqvNJTQY7aAISp0HlJIyfCUywgSpIaC2?= =?us-ascii?Q?Uu7KYOFf94oDItuQgKTa4+eJlcudyn7HKTNAUPK?= =?us-ascii?Q?R=2FRgaUY88C5+5MAyeL2PVtZrFLhONUeOhxjXg0=2F?= =?us-ascii?Q?9k7hzYWFGqSaOLwFxVQu=2FzPFXNQkgO1v34qhEGK?= =?us-ascii?Q?7XMt=2F3dKQTEo65BZ8=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 102249 Subject: [ruby-core:102249] [Ruby master Bug#17583] Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE) X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #17583 has been reported by yoshiokatsuneo (Tsuneo Yoshioka). ---------------------------------------- Bug #17583: Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE) https://bugs.ruby-lang.org/issues/17583 * Author: yoshiokatsuneo (Tsuneo Yoshioka) * Status: Open * Priority: Normal * ruby -v: 3.0.0 * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- When I set large stack size like 100MB using RUBY_THREAD_VM_STACK_SIZE, I get the segmentation fault. The error looks happens when RUBY_THREAD_VM_STACK_SIZE is larger than around 17MB. How to reproduce: ``` ruby $ RUBY_THREAD_VM_STACK_SIZE=17000000 RUBY_THREAD_MACHINE_STACK_SIZE=1000000 ruby -e '' ``` Output: ``` root@158c25395b8b:/# RUBY_THREAD_VM_STACK_SIZE=17000000 RUBY_THREAD_MACHINE_STACK_SIZE=1000000 ruby -e '' /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so: [BUG] Segmentation fault at 0x0000000000000018 ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0002 p:-2232118 s:0006 e:000005 TOP [FINISH] c:0001 p:0000 s:0003 E:001ae0 (none) [FINISH] -- Machine register context ------------------------------------------------ RIP: 0x00007f9e79c88990 RBP: 0x00007ffce03464c0 RSP: 0x00007ffce03463e0 RAX: 0x0000000000000000 RBX: 0x00007f9e79dde148 RCX: 0x0000000000000000 RDX: 0x0000000001048020 RDI: 0x00000000010a03b0 RSI: 0x000000000000755b R8: 0x77f6cd17bb094f82 R9: 0x00000000010a3fc0 R10: 0x0000000000000006 R11: 0x70df9a48ab1d93ce R12: 0x00000000010a03b0 R13: 0x0000000000000001 R14: 0x000000000000755b R15: 0x0000000001048020 EFL: 0x0000000000010206 -- C level backtrace information ------------------------------------------- /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_print_backtrace+0x14) [0x7f9e79cbd33f] vm_dump.c:758 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_vm_bugreport) vm_dump.c:998 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(bug_report_end+0x0) [0x7f9e79ae1d73] error.c:786 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_bug_for_fatal_signal) error.c:786 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(sigsegv+0x51) [0x7f9e79c16e71] signal.c:960 /lib/x86_64-linux-gnu/libpthread.so.0(__restore_rt+0x0) [0x7f9e799c43c0] ../sysdeps/pthread/funlockfile.c:28 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_const_set+0x90) [0x7f9e79c88990] variable.c:3020 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(set_encoding_const+0xa1) [0x7f9e79acab21] encoding.c:1832 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_multi_ractor_p+0x0) [0x7f9e79acb6ad] encoding.c:591 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_vm_lock_leave) ./vm_sync.h:93 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_encdb_replicate) encoding.c:614 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so(Init_encdb+0x5c1) [0x7f9e799fc731] ./encdb.h:101 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so(Init_encdb) (null):0 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(dln_load+0xf8) [0x7f9e79a36588] dln.c:1374 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(rb_vm_call_cfunc+0x11a) [0x7f9e79ca6b6a] vm.c:2466 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(require_internal+0x3ae) [0x7f9e79b465ee] load.c:1071 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(ruby_require_internal+0x45) [0x7f9e79b46845] load.c:1133 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(Init_enc+0x12) [0x7f9e79cca3a2] dmyenc.c:7 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(process_options+0x20e59b) [0x7f9e79c0f2f6] ruby.c:1840 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(ruby_process_options) ruby.c:2571 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0(ruby_options+0x1a2) [0x7f9e79aec862] eval.c:138 /usr/local/rbenv/versions/3.0.0/bin/ruby(main+0x55) [0x4011e5] ./main.c:50 -- Other runtime information ----------------------------------------------- * Loaded script: ruby * Loaded features: 0 enumerator.so 1 thread.rb 2 rational.so 3 complex.so 4 ruby2_keywords.rb * Process memory map: 00400000-00401000 r--p 00000000 fe:01 5111 /usr/local/rbenv/versions/3.0.0/bin/ruby 00401000-00402000 r-xp 00001000 fe:01 5111 /usr/local/rbenv/versions/3.0.0/bin/ruby 00402000-00403000 r--p 00002000 fe:01 5111 /usr/local/rbenv/versions/3.0.0/bin/ruby 00403000-00404000 r--p 00002000 fe:01 5111 /usr/local/rbenv/versions/3.0.0/bin/ruby 00404000-00405000 rw-p 00003000 fe:01 5111 /usr/local/rbenv/versions/3.0.0/bin/ruby 00fe6000-01145000 rw-p 00000000 00:00 0 [heap] 7f9e72b18000-7f9e73baa000 r--s 00000000 fe:01 942375 /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.31.so 7f9e73baa000-7f9e73d9a000 r--s 00000000 fe:01 3310011 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f9e73d9a000-7f9e7400e000 r--s 00000000 fe:01 942368 /usr/lib/debug/.build-id/4f/c5fc33f4429136a494c640b113d76f610e4abc.debug 7f9e7400e000-7f9e74035000 r--s 00000000 fe:01 3310068 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f9e74035000-7f9e7480d000 rw-p 00000000 00:00 0 7f9e7480d000-7f9e7508b000 r--s 00000000 fe:01 9797 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0.0 7f9e7508b000-7f9e7508e000 r--p 00000000 fe:01 655755 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f9e7508e000-7f9e750a0000 r-xp 00003000 fe:01 655755 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f9e750a0000-7f9e750a4000 r--p 00015000 fe:01 655755 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f9e750a4000-7f9e750a5000 r--p 00018000 fe:01 655755 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f9e750a5000-7f9e750a6000 rw-p 00019000 fe:01 655755 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f9e750b8000-7f9e750b9000 ---p 00000000 00:00 0 7f9e750b9000-7f9e7515a000 rw-p 00000000 00:00 0 7f9e7515a000-7f9e7515b000 ---p 00000000 00:00 0 7f9e7515b000-7f9e751fc000 rw-p 00000000 00:00 0 7f9e751fc000-7f9e751fd000 ---p 00000000 00:00 0 7f9e751fd000-7f9e7529e000 rw-p 00000000 00:00 0 7f9e7529e000-7f9e7529f000 ---p 00000000 00:00 0 7f9e7529f000-7f9e75340000 rw-p 00000000 00:00 0 7f9e75340000-7f9e75341000 ---p 00000000 00:00 0 7f9e75341000-7f9e753e2000 rw-p 00000000 00:00 0 7f9e753e2000-7f9e753e3000 ---p 00000000 00:00 0 7f9e753e3000-7f9e75484000 rw-p 00000000 00:00 0 7f9e75484000-7f9e75485000 ---p 00000000 00:00 0 7f9e75485000-7f9e75526000 rw-p 00000000 00:00 0 7f9e75526000-7f9e75527000 ---p 00000000 00:00 0 7f9e75527000-7f9e755c8000 rw-p 00000000 00:00 0 7f9e755c8000-7f9e755c9000 ---p 00000000 00:00 0 7f9e755c9000-7f9e7566a000 rw-p 00000000 00:00 0 7f9e7566a000-7f9e7566b000 ---p 00000000 00:00 0 7f9e7566b000-7f9e7570c000 rw-p 00000000 00:00 0 7f9e7570c000-7f9e7570d000 ---p 00000000 00:00 0 7f9e7570d000-7f9e757ae000 rw-p 00000000 00:00 0 7f9e757ae000-7f9e757af000 ---p 00000000 00:00 0 7f9e757af000-7f9e75850000 rw-p 00000000 00:00 0 7f9e75850000-7f9e75851000 ---p 00000000 00:00 0 7f9e75851000-7f9e758f2000 rw-p 00000000 00:00 0 7f9e758f2000-7f9e758f3000 ---p 00000000 00:00 0 7f9e758f3000-7f9e75994000 rw-p 00000000 00:00 0 7f9e75994000-7f9e75995000 ---p 00000000 00:00 0 7f9e75995000-7f9e75a36000 rw-p 00000000 00:00 0 7f9e75a36000-7f9e75a37000 ---p 00000000 00:00 0 7f9e75a37000-7f9e75ad8000 rw-p 00000000 00:00 0 7f9e75ad8000-7f9e75ad9000 ---p 00000000 00:00 0 7f9e75ad9000-7f9e75b7a000 rw-p 00000000 00:00 0 7f9e75b7a000-7f9e75b7b000 ---p 00000000 00:00 0 7f9e75b7b000-7f9e75c1c000 rw-p 00000000 00:00 0 7f9e75c1c000-7f9e75c1d000 ---p 00000000 00:00 0 7f9e75c1d000-7f9e75cbe000 rw-p 00000000 00:00 0 7f9e75cbe000-7f9e75cbf000 ---p 00000000 00:00 0 7f9e75cbf000-7f9e75d60000 rw-p 00000000 00:00 0 7f9e75d60000-7f9e75d61000 ---p 00000000 00:00 0 7f9e75d61000-7f9e75e02000 rw-p 00000000 00:00 0 7f9e75e02000-7f9e75e03000 ---p 00000000 00:00 0 7f9e75e03000-7f9e75ea4000 rw-p 00000000 00:00 0 7f9e75ea4000-7f9e75ea5000 ---p 00000000 00:00 0 7f9e75ea5000-7f9e75f46000 rw-p 00000000 00:00 0 7f9e75f46000-7f9e75f47000 ---p 00000000 00:00 0 7f9e75f47000-7f9e75fe8000 rw-p 00000000 00:00 0 7f9e75fe8000-7f9e75fe9000 ---p 00000000 00:00 0 7f9e75fe9000-7f9e7608a000 rw-p 00000000 00:00 0 7f9e7608a000-7f9e7608b000 ---p 00000000 00:00 0 7f9e7608b000-7f9e7612c000 rw-p 00000000 00:00 0 7f9e7612c000-7f9e7612d000 ---p 00000000 00:00 0 7f9e7612d000-7f9e761ce000 rw-p 00000000 00:00 0 7f9e761ce000-7f9e761cf000 ---p 00000000 00:00 0 7f9e761cf000-7f9e76270000 rw-p 00000000 00:00 0 7f9e76270000-7f9e76271000 ---p 00000000 00:00 0 7f9e76271000-7f9e76312000 rw-p 00000000 00:00 0 7f9e76312000-7f9e76313000 ---p 00000000 00:00 0 7f9e76313000-7f9e763b4000 rw-p 00000000 00:00 0 7f9e763b4000-7f9e763b5000 ---p 00000000 00:00 0 7f9e763b5000-7f9e76456000 rw-p 00000000 00:00 0 7f9e76456000-7f9e76457000 ---p 00000000 00:00 0 7f9e76457000-7f9e7959c000 rw-p 00000000 00:00 0 7f9e7959c000-7f9e795c1000 r--p 00000000 fe:01 3310011 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f9e795c1000-7f9e79739000 r-xp 00025000 fe:01 3310011 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f9e79739000-7f9e79783000 r--p 0019d000 fe:01 3310011 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f9e79783000-7f9e79784000 ---p 001e7000 fe:01 3310011 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f9e79784000-7f9e79787000 r--p 001e7000 fe:01 3310011 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f9e79787000-7f9e7978a000 rw-p 001ea000 fe:01 3310011 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f9e7978a000-7f9e7978e000 rw-p 00000000 00:00 0 7f9e7978e000-7f9e7979d000 r--p 00000000 fe:01 3310030 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f9e7979d000-7f9e79844000 r-xp 0000f000 fe:01 3310030 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f9e79844000-7f9e798db000 r--p 000b6000 fe:01 3310030 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f9e798db000-7f9e798dc000 r--p 0014c000 fe:01 3310030 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f9e798dc000-7f9e798dd000 rw-p 0014d000 fe:01 3310030 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f9e798dd000-7f9e798df000 r--p 00000000 fe:01 655737 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f9e798df000-7f9e798f4000 r-xp 00002000 fe:01 655737 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f9e798f4000-7f9e7990e000 r--p 00017000 fe:01 655737 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f9e7990e000-7f9e7990f000 r--p 00030000 fe:01 655737 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f9e7990f000-7f9e79910000 rw-p 00031000 fe:01 655737 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f9e79910000-7f9e7991a000 rw-p 00000000 00:00 0 7f9e7991a000-7f9e7991b000 r--p 00000000 fe:01 3310016 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f9e7991b000-7f9e7991d000 r-xp 00001000 fe:01 3310016 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f9e7991d000-7f9e7991e000 r--p 00003000 fe:01 3310016 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f9e7991e000-7f9e7991f000 r--p 00003000 fe:01 3310016 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f9e7991f000-7f9e79920000 rw-p 00004000 fe:01 3310016 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f9e79920000-7f9e7992a000 r--p 00000000 fe:01 3310021 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f9e7992a000-7f9e7998a000 r-xp 0000a000 fe:01 3310021 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f9e7998a000-7f9e799a1000 r--p 0006a000 fe:01 3310021 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f9e799a1000-7f9e799a2000 ---p 00081000 fe:01 3310021 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f9e799a2000-7f9e799a3000 r--p 00081000 fe:01 3310021 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f9e799a3000-7f9e799a4000 rw-p 00082000 fe:01 3310021 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f9e799a4000-7f9e799a7000 r--p 00000000 fe:01 3310072 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f9e799a7000-7f9e799ab000 r-xp 00003000 fe:01 3310072 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f9e799ab000-7f9e799ac000 r--p 00007000 fe:01 3310072 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f9e799ac000-7f9e799ad000 ---p 00008000 fe:01 3310072 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f9e799ad000-7f9e799ae000 r--p 00008000 fe:01 3310072 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f9e799ae000-7f9e799af000 rw-p 00009000 fe:01 3310072 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f9e799af000-7f9e799b6000 r--p 00000000 fe:01 3310068 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f9e799b6000-7f9e799c7000 r-xp 00007000 fe:01 3310068 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f9e799c7000-7f9e799cc000 r--p 00018000 fe:01 3310068 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f9e799cc000-7f9e799cd000 r--p 0001c000 fe:01 3310068 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f9e799cd000-7f9e799ce000 rw-p 0001d000 fe:01 3310068 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f9e799ce000-7f9e799d2000 rw-p 00000000 00:00 0 7f9e799d2000-7f9e799d4000 r--p 00000000 fe:01 655860 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f9e799d4000-7f9e799e5000 r-xp 00002000 fe:01 655860 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f9e799e5000-7f9e799eb000 r--p 00013000 fe:01 655860 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f9e799eb000-7f9e799ec000 ---p 00019000 fe:01 655860 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f9e799ec000-7f9e799ed000 r--p 00019000 fe:01 655860 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f9e799ed000-7f9e799ee000 rw-p 0001a000 fe:01 655860 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f9e799f1000-7f9e799f6000 r--s 00000000 fe:01 18174 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so 7f9e799f6000-7f9e799fb000 r--s 00000000 fe:01 5111 /usr/local/rbenv/versions/3.0.0/bin/ruby 7f9e799fb000-7f9e799fc000 r--p 00000000 fe:01 18174 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so 7f9e799fc000-7f9e799fd000 r-xp 00001000 fe:01 18174 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so 7f9e799fd000-7f9e799fe000 r--p 00002000 fe:01 18174 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so 7f9e799fe000-7f9e799ff000 r--p 00002000 fe:01 18174 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so 7f9e799ff000-7f9e79a00000 rw-p 00003000 fe:01 18174 /usr/local/rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/enc/encdb.so 7f9e79a00000-7f9e79a31000 r--p 00000000 fe:01 9797 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0.0 7f9e79a31000-7f9e79ccb000 r-xp 00031000 fe:01 9797 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0.0 7f9e79ccb000-7f9e79dc3000 r--p 002cb000 fe:01 9797 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0.0 7f9e79dc3000-7f9e79dc4000 ---p 003c3000 fe:01 9797 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0.0 7f9e79dc4000-7f9e79dcb000 r--p 003c3000 fe:01 9797 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0.0 7f9e79dcb000-7f9e79dce000 rw-p 003ca000 fe:01 9797 /usr/local/rbenv/versions/3.0.0/lib/libruby.so.3.0.0 7f9e79dce000-7f9e79de1000 rw-p 00000000 00:00 0 7f9e79de1000-7f9e79de2000 r--p 00000000 fe:01 3310000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f9e79de2000-7f9e79e05000 r-xp 00001000 fe:01 3310000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f9e79e05000-7f9e79e0d000 r--p 00024000 fe:01 3310000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f9e79e0e000-7f9e79e0f000 r--p 0002c000 fe:01 3310000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f9e79e0f000-7f9e79e10000 rw-p 0002d000 fe:01 3310000 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f9e79e10000-7f9e79e11000 rw-p 00000000 00:00 0 7ffca32bb000-7ffce034a000 rw-p 00000000 00:00 0 [stack] 7ffce0356000-7ffce0359000 r--p 00000000 00:00 0 [vvar] 7ffce0359000-7ffce035b000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted ``` I confirmed that the problem happens on both Ubuntu 20.04 and macOS(Big Sur/11.1) . -- https://bugs.ruby-lang.org/