CI: Boehm GC abort child hangs for 60 s under GCC UndefinedBehaviorSanitizer
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
Research direction
Start with vlib/v/tests/gc_boehm_abort_reports_to_stderr_test.v, where test_boehm_abort_is_reported_on_stderr_without_blocking spawns a child that calls C.GC_FREE on a stack pointer under -gc boehm_leak. Reproduce it locally under -cc gcc -cflags -fsanitize=undefined, recording the child PID, its wait state, and its exit status across repeated runs. Done means the 60 s hang is attributed to a specific cause (deadlock, blocked pipes, or GC dialog) before any deadline or code change.
Written by the indexing model from the issue text.
Description
Genuinely executed historical master 593657221cd2ef2063d41979a7b827e8cb12ecd5: GCC UBSan shard 2 job 137340577557 finished 2026-11-22 21:45:34 UTC, one failed vlib/v/tests/gc_boehm_abort_reports_to_stderr_test.v after 1,049 other VLIB tests passed and 158 skipped. Original command ./v2 -cc gcc -cflags -fno-omit-frame-pointer -cflags -fsanitize=undefined -silent vlib/v/tests/gc_boehm_abort_reports_to_stderr_test.v. At test line 32, test_boehm_abort_is_reported_on_stderr_without_blocking killed its child after 60 s: the Boehm abort blocked for more than 60000000000 (a modal dialog?). This is a harness child deadline, not a GitHub job timeout and no UBSan undefined-behavior trace was reported. The test's child should call C.GC_FREE on a stack pointer under -gc boehm_leak; parent polls child.is_alive() with redirected pipes and kills after deadline. Need diagnose deadlock vs blocked stdio vs GC error-dialog vs slow runtime/invalid-exit-status handling: capture child PID, ps/wait channel/backtrace, stderr/stdout nonblocking, and exact child exit/exit status in a bounded repeated run before altering code or timeouts. Do not blindly lengthen deadline, skip test or dismiss external GC traces. Fixture unchanged on current master 44bb; no matching corrected fixed-descendant native execution. Status investigating, native V unavailable locally.
[!NOTE]
You can use the 👍 reaction to increase the issue's priority for developers.Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
- Dominant language
- V
- Stars
- 38.1k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 682
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vlang/v
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sagemathinc/sagebrush#1683 ·
Maintainers usually reply within 1 day
-
bot-triaged module: aotinductor module: compile-time module: inductor module: performance module: rocm oncall: export oncall: pt2 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
baseballyama/rsvelte#5235 ·
Maintainers usually reply within 1 day
-
lang-core: member access on a component instance reads its internal fields instead of giving nullOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midspiral/LemmaScript#355 · 1 comment ·
Maintainers usually reply within 1 day