mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
Merge pull request #10416 from Icinga/jschmidt/sigabrt-handler-fix
Fix SIGABRT not causing a core dump
This commit is contained in:
commit
235a3e1aa5
1
AUTHORS
1
AUTHORS
@ -135,6 +135,7 @@ Jesse Morgan <morgajel@gmail.com>
|
|||||||
Jo Goossens <jo.goossens@hosted-power.com>
|
Jo Goossens <jo.goossens@hosted-power.com>
|
||||||
Jochen Friedrich <j.friedrich@nwe.de>
|
Jochen Friedrich <j.friedrich@nwe.de>
|
||||||
Johannes Meyer <johannes.meyer@icinga.com>
|
Johannes Meyer <johannes.meyer@icinga.com>
|
||||||
|
Johannes Schmidt <johannes.schmidt@icinga.com>
|
||||||
Jonas Meurer <jonas@freesources.org>
|
Jonas Meurer <jonas@freesources.org>
|
||||||
Jordi van Scheijen <jordi.vanscheijen@solvinity.com>
|
Jordi van Scheijen <jordi.vanscheijen@solvinity.com>
|
||||||
Josef Friedrich <josef@friedrich.rocks>
|
Josef Friedrich <josef@friedrich.rocks>
|
||||||
|
@ -776,6 +776,12 @@ void Application::SigAbrtHandler(int)
|
|||||||
}
|
}
|
||||||
|
|
||||||
AttachDebugger(fname, interactive_debugger);
|
AttachDebugger(fname, interactive_debugger);
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
prctl(PR_SET_DUMPABLE, 1);
|
||||||
|
#endif /* __linux __ */
|
||||||
|
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user