Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
24787900
Commit
24787900
authored
Dec 15, 2015
by
antirez
Browse files
Log address causing SIGSEGV.
parent
01173bc8
Changes
1
Show whitespace changes
Inline
Side-by-side
src/debug.c
View file @
24787900
...
...
@@ -813,6 +813,10 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) {
bugReportStart
();
redisLog
(
REDIS_WARNING
,
" Redis %s crashed by signal: %d"
,
REDIS_VERSION
,
sig
);
if
(
sig
==
SIGSEGV
)
{
redisLog
(
REDIS_WARNING
,
" SIGSEGV caused by address: %p"
,
(
void
*
)
info
->
si_addr
);
}
redisLog
(
REDIS_WARNING
,
" Failed assertion: %s (%s:%d)"
,
server
.
assert_failed
,
server
.
assert_file
,
server
.
assert_line
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment