MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / bugReportStart

Function bugReportStart

src/debug.cpp:1119–1127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1117}
1118
1119void bugReportStart(void) {
1120 pthread_mutex_lock(&bug_report_start_mutex);
1121 if (bug_report_start == 0) {
1122 serverLogRaw(LL_WARNING|LL_RAW,
1123 "\n\n=== KEYDB BUG REPORT START: Cut & paste starting from here ===\n");
1124 bug_report_start = 1;
1125 }
1126 pthread_mutex_unlock(&bug_report_start_mutex);
1127}
1128
1129#ifdef HAVE_BACKTRACE
1130static void *getMcontextEip(ucontext_t *uc) {

Callers 5

_serverAssertFunction · 0.85
_serverAssertPrintObjectFunction · 0.85
_serverPanicFunction · 0.85
sigsegvHandlerFunction · 0.85

Calls 1

serverLogRawFunction · 0.85

Tested by

no test coverage detected