MCPcopy Create free account
hub / github.com/F-Stack/f-stack / printCrashReport

Function printCrashReport

app/redis-6.2.6/src/debug.c:1841–1853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1839}
1840
1841void printCrashReport(void) {
1842 /* Log INFO and CLIENT LIST */
1843 logServerInfo();
1844
1845 /* Log the current client */
1846 logCurrentClient();
1847
1848 /* Log modules info. Something we wanna do last since we fear it may crash. */
1849 logModulesInfo();
1850
1851 /* Run memory test in case the crash was triggered by memory corruption. */
1852 doFastMemoryTest();
1853}
1854
1855void bugReportEnd(int killViaSignal, int sig) {
1856 struct sigaction act;

Callers 3

_serverAssertFunction · 0.85
_serverPanicFunction · 0.85
sigsegvHandlerFunction · 0.85

Calls 4

logServerInfoFunction · 0.85
logCurrentClientFunction · 0.85
logModulesInfoFunction · 0.85
doFastMemoryTestFunction · 0.85

Tested by

no test coverage detected