mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-21 22:21:02 +00:00
Crashcatcher: limit backtrace to a sensible number of stack frames
When a stack overflow occurs, trying to print the whole stack would cause the process to hang indefinitely.
This commit is contained in:
parent
48ac0bef3e
commit
d1375cd3a3
@ -149,7 +149,7 @@ static void gdb_info(pid_t pid)
|
||||
"info registers\n"
|
||||
"shell echo \"\"\n"
|
||||
"shell echo \"* Backtrace\"\n"
|
||||
"thread apply all backtrace full\n"
|
||||
"thread apply all backtrace full 1000\n"
|
||||
"detach\n"
|
||||
"quit\n", pid);
|
||||
fclose(f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user