Project

General

Profile

Feature #13006

backtrace of thread killer

Added by akostadinov (Aleksandar Kostadinov) over 3 years ago. Updated over 3 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:78488]

Description

Hello, I am right now having difficulties to understand why one thread I have is dead. Seems been killed by something (rails/puma). But there is no way I can see to understand what and why did it.

That's why I'm proposing a new feature. This would be Thread#kill should record a backtrace at time of call and record it somewhere in the thread object so that later calling Thread#killer_trace would show what performed this call.


Related issues

Related to Ruby master - Feature #6647: Exceptions raised in threads should be loggedClosedmatz (Yukihiro Matsumoto)Actions

Also available in: Atom PDF