Issue #19400 has been updated by xiacunshun (xiacunshun xia).
xiacunshun (xiacunshun xia) wrote:
1) Failure:
TestRubyOptions#test_enable
[/builddir/build/BUILD/ruby-3.2.0/test/ruby/test_rubyoptions.rb:176]:
pid 2482783 killed by SIGABRT (signal 6) (core dumped)
| thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
| left: `16384`,
| right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
.
1. [1/2] Assertion for "stdout"
| <[]> expected but was
| <["YJIT: rb_yjit_init_rust() panicked. Aborting."]>.
2. [2/2] Assertion for "stderr"
| <[]> expected but was
| <["thread '<unnamed>' panicked at 'assertion failed:
`(left == right)`",
| " left: `16384`,",
| " right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13",
| "note: run with `RUST_BACKTRACE=1` environment variable to display a
backtrace"]>.
2) Failure:
TestYJIT#test_string_interpolation
[/builddir/build/BUILD/ruby-3.2.0/test/ruby/test_yjit.rb:457]:
exited with status 134, stderr:
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
left: `16384`,
right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
3) Failure:
TestYJIT#test_string_then_nil
[/builddir/build/BUILD/ruby-3.2.0/test/ruby/test_yjit.rb:302]:
exited with status 134, stderr:
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
left: `16384`,
right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I run into this problem on armv8 and the pagesize is 64K.
The page_size of CodeBlock is const 16K, which leads to `16K % 64K = 16K`.
----------------------------------------
Bug #19400: testcase failed on 3.2.0
https://bugs.ruby-lang.org/issues/19400#change-101617
* Author: xiacunshun (xiacunshun xia)
* Status: Open
* Priority: Normal
* ruby -v: 3.2.0
* Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
1) Failure:
TestRubyOptions#test_enable
[/builddir/build/BUILD/ruby-3.2.0/test/ruby/test_rubyoptions.rb:176]:
pid 2482783 killed by SIGABRT (signal 6) (core dumped)
| thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
| left: `16384`,
| right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
..
1. [1/2] Assertion for "stdout"
| <[]> expected but was
| <["YJIT: rb_yjit_init_rust() panicked. Aborting."]>.
2. [2/2] Assertion for "stderr"
| <[]> expected but was
| <["thread '<unnamed>' panicked at 'assertion failed: `(left
== right)`",
| " left: `16384`,",
| " right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13",
| "note: run with `RUST_BACKTRACE=1` environment variable to display a
backtrace"]>.
2) Failure:
TestYJIT#test_string_interpolation
[/builddir/build/BUILD/ruby-3.2.0/test/ruby/test_yjit.rb:457]:
exited with status 134, stderr:
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
left: `16384`,
right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
3) Failure:
TestYJIT#test_string_then_nil
[/builddir/build/BUILD/ruby-3.2.0/test/ruby/test_yjit.rb:302]:
exited with status 134, stderr:
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
left: `16384`,
right: `0`: code page size is not page-aligned',
/builddir/build/BUILD/ruby-3.2.0/yjit/src/codegen.rs:7235:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
--
https://bugs.ruby-lang.org/