MCPcopy Create free account
hub / github.com/ElementsProject/lightning / crashdump

Function crashdump

common/daemon.c:41–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41static void crashdump(int sig)
42{
43 char why[100];
44
45 snprintf(why, 100, "FATAL SIGNAL %d", sig);
46 send_backtrace(why);
47
48 /* Probably shouldn't return. */
49 bt_exit();
50
51 /* This time it will kill us instantly. */
52 kill(getpid(), sig);
53}
54
55static void crashlog_activate(void)
56{

Callers

nothing calls this directly

Calls 1

send_backtraceFunction · 0.70

Tested by

no test coverage detected