mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 00:50:50 +00:00
Log address causing SIGSEGV.
This commit is contained in:
parent
8f8c3992ac
commit
6db8e8569d
@ -912,6 +912,10 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) {
|
||||
bugReportStart();
|
||||
serverLog(LL_WARNING,
|
||||
" Redis %s crashed by signal: %d", REDIS_VERSION, sig);
|
||||
if (sig == SIGSEGV) {
|
||||
serverLog(LL_WARNING,
|
||||
" SIGSEGV caused by address: %p", (void*)info->si_addr);
|
||||
}
|
||||
serverLog(LL_WARNING,
|
||||
" Failed assertion: %s (%s:%d)", server.assert_failed,
|
||||
server.assert_file, server.assert_line);
|
||||
|
Loading…
x
Reference in New Issue
Block a user