diff options
author | Masataka Pocke Kuwabara <[email protected]> | 2025-02-14 16:31:58 +0900 |
---|---|---|
committer | <[email protected]> | 2025-02-14 16:31:58 +0900 |
commit | 0cab608d3a7791c229eea2ebe276494f063c8176 () | |
tree | a2d4bf5612a61b794de0bbf84df48d404b1ac33c /eval_intern.h | |
parent | b4ed6db096b5876b547646307aa41e008fdca8ea (diff) |
[Bug #21127] Thread deadlock does not display backtraces (#12721)
Previously, Ruby displayed backtraces for each thread on deadlock. However, it has not been shown since Ruby 3.0. It should display the backtrace for debugging. Co-authored-by: Jeremy Evans <[email protected]>
Notes: Merged-By: pocke <[email protected]>
-rw-r--r-- | eval_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -300,6 +300,8 @@ void rb_vm_set_progname(VALUE filename); VALUE rb_vm_cbase(void); /* vm_backtrace.c */ VALUE rb_ec_backtrace_object(const rb_execution_context_t *ec); VALUE rb_ec_backtrace_str_ary(const rb_execution_context_t *ec, long lev, long n); VALUE rb_ec_backtrace_location_ary(const rb_execution_context_t *ec, long lev, long n, bool skip_internal); |