summaryrefslogtreecommitdiff
path: root/ext/-test-/abi/extconf.rb
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2026-06-14 10:50:39 +0000
committerKoichi Sasada <ko1@atdot.net>2026-06-14 20:59:17 +0900
commit5e700b36c229e26ec28626bdaa0eec4390df3cc3 (patch)
treefebc4eb213c8fc787cc7313b84ea67ac0a7181a9 /ext/-test-/abi/extconf.rb
parenta83e66f51a17aeb6f38fe459eb5c2cf820403ec4 (diff)
vm_dump.c: note when there is no Ruby execution contextHEADmaster
rb_vm_bugreport() silently skipped the control frame information, Ruby level backtrace, and threading sections when vm or ec was NULL, so the report jumped straight to the machine register context with no explanation of why no Ruby level information was shown. ec can be NULL for various reasons (e.g. a process-directed signal delivered to a non-Ruby thread, or simply a window where the current thread has no execution context yet). Emit an explicit note under the "Control frame information" header in that case, without speculating about the cause. This makes the report self-explanatory and keeps the section present, so test_crash_report no longer fails intermittently when ec happens to be NULL. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'ext/-test-/abi/extconf.rb')
0 files changed, 0 insertions, 0 deletions