diff options
| author | Koichi Sasada <ko1@atdot.net> | 2026-06-14 10:50:39 +0000 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2026-06-14 20:59:17 +0900 |
| commit | 5e700b36c229e26ec28626bdaa0eec4390df3cc3 (patch) | |
| tree | febc4eb213c8fc787cc7313b84ea67ac0a7181a9 /test/ruby | |
| parent | a83e66f51a17aeb6f38fe459eb5c2cf820403ec4 (diff) | |
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 'test/ruby')
0 files changed, 0 insertions, 0 deletions
