Project

General

Profile

Feature #446

dump stack to log on segfault

Added by Sage Weil almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/29/2010
Due date:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Should be doable if we trap SIGSEG?

One thing to keep in mind is that the common/assert.cc code currently deliberately does a segfault to induce a core dump. There is probably a better way to go about it.

History

#1 Updated by Yehuda Sadeh almost 9 years ago

  • Assignee set to Yehuda Sadeh

#2 Updated by Yehuda Sadeh almost 9 years ago

Commit:3e56ac4b377a3f39f040556beffb7c58cc2baea4 adds the signal handling part. Need to decide whether we keep the current assert code that dumps the backtrace or not.

#3 Updated by Yehuda Sadeh almost 9 years ago

  • Status changed from New to Resolved

We'll keep the backtrace in the assertion code for now. Commit:e064796bea3985c088e74f75f35637225827bab8 adds some info about the caught signal, so that it's more clear when reading the assertion log.

Also available in: Atom PDF