ml.ruby-lang.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

ruby-core

Thread Start a new thread
Download
Threads by month
  • ----- 2025 -----
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
ruby-core@ml.ruby-lang.org

June 2024

  • 1 participants
  • 209 discussions
[ruby-core:118398] [Ruby master Bug#20597] `eval('break if false')` should raise SyntaxError but retuns nil
by tompng (tomoya ishida) 03 Jul '24

03 Jul '24
Issue #20597 has been reported by tompng (tomoya ishida). ---------------------------------------- Bug #20597: `eval('break if false')` should raise SyntaxError but retuns nil https://bugs.ruby-lang.org/issues/20597 * Author: tompng (tomoya ishida) * Status: Open * ruby -v: ruby 3.4.0dev (2024-06-27T13:47:22Z master c6a0d03649) [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- These are all SyntaxError (Invalid break, compile error (SyntaxError)) ~~~ruby ruby -ce "break if false" ruby -ce "break if (false)" ruby -ce "break if nil" ruby -ce "break if (nil)" ruby -ce "break if 0>1" ~~~ But when it is passed to `eval`, some of them does not raise SyntaxError but return nil. ~~~ruby eval('break if false') #=> nil eval('break if (false)') #=> nil eval('break if nil') #=> nil eval('break if (nil)') #=> Can't escape from eval with break (SyntaxError) eval('break if 0>1') #=> Can't escape from eval with break (SyntaxError) ~~~ Same behavior with `next` `redo` and `yield` -- https://bugs.ruby-lang.org/
2 1
0 0
[ruby-core:118365] [Ruby master Feature#20589] Resize array in `rb_ary_freeze` and use `rb_ary_freeze` internally for arrays
by eileencodes (Eileen Uchitelle) 03 Jul '24

03 Jul '24
Issue #20589 has been reported by eileencodes (Eileen Uchitelle). ---------------------------------------- Feature #20589: Resize array in `rb_ary_freeze` and use `rb_ary_freeze` internally for arrays https://bugs.ruby-lang.org/issues/20589 * Author: eileencodes (Eileen Uchitelle) * Status: Open ---------------------------------------- GitHub PR https://github.com/ruby/ruby/pull/11030 This is a redo of https://github.com/ruby/ruby/pull/2640 and a new issue for the array portion of https://bugs.ruby-lang.org/issues/16291 because both are stale. This change proposes the following: 1) Call `ary_shrink_capa` from `rb_ary_freeze` to resize arrays before freezing (if they are not embedded, not shared, and not a shared root). 2) Update callers to use `rb_ary_freeze` instead of `rb_obj_freeze` internally in CRuby/ 3) Add an assertion to `ary_heap_realloc` that ensures frozen arrays are not being reallocated.\ The orignal issue implemented this for performance reasons, which are still valid. However, additionally this ensures that frozen arrays are not being passed to `ary_heap_realloc` and also ensures the capacity is set with `ARY_SET_CAPA` in `ary_shrink_capa`. Previously, because `ARY_SET_CAPA` was not called, `ary_heap_realloc` would get called after the array was frozen (when that is unnecessary). Array memsize before and after this change: Before: ```ruby $ require 'objspace' => false $ a = (1..5).to_a => [1, 2, 3, 4, 5] $ ObjectSpace.memsize_of(a) => 200 $ a.freeze => [1, 2, 3, 4, 5] $ ObjectSpace.memsize_of(a) => 200 ``` After: ```ruby $ require 'objspace' => false $ a = (1..5).to_a => [1, 2, 3, 4, 5] $ ObjectSpace.memsize_of(a) => 200 $ a.freeze => [1, 2, 3, 4, 5] $ ObjectSpace.memsize_of(a) => 80 ``` -- https://bugs.ruby-lang.org/
2 1
0 0
[ruby-core:118401] [Ruby master Bug#20599] TypeError: #<BaseMailer:0x00000000008070> is not a symbol nor a string since 4cbc41d5e5cb6793174d5964975fdb4470323ca1 with YJIT enabled
by yahonda (Yasuo Honda) 01 Jul '24

01 Jul '24
Issue #20599 has been reported by yahonda (Yasuo Honda). ---------------------------------------- Bug #20599: TypeError: #<BaseMailer:0x00000000008070> is not a symbol nor a string since 4cbc41d5e5cb6793174d5964975fdb4470323ca1 with YJIT enabled https://bugs.ruby-lang.org/issues/20599 * Author: yahonda (Yasuo Honda) * Status: Open * ruby -v: ruby 3.4.0dev (2024-06-26T20:01:26Z :detached: 4cbc41d5e5) [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- https://buildkite.com/rails/rails-nightly/builds/711#01905b80-6b82-460c-908… ### Steps to reproduce ``` git clone https://github.com/rails/rails cd rails/actionmailer bundle install RUBY_YJIT_ENABLE=1 bin/test test/base_test.rb --seed 51482 ``` ### Expected behavior It should pass. ### Actual behavior It raises `TypeError: #<BaseMailer:0x00000000006cc0> is not a symbol nor a string` as follows. ```ruby ``` $ RUBY_YJIT_ENABLE=1 bin/test test/base_test.rb --seed 51482 Run options: --seed 51482 # Running: .............................E Error: BaseTest#test_explicit_multipart_with_one_template_has_the_expected_format: TypeError: #<BaseMailer:0x00000000006cc0> is not a symbol nor a string /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/base.rb:226:in 'AbstractController::Base#process_action' /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:261:in 'block in AbstractController::Callbacks#process_action' /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/callbacks.rb:101:in 'ActiveSupport::Callbacks#run_callbacks' /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:260:in 'AbstractController::Callbacks#process_action' /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/base.rb:163:in 'AbstractController::Base#process' lib/action_mailer/rescuable.rb:29:in 'block in ActionMailer::Rescuable#process' lib/action_mailer/rescuable.rb:21:in 'ActionMailer::Rescuable#handle_exceptions' lib/action_mailer/rescuable.rb:28:in 'ActionMailer::Rescuable#process' /home/yahonda/src/github.com/rails/rails/actionview/lib/action_view/rendering.rb:40:in 'ActionView::Rendering#process' lib/action_mailer/base.rb:657:in 'block in ActionMailer::Base#process' /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/notifications.rb:212:in 'ActiveSupport::Notifications.instrument' lib/action_mailer/base.rb:656:in 'ActionMailer::Base#process' lib/action_mailer/message_delivery.rb:136:in 'block in ActionMailer::MessageDelivery#processed_mailer' <internal:kernel>:91:in 'Kernel#tap' lib/action_mailer/message_delivery.rb:135:in 'ActionMailer::MessageDelivery#processed_mailer' lib/action_mailer/message_delivery.rb:32:in 'ActionMailer::MessageDelivery#__getobj__' /home/yahonda/.rbenv/versions/trunk/lib/ruby/3.4.0+0/delegate.rb:84:in 'Delegator#method_missing' test/base_test.rb:538:in 'block in <class:BaseTest>' bin/test test/base_test.rb:536 E Error: BaseTest#test_explicit_multipart: TypeError: #<BaseMailer:0x00000000006d10> is not a symbol nor a string /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/base.rb:226:in 'AbstractController::Base#process_action' /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:261:in 'block in AbstractController::Callbacks#process_action' /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/callbacks.rb:101:in 'ActiveSupport::Callbacks#run_callbacks' /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:260:in 'AbstractController::Callbacks#process_action' /home/yahonda/src/github.com/rails/rails/actionpack/lib/abstract_controller/base.rb:163:in 'AbstractController::Base#process' lib/action_mailer/rescuable.rb:29:in 'block in ActionMailer::Rescuable#process' lib/action_mailer/rescuable.rb:21:in 'ActionMailer::Rescuable#handle_exceptions' lib/action_mailer/rescuable.rb:28:in 'ActionMailer::Rescuable#process' /home/yahonda/src/github.com/rails/rails/actionview/lib/action_view/rendering.rb:40:in 'ActionView::Rendering#process' lib/action_mailer/base.rb:657:in 'block in ActionMailer::Base#process' /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/notifications.rb:212:in 'ActiveSupport::Notifications.instrument' lib/action_mailer/base.rb:656:in 'ActionMailer::Base#process' lib/action_mailer/message_delivery.rb:136:in 'block in ActionMailer::MessageDelivery#processed_mailer' <internal:kernel>:91:in 'Kernel#tap' lib/action_mailer/message_delivery.rb:135:in 'ActionMailer::MessageDelivery#processed_mailer' lib/action_mailer/message_delivery.rb:32:in 'ActionMailer::MessageDelivery#__getobj__' /home/yahonda/.rbenv/versions/trunk/lib/ruby/3.4.0+0/delegate.rb:84:in 'Delegator#method_missing' test/base_test.rb:468:in 'block in <class:BaseTest>' bin/test test/base_test.rb:466 .E ... snip ... 100 runs, 119 assertions, 1 failures, 52 errors, 0 skips ``` According to git bisect, this type error reported since 4cbc41d5e5cb6793174d5964975fdb4470323ca1 It does not reproduce without YJIT enabled like `$ bin/test test/base_test.rb --seed 51482` -- https://bugs.ruby-lang.org/
2 2
0 0
[ruby-core:115937] [Ruby master Bug#20099] Ruby 3.3.0 segfaults on s390x musl libc (Alpine Linux)
by jirutka (Jakub Jirutka) 01 Jul '24

01 Jul '24
Issue #20099 has been reported by jirutka (Jakub Jirutka). ---------------------------------------- Bug #20099: Ruby 3.3.0 segfaults on s390x musl libc (Alpine Linux) https://bugs.ruby-lang.org/issues/20099 * Author: jirutka (Jakub Jirutka) * Status: Open * Priority: Normal * ruby -v: 3.3.0 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ``` Configuration summary for ruby version 3.3.0 * Installation prefix: /usr * exec prefix: ${prefix} * arch: s390x-linux-musl * site arch: ${arch} * RUBY_BASE_NAME: ruby * enable shared: yes * ruby lib prefix: ${libdir}/${RUBY_BASE_NAME} * site libraries path: ${rubylibprefix}/${sitearch} * vendor path: ${rubylibprefix}/vendor_ruby * target OS: linux-musl * compiler: gcc * with thread: pthread * with coroutine: ucontext * enable shared libs: yes * dynamic library ext: so * CFLAGS: ${optflags} ${debugflags} ${warnflags} * LDFLAGS: -L. -Wl,--as-needed,-O1,--sort-common \ -fstack-protector-strong -rdynamic \ -Wl,-export-dynamic -Wl,--no-as-needed * DLDFLAGS: -Wl,--as-needed,-O1,--sort-common \ -Wl,--compress-debug-sections=zlib * optflags: -O3 -fno-fast-math * debugflags: -ggdb3 * warnflags: -Wall -Wextra -Wdeprecated-declarations \ -Wdiv-by-zero -Wduplicated-cond \ -Wimplicit-function-declaration -Wimplicit-int \ -Wpointer-arith -Wwrite-strings \ -Wold-style-definition -Wimplicit-fallthrough=0 \ -Wmissing-noreturn -Wno-cast-function-type \ -Wno-constant-logical-operand -Wno-long-long \ -Wno-missing-field-initializers \ -Wno-overlength-strings \ -Wno-packed-bitfield-compat \ -Wno-parentheses-equality -Wno-self-assign \ -Wno-tautological-compare -Wno-unused-parameter \ -Wno-unused-value -Wsuggest-attribute=format \ -Wsuggest-attribute=noreturn -Wunused-variable \ -Wmisleading-indentation -Wundef * strip command: strip -S -x * install doc: rdoc * YJIT support: no * RJIT support: no * man page type: man * search path: /usr/lib/site_ruby/$(ruby_ver)/s390x-linux --- BASERUBY = ./tool/missing-baseruby.bat CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -O2 -fstack-clash-protection -Wformat -Werror=format-security -g -fno-omit-frame-pointer -fno-strict-aliasing -fPIC XCFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/s390x-linux-musl -I./include -I. -I./prism -I./enc/unicode/15.0.0 CPPFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing DLDFLAGS = -Wl,--as-needed,-O1,--sort-common -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.3.3 -fstack-protector-strong SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread -lucontext LANG = LC_ALL = LC_CTYPE = MFLAGS = -j8 --jobserver-auth=fifo:/tmp/GMfifo7323 RUSTC = no YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/builds/alpine/aports/main/ruby/src/ruby-3.3.0/yjit/target/release/' ./yjit/src/lib.rs ``` ``` 2023-12-26 20:45:17 +0000 Driver is ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [s390x-linux-musl] Target is ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [s390x-linux-musl] .............................................................................. .............................................................................. .............................................................................. .............................................................................. ................................................................EA core file is found. Saving it at: "/tmp/bootstraptest-core.2023-12-26T20:45:18Z" ["gdb", "/builds/alpine/aports/main/ruby/src/ruby-3.3.0/ruby -I/builds/alpine/aports/main/ruby/src/ruby-3.3.0/lib --disable-gems", "-c", "/tmp/bootstraptest-core.2023-12-26T20:45:18Z", "-ex", "bt", "-batch"] ...EA core file is found. Saving it at: "/tmp/bootstraptest-core.2023-12-26T20:45:19Z" ["gdb", "/builds/alpine/aports/main/ruby/src/ruby-3.3.0/ruby -I/builds/alpine/aports/main/ruby/src/ruby-3.3.0/lib --disable-gems", "-c", "/tmp/bootstraptest-core.2023-12-26T20:45:19Z", "-ex", "bt", "-batch"] .....Fstderr output is not empty [BUG] Segmentation fault at 0x000007fece67a000 ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [s390x-linux-musl] -- Control frame information ----------------------------------------------- c:0001 p:---- s:0003 e:000002 DUMMY [FINISH] -- Threading information --------------------------------------------------- Total ractor count: 2 Ruby thread count for this ractor: 1 -- Other runtime information ----------------------------------------------- * Loaded script: bootstraptest.test_ractor.rb_244_1238.rb * Loaded features: 0 enumerator.so 1 thread.rb 2 fiber.so 3 rational.so 4 complex.so 5 ruby2_keywords.rb 6 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/encdb.so 7 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/trans/transdb.so * Process memory map: 2aa25e00000-2aa25e01000 r-xp 00000000 fe:00 2520910 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/ruby 2aa25e01000-2aa25e02000 r--p 00000000 fe:00 2520910 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/ruby 2aa25e02000-2aa25e03000 rw-p 00001000 fe:00 2520910 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/ruby 2aa2765d000-2aa2765e000 ---p 00000000 00:00 0 [heap] 2aa2765e000-2aa27664000 rw-p 00000000 00:00 0 [heap] 3ff572a8000-3ff572aa000 ---p 00000000 00:00 0 3ff572aa000-3ff572d0000 rw-p 00000000 00:00 0 3ff572d0000-3ff572d2000 ---p 00000000 00:00 0 3ff572d2000-3ff573f9000 rw-p 00000000 00:00 0 3ff573f9000-3ff573fa000 ---p 00000000 00:00 0 3ff573fa000-3ff5751a000 rw-p 00000000 00:00 0 3ff5751a000-3ff5751b000 ---p 00000000 00:00 0 3ff5751b000-3ff77300000 rw-p 00000000 00:00 0 3ff77300000-3ff77302000 r-xp 00000000 fe:00 2520334 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/trans/transdb.so 3ff77302000-3ff77303000 r--p 00002000 fe:00 2520334 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/trans/transdb.so 3ff77303000-3ff77304000 rw-p 00003000 fe:00 2520334 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/trans/transdb.so 3ff77307000-3ff77309000 rw-p 00000000 00:00 0 3ff7730b000-3ff7730e000 rw-p 00000000 00:00 0 3ff77310000-3ff77330000 rw-p 00000000 00:00 0 3ff77332000-3ff77337000 rw-p 00000000 00:00 0 3ff77339000-3ff7733a000 rw-p 00000000 00:00 0 3ff7733b000-3ff7733e000 rw-p 00000000 00:00 0 3ff77340000-3ff77380000 rw-p 00000000 00:00 0 3ff77380000-3ff77382000 r-xp 00000000 fe:00 2520245 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/encdb.so 3ff77382000-3ff77383000 r--p 00001000 fe:00 2520245 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/encdb.so 3ff77383000-3ff77384000 rw-p 00002000 fe:00 2520245 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/.ext/s390x-linux-musl/enc/encdb.so 3ff77384000-3ff7739c000 rw-p 00000000 00:00 0 3ff7739c000-3ff7739d000 ---p 00000000 00:00 0 3ff7739d000-3ff773de000 rw-p 00000000 00:00 0 3ff773de000-3ff773df000 ---p 00000000 00:00 0 3ff773df000-3ff77420000 rw-p 00000000 00:00 0 3ff77420000-3ff77421000 ---p 00000000 00:00 0 3ff77421000-3ff77462000 rw-p 00000000 00:00 0 3ff77462000-3ff77463000 ---p 00000000 00:00 0 3ff77463000-3ff774a4000 rw-p 00000000 00:00 0 3ff774a4000-3ff774a5000 ---p 00000000 00:00 0 3ff774a5000-3ff774e6000 rw-p 00000000 00:00 0 3ff774e6000-3ff774e7000 ---p 00000000 00:00 0 3ff774e7000-3ff77528000 rw-p 00000000 00:00 0 3ff77528000-3ff77529000 ---p 00000000 00:00 0 3ff77529000-3ff7756a000 rw-p 00000000 00:00 0 3ff7756a000-3ff7756b000 ---p 00000000 00:00 0 3ff7756b000-3ff775ac000 rw-p 00000000 00:00 0 3ff775ac000-3ff775ad000 ---p 00000000 00:00 0 3ff775ad000-3ff775ee000 rw-p 00000000 00:00 0 3ff775ee000-3ff775ef000 ---p 00000000 00:00 0 3ff775ef000-3ff77630000 rw-p 00000000 00:00 0 3ff77630000-3ff77631000 ---p 00000000 00:00 0 3ff77631000-3ff77672000 rw-p 00000000 00:00 0 3ff77672000-3ff77673000 ---p 00000000 00:00 0 3ff77673000-3ff776b4000 rw-p 00000000 00:00 0 3ff776b4000-3ff776b5000 ---p 00000000 00:00 0 3ff776b5000-3ff776f6000 rw-p 00000000 00:00 0 3ff776f6000-3ff776f7000 ---p 00000000 00:00 0 3ff776f7000-3ff77738000 rw-p 00000000 00:00 0 3ff77738000-3ff77739000 ---p 00000000 00:00 0 3ff77739000-3ff7777a000 rw-p 00000000 00:00 0 3ff7777a000-3ff7777b000 ---p 00000000 00:00 0 3ff7777b000-3ff777bc000 rw-p 00000000 00:00 0 3ff777bc000-3ff777bd000 ---p 00000000 00:00 0 3ff777bd000-3ff777fe000 rw-p 00000000 00:00 0 3ff777fe000-3ff777ff000 ---p 00000000 00:00 0 3ff777ff000-3ff77840000 rw-p 00000000 00:00 0 3ff77840000-3ff77841000 ---p 00000000 00:00 0 3ff77841000-3ff77882000 rw-p 00000000 00:00 0 3ff77882000-3ff77883000 ---p 00000000 00:00 0 3ff77883000-3ff778c4000 rw-p 00000000 00:00 0 3ff778c4000-3ff778c5000 ---p 00000000 00:00 0 3ff778c5000-3ff77906000 rw-p 00000000 00:00 0 3ff77906000-3ff77907000 ---p 00000000 00:00 0 3ff77907000-3ff77948000 rw-p 00000000 00:00 0 3ff77948000-3ff77949000 ---p 00000000 00:00 0 3ff77949000-3ff7798a000 rw-p 00000000 00:00 0 3ff7798a000-3ff7798b000 ---p 00000000 00:00 0 3ff7798b000-3ff779cc000 rw-p 00000000 00:00 0 3ff779cc000-3ff779cd000 ---p 00000000 00:00 0 3ff779cd000-3ff77a0e000 rw-p 00000000 00:00 0 3ff77a0e000-3ff77a0f000 ---p 00000000 00:00 0 3ff77a0f000-3ff77a50000 rw-p 00000000 00:00 0 3ff77a50000-3ff77a51000 ---p 00000000 00:00 0 3ff77a51000-3ff77a92000 rw-p 00000000 00:00 0 3ff77a92000-3ff77a93000 ---p 00000000 00:00 0 3ff77a93000-3ff77ad4000 rw-p 00000000 00:00 0 3ff77ad4000-3ff77ad5000 ---p 00000000 00:00 0 3ff77ad5000-3ff77b16000 rw-p 00000000 00:00 0 3ff77b16000-3ff77b17000 ---p 00000000 00:00 0 3ff77b17000-3ff77b58000 rw-p 00000000 00:00 0 3ff77b58000-3ff77b59000 ---p 00000000 00:00 0 3ff77b59000-3ff77b9a000 rw-p 00000000 00:00 0 3ff77b9a000-3ff77b9b000 ---p 00000000 00:00 0 3ff77b9b000-3ff77bdc000 rw-p 00000000 00:00 0 3ff77bdc000-3ff77bde000 ---p 00000000 00:00 0 3ff77bde000-3ff91100000 rw-p 00000000 00:00 0 3ff91100000-3ff91101000 r-xp 00000000 fe:00 2758431 /lib/libucontext.so.1 3ff91101000-3ff91102000 r--p 00000000 fe:00 2758431 /lib/libucontext.so.1 3ff91102000-3ff91103000 rw-p 00001000 fe:00 2758431 /lib/libucontext.so.1 3ff91103000-3ff9114b000 rw-p 00000000 00:00 0 3ff9114f000-3ff91153000 rw-p 00000000 00:00 0 3ff91155000-3ff91180000 rw-p 00000000 00:00 0 3ff91180000-3ff911fd000 r-xp 00000000 fe:00 2755903 /usr/lib/libgmp.so.10.5.0 3ff911fd000-3ff911ff000 r--p 0007c000 fe:00 2755903 /usr/lib/libgmp.so.10.5.0 3ff911ff000-3ff91200000 rw-p 0007e000 fe:00 2755903 /usr/lib/libgmp.so.10.5.0 3ff91200000-3ff91219000 r-xp 00000000 fe:00 2754145 /lib/libz.so.1.3 3ff91219000-3ff9121a000 r--p 00018000 fe:00 2754145 /lib/libz.so.1.3 3ff9121a000-3ff9121b000 rw-p 00019000 fe:00 2754145 /lib/libz.so.1.3 3ff9121b000-3ff91280000 rw-p 00000000 00:00 0 3ff91280000-3ff91700000 r-xp 00000000 fe:00 2519847 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/libruby.so.3.3.0 3ff91700000-3ff9170c000 r--p 00480000 fe:00 2519847 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/libruby.so.3.3.0 3ff9170c000-3ff9170d000 rw-p 0048c000 fe:00 2519847 /builds/alpine/aports/main/ruby/src/ruby-3.3.0/libruby.so.3.3.0 3ff9170d000-3ff9171f000 rw-p 00000000 00:00 0 3ff9171f000-3ff91780000 rw-p 00000000 00:00 0 3ff91780000-3ff91830000 r-xp 00000000 fe:00 2758095 /lib/ld-musl-s390x.so.1 3ff91830000-3ff91831000 r--p 000b0000 fe:00 2758095 /lib/ld-musl-s390x.so.1 3ff91831000-3ff91832000 rw-p 000b1000 fe:00 2758095 /lib/ld-musl-s390x.so.1 3ff91832000-3ff91835000 rw-p 00000000 00:00 0 3ff91835000-3ff9187c000 rw-p 00000000 00:00 0 3ff9187c000-3ff9187e000 r--p 00000000 00:00 0 [vvar] 3ff9187e000-3ff91880000 r-xp 00000000 00:00 0 [vdso] 3ffe2381000-3ffe2b80000 rw-p 00000000 00:00 0 [stack] ``` …and many more tests fail like this. ---Files-------------------------------- ruby-3.3.0-s390x.log (281 KB) -- https://bugs.ruby-lang.org/
3 2
0 0
[ruby-core:118397] [Ruby master Bug#20596] [BUG] unexpected rb_parser_ary_data_type (0) for script lines
by Eregon (Benoit Daloze) 01 Jul '24

01 Jul '24
Issue #20596 has been reported by Eregon (Benoit Daloze). ---------------------------------------- Bug #20596: [BUG] unexpected rb_parser_ary_data_type (0) for script lines https://bugs.ruby-lang.org/issues/20596 * Author: Eregon (Benoit Daloze) * Status: Open * Assignee: yui-knk (Kaneko Yuichiro) * ruby -v: ruby 3.4.0dev (2024-06-26T17:31:40Z :detached: 43d7db3828) [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- https://github.com/ruby/setup-ruby/actions/runs/9697443755/job/26761634004 ``` /home/runner/.rubies/ruby-head/bin/bundle install --jobs 4 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb: [BUG] unexpected rb_parser_ary_data_type (0) for script lines ruby 3.4.0dev (2024-06-26T17:31:40Z :detached: 43d7db3828) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0021 p:---- s:0091 e:000090 DUMMY [FINISH] c:0020 p:---- s:0088 e:000087 CFUNC :require_relative c:0019 p:0017 s:0083 e:000082 TOP /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb:6 [FINISH] c:0018 p:---- s:0080 e:000079 CFUNC :require_relative c:0017 p:0005 s:0075 e:000074 TOP /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/resolver.rb:3 [FINISH] c:0016 p:---- s:0072 e:000071 CFUNC :require_relative c:0015 p:0017 s:0067 e:000066 TOP /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo.rb:5 [FINISH] c:0014 p:---- s:0064 e:000063 CFUNC :require_relative c:0013 p:0005 s:0059 e:000058 TOP /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendored_molinillo.rb:3 [FINISH] c:0012 p:---- s:0056 e:000055 CFUNC :require_relative c:0011 p:0005 s:0051 e:000050 CLASS /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/resolver.rb:14 c:0010 p:0025 s:0048 e:000047 TOP /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/resolver.rb:13 [FINISH] c:0009 p:---- s:0045 e:000044 CFUNC :require c:0008 p:0023 s:0040 e:000039 METHOD <internal:/home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/core_ext/kernel_require.rb>:136 [FINISH] c:0007 p:0003 s:0034 e:000032 METHOD /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/request_set.rb:425 c:0006 p:0035 s:0029 e:000028 METHOD /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb:227 c:0005 p:0008 s:0024 e:000023 BLOCK /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb:284 [FINISH] c:0004 p:---- s:0021 e:000020 CFUNC :synchronize c:0003 p:0019 s:0017 e:000016 METHOD /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb:282 c:0002 p:0079 s:0009 E:0026a0 EVAL /home/runner/.rubies/ruby-head/bin/bundle:25 [FINISH] c:0001 p:0000 s:0003 E:001aa0 DUMMY [FINISH] -- Ruby level backtrace information ---------------------------------------- /home/runner/.rubies/ruby-head/bin/bundle:25:in '<main>' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb:282:in 'activate_bin_path' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb:282:in 'synchronize' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb:284:in 'block in activate_bin_path' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb:227:in 'finish_resolve' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/request_set.rb:425:in 'resolve_current' <internal:/home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/core_ext/kernel_require.rb>:136:in 'require' <internal:/home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/core_ext/kernel_require.rb>:136:in 'require' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/resolver.rb:13:in '<top (required)>' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/resolver.rb:14:in '<class:Resolver>' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/resolver.rb:14:in 'require_relative' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendored_molinillo.rb:3:in '<top (required)>' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendored_molinillo.rb:3:in 'require_relative' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo.rb:5:in '<top (required)>' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo.rb:5:in 'require_relative' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/resolver.rb:3:in '<top (required)>' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/resolver.rb:3:in 'require_relative' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb:6:in '<top (required)>' /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb:6:in 'require_relative' -- Threading information --------------------------------------------------- Total ractor count: 1 Ruby thread count for this ractor: 1 -- C level backtrace information ------------------------------------------- Received 712057 of 712057 (100.0%), 0.7 MBs/sec /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_print_backtrace+0x11) [0x7f033feb35d7] vm_dump.c:820 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_bugreport) vm_dump.c:1151 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(bug_report_end+0x0) [0x7f033fca6f5f] error.c:1085 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_bug_without_die) error.c:1085 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(die+0x0) [0x7f033fbc9a97] error.c:1093 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_bug) error.c:1095 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_node_imaginary_literal_val+0x0) [0x7f033fbcb9fe] ruby_parser.c:891 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_iseq_new_with_opt+0x2de) [0x7f033fd187be] iseq.c:996 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(iseq_compile_each0+0xd12) [0x7f033fc22012] compile.c:1492 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(compile_block+0x3a) [0x7f033fc214ca] compile.c:10352 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(iseq_compile_each0) compile.c:10382 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_iseq_compile_node+0xc12) [0x7f033fc32652] compile.c:10352 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_iseq_new_with_opt+0x135) [0x7f033fd18615] iseq.c:1005 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(iseq_compile_each0+0xb43) [0x7f033fc21e43] compile.c:1492 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(iseq_compile_each+0x10) [0x7f033fc31db8] compile.c:10352 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_iseq_compile_node) compile.c:940 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_iseq_new_with_opt+0x135) [0x7f033fd18615] iseq.c:1005 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_iseq_new_top+0x63) [0x7f033fd18993] iseq.c:887 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(load_iseq_eval+0xc0) [0x7f033fd1e001] load.c:772 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(require_internal) load.c:1287 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_require_string_internal+0x34) [0x7f033fd1e162] load.c:1386 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_f_require_relative) load.c:1041 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame_+0x78) [0x7f033fe80875] vm_insnhelper.c:3770 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame) vm_insnhelper.c:3816 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_sendish+0xc7) [0x7f033fe880e7] vm_insnhelper.c:5938 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0xf6) [0x7f033fe93c96] insns.def:918 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(load_iseq_eval+0xa) [0x7f033fd1ddcb] load.c:781 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(require_internal) load.c:1287 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_require_string_internal+0x34) [0x7f033fd1e162] load.c:1386 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_f_require_relative) load.c:1041 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame_+0x78) [0x7f033fe80875] vm_insnhelper.c:3770 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame) vm_insnhelper.c:3816 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_sendish+0xc7) [0x7f033fe880e7] vm_insnhelper.c:5938 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0xf6) [0x7f033fe93c96] insns.def:918 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(load_iseq_eval+0xa) [0x7f033fd1ddcb] load.c:781 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(require_internal) load.c:1287 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_require_string_internal+0x34) [0x7f033fd1e162] load.c:1386 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_f_require_relative) load.c:1041 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame_+0x78) [0x7f033fe80875] vm_insnhelper.c:3770 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame) vm_insnhelper.c:3816 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_sendish+0xc7) [0x7f033fe880e7] vm_insnhelper.c:5938 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0xf6) [0x7f033fe93c96] insns.def:918 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(load_iseq_eval+0xa) [0x7f033fd1ddcb] load.c:781 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(require_internal) load.c:1287 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_require_string_internal+0x34) [0x7f033fd1e162] load.c:1386 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_f_require_relative) load.c:1041 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame_+0x78) [0x7f033fe80875] vm_insnhelper.c:3770 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame) vm_insnhelper.c:3816 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_sendish+0xc7) [0x7f033fe880e7] vm_insnhelper.c:5938 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0xf6) [0x7f033fe93c96] insns.def:918 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(load_iseq_eval+0xa) [0x7f033fd1ddcb] load.c:781 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(require_internal) load.c:1287 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_require_string_internal+0x34) [0x7f033fd1e162] load.c:1386 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_f_require_relative) load.c:1041 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame_+0x76) [0x7f033fe80bdd] vm_insnhelper.c:3770 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame) vm_insnhelper.c:3816 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_other) vm_insnhelper.c:3842 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_method_each_type+0x81) [0x7f033fe9b6a1] vm_insnhelper.c:4749 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_method+0xc4) [0x7f033fe9c3e4] vm_insnhelper.c:4901 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_sendish+0xc7) [0x7f033fe880e7] vm_insnhelper.c:5938 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0xf6) [0x7f033fe93c96] insns.def:918 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(load_iseq_eval+0xa) [0x7f033fd1ddcb] load.c:781 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(require_internal) load.c:1287 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_require_string_internal+0x34) [0x7f033fd1e9ba] load.c:1386 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_require_string) load.c:1379 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame_+0x76) [0x7f033fe80bdd] vm_insnhelper.c:3770 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame) vm_insnhelper.c:3816 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_other) vm_insnhelper.c:3842 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_method_each_type+0x81) [0x7f033fe9b6a1] vm_insnhelper.c:4749 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_alias+0x7e) [0x7f033fe9cb3e] vm_insnhelper.c:4158 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_sendish+0xc7) [0x7f033fe880e7] vm_insnhelper.c:5938 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0xf6) [0x7f033fe93c96] insns.def:918 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call0_body+0x4a1) [0x7f033fea0011] vm_eval.c:225 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_funcallv+0x225) [0x7f033fea4575] vm_eval.c:101 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(autoload_feature_require+0x66) [0x7f033fe74c4e] variable.c:2940 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(autoload_try_load) variable.c:2954 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_ensure+0x12e) [0x7f033fcb2e0e] eval.c:1059 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_autoload_load+0x119) [0x7f033fe730c9] variable.c:3015 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_const_lookup+0x0) [0x7f033fe732eb] variable.c:3117 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_const_search_from) variable.c:3104 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_const_search+0x16) [0x7f033fe73ef5] variable.c:3139 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_const_get_0) variable.c:3066 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_public_const_get_from) variable.c:3168 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_get_ev_const+0x1c) [0x7f033fe84014] vm_insnhelper.c:1133 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_get_ev_const_chain) vm_insnhelper.c:1157 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_opt_getconstant_path) vm_insnhelper.c:6300 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0x24ca) [0x7f033fe9606a] insns.def:263 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(invoke_block_from_c_bh+0x2ca) [0x7f033fe9ea1a] vm.c:1524 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_yield+0xc2) [0x7f033fe9efc2] vm.c:1649 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_ensure+0x12e) [0x7f033fcb2e0e] eval.c:1059 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame_+0x78) [0x7f033fe80875] vm_insnhelper.c:3770 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_call_cfunc_with_frame) vm_insnhelper.c:3816 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_sendish+0xc7) [0x7f033fe880e7] vm_insnhelper.c:5938 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(vm_exec_core+0x16a2) [0x7f033fe95242] insns.def:871 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_vm_exec+0x1aa) [0x7f033fe9a6fa] vm.c:2567 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(rb_ec_exec_node+0xbd) [0x7f033fcb102d] eval.c:281 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4(ruby_run_node+0x83) [0x7f033fcb4b73] eval.c:319 /home/runner/.rubies/ruby-head/bin/ruby(rb_main+0x21) [0x560b28c5e187] ./main.c:45 /home/runner/.rubies/ruby-head/bin/ruby(main) ./main.c:64 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f033f73a083] [0x560b28c5e1de] -- Other runtime information ----------------------------------------------- * Loaded script: /home/runner/.rubies/ruby-head/bin/bundle * Loaded features: 0 enumerator.so 1 thread.rb 2 fiber.so 3 rational.so 4 complex.so 5 ruby2_keywords.rb 6 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/encdb.so 7 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/trans/transdb.so 8 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/rbconfig.rb 9 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/compatibility.rb 10 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/defaults.rb 11 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/deprecate.rb 12 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/errors.rb 13 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/target_rbconfig.rb 14 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/unknown_command_spell_checker.rb 15 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/exceptions.rb 16 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/basic_specification.rb 17 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/stub_specification.rb 18 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/platform.rb 19 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/specification_record.rb 20 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/util/list.rb 21 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/version.rb 22 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/requirement.rb 23 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/specification.rb 24 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/util.rb 25 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/dependency.rb 26 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/core_ext/kernel_gem.rb 27 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/monitor.so 28 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/monitor.rb 29 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems.rb 30 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/bundled_gems.rb 31 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/path_support.rb 32 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/error_highlight/version.rb 33 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/error_highlight/base.rb 34 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/error_highlight/formatter.rb 35 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/error_highlight/core_ext.rb 36 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/error_highlight.rb 37 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/version.rb 38 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/core_ext/name_error.rb 39 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/levenshtein.rb 40 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/jaro_winkler.rb 41 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checker.rb 42 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb 43 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb 44 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/name_error_checkers.rb 45 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/method_name_checker.rb 46 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/key_error_checker.rb 47 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/null_checker.rb 48 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/tree_spell_checker.rb 49 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/require_path_checker.rb 50 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/spell_checkers/pattern_key_name_checker.rb 51 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean/formatter.rb 52 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/did_you_mean.rb 53 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/syntax_suggest/core_ext.rb 54 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/bundler_version_finder.rb 55 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/tsort/lib/tsort.rb 56 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendored_tsort.rb 57 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/request_set/gem_dependency_api.rb 58 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/request_set/lockfile/parser.rb 59 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/request_set/lockfile/tokenizer.rb 60 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/request_set/lockfile.rb 61 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/request_set.rb 62 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb 63 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb 64 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/errors.rb 65 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb 66 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb 67 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb 68 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb 69 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb 70 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb 71 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb 72 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb * Process memory map: 560b28c5d000-560b28c5e000 r--p 00000000 08:11 547248 /home/runner/.rubies/ruby-head/bin/ruby 560b28c5e000-560b28c5f000 r-xp 00001000 08:11 547248 /home/runner/.rubies/ruby-head/bin/ruby 560b28c5f000-560b28c60000 r--p 00002000 08:11 547248 /home/runner/.rubies/ruby-head/bin/ruby 560b28c60000-560b28c61000 r--p 00002000 08:11 547248 /home/runner/.rubies/ruby-head/bin/ruby 560b28c61000-560b28c62000 rw-p 00003000 08:11 547248 /home/runner/.rubies/ruby-head/bin/ruby 560b2ab43000-560b2b06a000 rw-p 00000000 00:00 0 [heap] 7f0320703000-7f03208f3000 r--s 00000000 08:11 4758 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f03208f3000-7f03223cf000 rw-p 00000000 00:00 0 7f03223cf000-7f0323720000 r--s 00000000 08:11 544181 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4.0 7f0323720000-7f0323730000 rw-p 00000000 00:00 0 7f03237ea000-7f0323820000 r--s 00000000 08:11 547248 /home/runner/.rubies/ruby-head/bin/ruby 7f0323820000-7f0323860000 rw-p 00000000 00:00 0 7f0323870000-7f03239b0000 rw-p 00000000 00:00 0 7f03239bf000-7f03239c0000 ---p 00000000 00:00 0 7f03239c0000-7f0323a61000 rw-p 00000000 00:00 0 7f0323a61000-7f0323a62000 ---p 00000000 00:00 0 7f0323a62000-7f0323b03000 rw-p 00000000 00:00 0 7f0323b03000-7f0323b04000 ---p 00000000 00:00 0 7f0323b04000-7f0323ba5000 rw-p 00000000 00:00 0 7f0323ba5000-7f0323ba6000 ---p 00000000 00:00 0 7f0323ba6000-7f0323c47000 rw-p 00000000 00:00 0 7f0323c47000-7f0323c48000 ---p 00000000 00:00 0 7f0323c48000-7f0323ce9000 rw-p 00000000 00:00 0 7f0323ce9000-7f0323cea000 ---p 00000000 00:00 0 7f0323cea000-7f0323d8b000 rw-p 00000000 00:00 0 7f0323d8b000-7f0323d8c000 ---p 00000000 00:00 0 7f0323d8c000-7f0323e2d000 rw-p 00000000 00:00 0 7f0323e2d000-7f0323e2e000 ---p 00000000 00:00 0 7f0323e2e000-7f0323ecf000 rw-p 00000000 00:00 0 7f0323ecf000-7f0323ed0000 ---p 00000000 00:00 0 7f0323ed0000-7f0323f71000 rw-p 00000000 00:00 0 7f0323f71000-7f0323f72000 ---p 00000000 00:00 0 7f0323f72000-7f0324013000 rw-p 00000000 00:00 0 7f0324013000-7f0324014000 ---p 00000000 00:00 0 7f0324014000-7f03240b5000 rw-p 00000000 00:00 0 7f03240b5000-7f03240b6000 ---p 00000000 00:00 0 7f03240b6000-7f0324157000 rw-p 00000000 00:00 0 7f0324157000-7f0324158000 ---p 00000000 00:00 0 7f0324158000-7f03241f9000 rw-p 00000000 00:00 0 7f03241f9000-7f03241fa000 ---p 00000000 00:00 0 7f03241fa000-7f032429b000 rw-p 00000000 00:00 0 7f032429b000-7f032429c000 ---p 00000000 00:00 0 7f032429c000-7f032433d000 rw-p 00000000 00:00 0 7f032433d000-7f032433e000 ---p 00000000 00:00 0 7f032433e000-7f03243df000 rw-p 00000000 00:00 0 7f03243df000-7f03243e0000 ---p 00000000 00:00 0 7f03243e0000-7f0324481000 rw-p 00000000 00:00 0 7f0324481000-7f0324482000 ---p 00000000 00:00 0 7f0324482000-7f0324523000 rw-p 00000000 00:00 0 7f0324523000-7f0324524000 ---p 00000000 00:00 0 7f0324524000-7f03245c5000 rw-p 00000000 00:00 0 7f03245c5000-7f03245c6000 ---p 00000000 00:00 0 7f03245c6000-7f0324667000 rw-p 00000000 00:00 0 7f0324667000-7f0324668000 ---p 00000000 00:00 0 7f0324668000-7f0324709000 rw-p 00000000 00:00 0 7f0324709000-7f032470a000 ---p 00000000 00:00 0 7f032470a000-7f03247ab000 rw-p 00000000 00:00 0 7f03247ab000-7f03247ac000 ---p 00000000 00:00 0 7f03247ac000-7f032484d000 rw-p 00000000 00:00 0 7f032484d000-7f032484e000 ---p 00000000 00:00 0 7f032484e000-7f03248ef000 rw-p 00000000 00:00 0 7f03248ef000-7f03248f0000 ---p 00000000 00:00 0 7f03248f0000-7f0324991000 rw-p 00000000 00:00 0 7f0324991000-7f0324992000 ---p 00000000 00:00 0 7f0324992000-7f0324a33000 rw-p 00000000 00:00 0 7f0324a33000-7f0324a34000 ---p 00000000 00:00 0 7f0324a34000-7f0324ad5000 rw-p 00000000 00:00 0 7f0324ad5000-7f0324ad6000 ---p 00000000 00:00 0 7f0324ad6000-7f0324b77000 rw-p 00000000 00:00 0 7f0324b77000-7f0324b78000 ---p 00000000 00:00 0 7f0324b78000-7f0324c19000 rw-p 00000000 00:00 0 7f0324c19000-7f0324c1a000 ---p 00000000 00:00 0 7f0324c1a000-7f0324cbb000 rw-p 00000000 00:00 0 7f0324cbb000-7f0324cbc000 ---p 00000000 00:00 0 7f0324cbc000-7f0324d5d000 rw-p 00000000 00:00 0 7f0324d5d000-7f0324d5e000 ---p 00000000 00:00 0 7f0324d5e000-7f0324dff000 rw-p 00000000 00:00 0 7f0324dff000-7f0324e00000 ---p 00000000 00:00 0 7f0324e00000-7f0325e50000 rw-p 00000000 00:00 0 7f0325e5f000-7f033f2d0000 rw-p 00000000 00:00 0 7f033f2d3000-7f033f2d4000 r--p 00000000 08:11 544385 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/monitor.so 7f033f2d4000-7f033f2d5000 r-xp 00001000 08:11 544385 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/monitor.so 7f033f2d5000-7f033f2d6000 r--p 00002000 08:11 544385 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/monitor.so 7f033f2d6000-7f033f2d7000 r--p 00002000 08:11 544385 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/monitor.so 7f033f2d7000-7f033f2d8000 rw-p 00003000 08:11 544385 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/monitor.so 7f033f2d8000-7f033f2d9000 r--p 00000000 08:11 544342 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/trans/transdb.so 7f033f2d9000-7f033f2db000 r-xp 00001000 08:11 544342 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/trans/transdb.so 7f033f2db000-7f033f2dc000 r--p 00003000 08:11 544342 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/trans/transdb.so 7f033f2dc000-7f033f2dd000 r--p 00003000 08:11 544342 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/trans/transdb.so 7f033f2dd000-7f033f2de000 rw-p 00004000 08:11 544342 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/trans/transdb.so 7f033f2de000-7f033f3df000 rw-p 00000000 00:00 0 7f033f3df000-7f033f411000 r--p 00000000 08:11 6142 /usr/lib/locale/C.UTF-8/LC_CTYPE 7f033f411000-7f033f6f7000 r--p 00000000 08:11 6136 /usr/lib/locale/locale-archive 7f033f6f7000-7f033f6fb000 rw-p 00000000 00:00 0 7f033f6fb000-7f033f6fe000 r--p 00000000 08:11 4760 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f033f6fe000-7f033f710000 r-xp 00003000 08:11 4760 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f033f710000-7f033f714000 r--p 00015000 08:11 4760 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f033f714000-7f033f715000 r--p 00018000 08:11 4760 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f033f715000-7f033f716000 rw-p 00019000 08:11 4760 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 7f033f716000-7f033f738000 r--p 00000000 08:11 4758 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f033f738000-7f033f8b0000 r-xp 00022000 08:11 4758 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f033f8b0000-7f033f8fe000 r--p 0019a000 08:11 4758 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f033f8fe000-7f033f902000 r--p 001e7000 08:11 4758 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f033f902000-7f033f904000 rw-p 001eb000 08:11 4758 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f033f904000-7f033f908000 rw-p 00000000 00:00 0 7f033f908000-7f033f90e000 r--p 00000000 08:11 4774 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f033f90e000-7f033f91f000 r-xp 00006000 08:11 4774 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f033f91f000-7f033f925000 r--p 00017000 08:11 4774 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f033f925000-7f033f926000 r--p 0001c000 08:11 4774 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f033f926000-7f033f927000 rw-p 0001d000 08:11 4774 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f033f927000-7f033f92b000 rw-p 00000000 00:00 0 7f033f92b000-7f033f938000 r--p 00000000 08:11 4763 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f033f938000-7f033f9df000 r-xp 0000d000 08:11 4763 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f033f9df000-7f033fa78000 r--p 000b4000 08:11 4763 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f033fa78000-7f033fa79000 r--p 0014c000 08:11 4763 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f033fa79000-7f033fa7a000 rw-p 0014d000 08:11 4763 /usr/lib/x86_64-linux-gnu/libm-2.31.so 7f033fa7a000-7f033fa7c000 rw-p 00000000 00:00 0 7f033fa7c000-7f033fa7e000 r--p 00000000 08:11 3497 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f033fa7e000-7f033fa93000 r-xp 00002000 08:11 3497 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f033fa93000-7f033faad000 r--p 00017000 08:11 3497 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f033faad000-7f033faae000 r--p 00030000 08:11 3497 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f033faae000-7f033faaf000 rw-p 00031000 08:11 3497 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0 7f033faaf000-7f033fab7000 rw-p 00000000 00:00 0 7f033fab7000-7f033fab8000 r--p 00000000 08:11 4762 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f033fab8000-7f033faba000 r-xp 00001000 08:11 4762 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f033faba000-7f033fabb000 r--p 00003000 08:11 4762 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f033fabb000-7f033fabc000 r--p 00003000 08:11 4762 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f033fabc000-7f033fabd000 rw-p 00004000 08:11 4762 /usr/lib/x86_64-linux-gnu/libdl-2.31.so 7f033fabd000-7f033fac7000 r--p 00000000 08:11 4632 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f033fac7000-7f033fb27000 r-xp 0000a000 08:11 4632 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f033fb27000-7f033fb3e000 r--p 0006a000 08:11 4632 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f033fb3e000-7f033fb3f000 ---p 00081000 08:11 4632 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f033fb3f000-7f033fb40000 r--p 00081000 08:11 4632 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f033fb40000-7f033fb41000 rw-p 00082000 08:11 4632 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.0 7f033fb41000-7f033fb43000 r--p 00000000 08:11 4776 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f033fb43000-7f033fb47000 r-xp 00002000 08:11 4776 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f033fb47000-7f033fb49000 r--p 00006000 08:11 4776 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f033fb49000-7f033fb4a000 r--p 00007000 08:11 4776 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f033fb4a000-7f033fb4b000 rw-p 00008000 08:11 4776 /usr/lib/x86_64-linux-gnu/librt-2.31.so 7f033fb4b000-7f033fb4d000 r--p 00000000 08:11 3846 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f033fb4d000-7f033fb5e000 r-xp 00002000 08:11 3846 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f033fb5e000-7f033fb64000 r--p 00013000 08:11 3846 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f033fb64000-7f033fb65000 ---p 00019000 08:11 3846 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f033fb65000-7f033fb66000 r--p 00019000 08:11 3846 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f033fb66000-7f033fb67000 rw-p 0001a000 08:11 3846 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 7f033fb6a000-7f033fb6b000 r--p 00000000 08:11 544361 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/encdb.so 7f033fb6b000-7f033fb6c000 r-xp 00001000 08:11 544361 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/encdb.so 7f033fb6c000-7f033fb6d000 r--p 00002000 08:11 544361 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/encdb.so 7f033fb6d000-7f033fb6e000 r--p 00002000 08:11 544361 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/encdb.so 7f033fb6e000-7f033fb6f000 rw-p 00003000 08:11 544361 /home/runner/.rubies/ruby-head/lib/ruby/3.4.0+0/x86_64-linux/enc/encdb.so 7f033fb6f000-7f033fb76000 r--s 00000000 08:11 3766 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache 7f033fb76000-7f033fbc2000 r--p 00000000 08:11 544181 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4.0 7f033fbc2000-7f0340000000 r-xp 0004c000 08:11 544181 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4.0 7f0340000000-7f034019b000 r--p 0048a000 08:11 544181 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4.0 7f034019b000-7f03401b3000 r--p 00624000 08:11 544181 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4.0 7f03401b3000-7f03401b7000 rw-p 0063c000 08:11 544181 /home/runner/.rubies/ruby-head/lib/libruby.so.3.4.0 7f03401b7000-7f03401ce000 rw-p 00000000 00:00 0 7f03401ce000-7f03401cf000 r--p 00000000 08:11 4742 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f03401cf000-7f03401f2000 r-xp 00001000 08:11 4742 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f03401f2000-7f03401fa000 r--p 00024000 08:11 4742 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f03401fb000-7f03401fc000 r--p 0002c000 08:11 4742 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f03401fc000-7f03401fd000 rw-p 0002d000 08:11 4742 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f03401fd000-7f03401fe000 rw-p 00000000 00:00 0 7ffc0c271000-7ffc0d270000 rw-p 00000000 00:00 0 [stack] 7ffc0d357000-7ffc0d35b000 r--p 00000000 00:00 0 [vvar] 7ffc0d35b000-7ffc0d35d000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall] ``` -- https://bugs.ruby-lang.org/
3 2
0 0
[ruby-core:118360] [Ruby master Bug#20588] RangeError: integer 132186463059104 too big to convert to 'int' since cdf33ed5f37f9649c482c3ba1d245f0d80ac01ce with YJIT enabled
by yahonda (Yasuo Honda) 27 Jun '24

27 Jun '24
Issue #20588 has been reported by yahonda (Yasuo Honda). ---------------------------------------- Bug #20588: RangeError: integer 132186463059104 too big to convert to 'int' since cdf33ed5f37f9649c482c3ba1d245f0d80ac01ce with YJIT enabled https://bugs.ruby-lang.org/issues/20588 * Author: yahonda (Yasuo Honda) * Status: Open * ruby -v: ruby 3.4.0dev (2024-06-18T16:28:25Z master cdf33ed5f3) [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- Managed to reproduce Rails CI failure https://buildkite.com/rails/rails-nightly/builds/679#0190324d-b73c-4602-b02… ### Steps to reproduce ``` git clone https://github.com/rails/rails cd rails/activerecord bundle install RUBY_YJIT_ENABLE=1 bin/test test/cases/scoping/relation_scoping_test.rb test/cases/associations/eager_test.rb --seed 1670 ``` ### Expected behavior It should pass. ### Actual behavior It always raises the `RangeError`. ``` $ RUBY_YJIT_ENABLE=1 bin/test test/cases/scoping/relation_scoping_test.rb test/cases/associations/eager_test.rb --seed 1670 Using sqlite3 Run options: --seed 1670 # Running: ........E Error: EagerAssociationTest#test_including_association_based_on_sql_condition_and_no_database_column: RangeError: integer 124299148641408 too big to convert to 'int' lib/active_record/relation.rb:548:in 'block in ActiveRecord::Relation#_exec_scope' lib/active_record/relation.rb:1359:in 'ActiveRecord::Relation#_scoping' lib/active_record/relation.rb:548:in 'ActiveRecord::Relation#_exec_scope' lib/active_record/scoping/named.rb:175:in 'block in Owner.scope' test/cases/associations/eager_test.rb:1524:in 'block in <class:EagerAssociationTest>' bin/test test/cases/associations/eager_test.rb:1523 ............................................................................................................................................................................................................................................................ Finished in 6.256788s, 41.7147 runs/s, 138.4097 assertions/s. 261 runs, 866 assertions, 0 failures, 1 errors, 0 skips $ ``` ### Additional information It does not reproduce when YJIT is disabled like `bin/test test/cases/scoping/relation_scoping_test.rb test/cases/associations/eager_test.rb --seed 1670` According to git bisect, this exception raised since https://github.com/ruby/ruby/commit/cdf33ed5f37f9649c482c3ba1d245f0d80ac01ce -- https://bugs.ruby-lang.org/
2 9
0 0
[ruby-core:118376] [Ruby master Feature#18762] Add an Array#undigits that compliments Integer#digits
by inopinatus (Joshua GOODALL) 23 Jun '24

23 Jun '24
Issue #18762 has been updated by inopinatus (Joshua GOODALL). I'll speak up for this feature. Whilst writing a base58 encoder/decoder today, I was surprised by the lack of an inverse to Integer#digits. In my benchmarking the reduce/inject variant is considerably faster than the sum variant, especially when we get into bignum territory. However, for consistency with other conversions, `Integer(array, base)` should work too, as `Integer(string, base)` currently does. The latter is already special-cased, so that could be extended to handle an array even if the method above doesn't end up as `Array#to_i`. ---------------------------------------- Feature #18762: Add an Array#undigits that compliments Integer#digits https://bugs.ruby-lang.org/issues/18762#change-108888 * Author: shan (Shannon Skipper) * Status: Open ---------------------------------------- I've found Integer#digits convenient and useful but several times have needed to go from the place-value notation back to an Integer after manipulation and wished there was a complimentary Array#undigits. ``` ruby class Array def undigits(base = 10) each_with_index.sum do |digit, exponent| digit * base**exponent end end end 42.digits.undigits #=> 42 42.digits(16).undigits(16) #=> 42 ``` Below is my stab at a Ruby implementation with behavior mirroring Integer#digits. ``` ruby class Array def undigits(base = 10) base_int = base.to_int raise TypeError, "wrong argument type #{base_int.class} (expected Integer)" unless base_int.is_a?(Integer) raise ArgumentError, 'negative radix' if base_int.negative? raise ArgumentError, "invalid radix #{base_int}" if base_int < 2 each_with_index.sum do |digit, exponent| raise MathDomainError, 'out of domain' if digit.negative? digit * base_int**exponent end end end ``` -- https://bugs.ruby-lang.org/
1 0
0 0
[ruby-core:118372] [Ruby master Bug#20591] macOS head - all are using OpenSSL 1.1.1?
by MSP-Greg (Greg L) 22 Jun '24

22 Jun '24
Issue #20591 has been reported by MSP-Greg (Greg L). ---------------------------------------- Bug #20591: macOS head - all are using OpenSSL 1.1.1? https://bugs.ruby-lang.org/issues/20591 * Author: MSP-Greg (Greg L) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- Currently, the macos.yml file used for GHA CI is using OpenSSL 1.1.1, and the same for the builds done in https://github.com/ruby/ruby-dev-builder. But, all the macOS builds of 3.1 thru 3.3 are using OpenSSL 3.x? See the 'Ruby Info' step in any of the macOS builds at https://github.com/MSP-Greg/github-actions-ruby-info/actions/runs/9583386691. I checked in a fork branch, and the macos.yml CI passes with OpenSSL@3. Additionally, no macos-14 jobs are being run, just macos-12 & macos-13. -- https://bugs.ruby-lang.org/
1 0
0 0
[ruby-core:118368] [Ruby master Feature#20590] Ensure `fork` isn't called when `raddrinfo`'s background thread is in `getaddrinfo`
by byroot (Jean Boussier) 21 Jun '24

21 Jun '24
Issue #20590 has been reported by byroot (Jean Boussier). ---------------------------------------- Feature #20590: Ensure `fork` isn't called when `raddrinfo`'s background thread is in `getaddrinfo` https://bugs.ruby-lang.org/issues/20590 * Author: byroot (Jean Boussier) * Status: Open ---------------------------------------- NB: Opening this as a feature because I don't have any clear bug report or repro script, but in a way this is a bug. ### Context For better or for worse, fork(2) remains the primary provider of parallelism in Ruby programs, and will likely continue to be for the foreseeable future. Even though it's frowned upon in many circles, and a lot of literature will simply state that only async-signal safe APIs are safe to use after `fork()`, in practice, most APIs work well as long as you are careful about not to fork while another thread is holding a pthread mutex, and the general advice is simply to not start any thread before calling `fork(2)`. This became much harder (if not impossible) to ensure in Ruby 3.3 following [Feature #19965]. Every call to `Addrinfo.getaddrinfo` now starts a native thread that will call `getaddrinfo(3)`. And unless I'm not reading the code correctly, that thread may even be left running if the call is interrupted. This is particularly problematic because, at least in the `glibc` implementation, `getaddrinfo(3)` do acquire a mutex. So if a fork happens while this mutex is held, the resulting child will be corrupted, and any call to `getaddrinfo(3)` in the child will deadlock. This is a fairly well-known fork-safety problem ([just one example](https://emptysqua.re/blog/getaddrinfo-deadlock/)). I don't have a reproducer to demonstrate this bug, but I hear several reports of fork issues happening to people upgrading to Ruby 3.3 that seem related or could be explained by this issue. ### Proposal I think we could reduce the impact of this problem by locking around `fork(2)` and `getaddrinfo(3) with a read-write lock. `Process.fork` would acquire the lock in write mode, and `getaddrinfo` would acquire it in read mode. The obvious downside of course is that an interrupted `addrinfo` call may take a very long time to timeout and release the lock, delaying the `Process.fork` call for a while, and that's far from ideal, but I don't have any better idea. I implemented a proof of concept at: https://github.com/ruby/ruby/pull/10864 cc @mame @ko1 -- https://bugs.ruby-lang.org/
3 3
0 0
[ruby-core:118316] [Ruby master Feature#20580] Pipe Operator accepting lamnda
by martinosis (Martin Chabot) 21 Jun '24

21 Jun '24
Issue #20580 has been reported by martinosis (Martin Chabot). ---------------------------------------- Feature #20580: Pipe Operator accepting lamnda https://bugs.ruby-lang.org/issues/20580 * Author: martinosis (Martin Chabot) * Status: Open ---------------------------------------- I think that the pipe operator was not reflecting the actual pipe operator in functional programming language. In Elixir, Elm, F# etc. The pipe operator takes a value and applies it on the lambda at the right of the operator. Example ``` add_one = -> a { a + 1 } add_two = -> a { a + 2 } 2 |> add_one |> add_two == 5 ``` In combination with the >> operator, some interesting thing can be done. ``` 2 |> add_one >> add_two ``` you can refactor to ``` add_tree = add_one >> add_two 2 |> add_tree ``` I currently use the `then` method on Object to do the equivalent. However this takes more characters and you need to put the closing bracket at the end of the line. ``` 2.then(&add_one >> add_tree) ``` -- https://bugs.ruby-lang.org/
3 3
0 0
  • ← Newer
  • 1
  • ...
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • ...
  • 21
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.