always writing tdata/working stacktrace when breakpad catches a crash
This commit is contained in:
parent
b1f267e4dc
commit
fa2767cc65
|
@ -389,8 +389,6 @@ namespace Logs {
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (LogsInMemory) {
|
||||
t_assert(LogsInMemory != DeletedLogsInMemory);
|
||||
LogsInMemoryList list = *LogsInMemory;
|
||||
|
@ -720,6 +718,8 @@ namespace SignalHandlers {
|
|||
}
|
||||
if (name) {
|
||||
dump() << "Caught signal " << signum << " (" << name << ") in thread " << uint64(thread) << "\n";
|
||||
} else if (signum == -1) {
|
||||
dump() << "Google Breakpad caught a crash, minidump written in thread " << uint64(thread) << "\n";
|
||||
} else {
|
||||
dump() << "Caught signal " << signum << " in thread " << uint64(thread) << "\n";
|
||||
}
|
||||
|
@ -809,9 +809,7 @@ namespace SignalHandlers {
|
|||
bool DumpCallback(const google_breakpad::MinidumpDescriptor &md, void *context, bool success)
|
||||
#endif
|
||||
{
|
||||
#ifdef Q_OS_MAC
|
||||
Handler(-1, 0, 0);
|
||||
#endif
|
||||
return success;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue