| 2065 | } |
| 2066 | |
| 2067 | void printCrashReport(void) { |
| 2068 | g_fInCrash = true; |
| 2069 | |
| 2070 | /* Log INFO and CLIENT LIST */ |
| 2071 | logServerInfo(); |
| 2072 | |
| 2073 | /* Log the current client */ |
| 2074 | logCurrentClient(); |
| 2075 | |
| 2076 | /* Log modules info. Something we wanna do last since we fear it may crash. */ |
| 2077 | logModulesInfo(); |
| 2078 | |
| 2079 | /* Run memory test in case the crash was triggered by memory corruption. */ |
| 2080 | doFastMemoryTest(); |
| 2081 | } |
| 2082 | |
| 2083 | void bugReportEnd(int killViaSignal, int sig) { |
| 2084 | struct sigaction act; |
no test coverage detected