Skip to content

Commit f863fb8

Browse files
author
babenko
committed
YT-24705: Dump core if crash handler hangs
commit_hash:f1f9ab8e6bcddbc35c95209c577366615d834411
1 parent 91b5a97 commit f863fb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

yt/yt/core/misc/crash_handler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,9 @@ void DumpSigcontext(void* uc)
469469

470470
void CrashTimeoutHandler(int /*signal*/)
471471
{
472-
AbortProcessDramatically(
473-
EProcessExitCode::GenericError,
474-
"Process hung during crash");
472+
WriteToStderr("*** Crash signal handler timed out\n");
473+
474+
YT_BUILTIN_TRAP();
475475
}
476476

477477
void DumpUndumpableBlocksInfo()

0 commit comments

Comments
 (0)