From: "hsbt (Hiroshi SHIBATA) via ruby-core" Date: 2024-09-30T07:49:28+00:00 Subject: [ruby-core:119353] [Ruby master Bug#20772] Test with -O3 is flaky Issue #20772 has been reported by hsbt (Hiroshi SHIBATA). ---------------------------------------- Bug #20772: Test with -O3 is flaky https://bugs.ruby-lang.org/issues/20772 * Author: hsbt (Hiroshi SHIBATA) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- I enabled `-O3` build and those tests. But it failed with flaky status. https://github.com/ruby/ruby/actions/runs/11098648054/job/30831665071#step:6:2439 ``` [251/251] 53150=test_range worker 53144=test_euc_jp does not respond; SEGV is sent /github/workspace/src/tool/lib/test/unit/parallel.rb:82: [BUG] Segmentation fault at 0x000000000000cf93 ruby 3.4.0dev (2024-09-30T03:03:02Z master 3fe59b04d6) +PRISM [x86_64-linux] -- Control frame information ----------------------------------------------- c:0009 p:---- s:0055 e:000054 CFUNC :close me: called_id: close, type: cfunc owner class: IO self: (IO) c:0008 p:0039 s:0051 e:000050 RESCUE /github/workspace/src/tool/lib/test/unit/parallel.rb:82 me: called_id: _run_suite, type: iseq owner class: Test::Unit::Worker self: (Test::Unit::Worker)len:31 ptr:0x000056195a0f4d20 lvars: $!: (ThreadError)(embed) len:3 c:0007 p:0296 s:0047 E:002530 METHOD /github/workspace/src/tool/lib/test/unit/parallel.rb:83 me: called_id: _run_suite, type: iseq owner class: Test::Unit::Worker self: (Test::Unit::Worker)len:31 ptr:0x000056195a0f4d20 lvars: suite: TestEUC_JP type: T_SYMBOL test orig_testout: (IO) i: (IO) o: (IO) orig_stdin: (IO) orig_stdout: (IO) th: T_NIL e: T_NIL f: T_NIL s: T_NIL result: T_NIL c:0006 p:0007 s:0030 e:000029 BLOCK /github/workspace/src/tool/lib/test/unit/parallel.rb:24 [FINISH] me: called_id: _run_suites, type: iseq owner class: Test::Unit::Worker self: (Test::Unit::Worker)len:31 ptr:0x000056195a0f4d20 lvars: suite: TestEUC_JP c:0005 p:---- s:0026 e:000025 CFUNC :map me: called_id: map, type: cfunc owner class: Array self: (Array)[E ] len: 1 (embed) c:0004 p:0005 s:0022 e:000021 METHOD /github/workspace/src/tool/lib/test/unit/parallel.rb:23 me: called_id: _run_suites, type: iseq owner class: Test::Unit::Worker self: (Test::Unit::Worker)len:31 ptr:0x000056195a0f4d20 lvars: suites: (Array)[E ] len: 1 (embed) type: T_SYMBOL test c:0003 p:0210 s:0016 E:0011d0 METHOD /github/workspace/src/tool/lib/test/unit/parallel.rb:122 me: called_id: run, type: iseq owner class: Test::Unit::Worker self: (Test::Unit::Worker)len:31 ptr:0x000056195a0f4d20 lvars: args: [E ] len: 0 (embed) buf: (String) len: 60, capa: 135 "run /github/workspace/src/test/ruby/enc/test_euc_jp.rb test " suites: (Array)[E ] len: 59 (embed) err: T_NIL e: T_NIL trace: T_NIL c:0002 p:0051 s:0006 E:001360 EVAL /github/workspace/src/tool/lib/test/unit/parallel.rb:220 [FINISH] self: (embed) len:3 c:0001 p:0000 s:0003 E:000d50 DUMMY [FINISH] self: (embed) len:3 (snip) ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/