aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2020-06-17 14:48:34 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-17 17:42:50 +0200
commit4d2d1ebee3b65c404576d1c8573a0ec48b03b883 (patch)
tree1d5730fd945bc0d98a6b976a407227ff353de2ea /pkg/report/linux.go
parent2e1749a138c98e0aaf00749ca435ca2ba26fcd33 (diff)
pkg/report: stop using questionable frames
Most likely reports without proper stack traces were caused by a bug in the unwinder and are now fixed in 187b96db5ca7 "x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive tasks". Disable trying to use questionable frames for now. Fixes #1834
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 7f65bf3bc..d5dac95f5 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -163,13 +163,23 @@ func (ctx *linux) Parse(output []byte) *Report {
rep.Corrupted, rep.CorruptedReason = ctx.isCorrupted(title, report, format)
}
if rep.CorruptedReason == corruptedNoFrames && context != contextConsole && !questionable {
+ // We used to look at questionable frame with the following incentive:
+ // """
// Some crash reports have all frames questionable.
// So if we get a corrupted report because there are no frames,
// try again now looking at questionable frames.
// Only do this if we have a real context (CONFIG_PRINTK_CALLER=y),
// to be on the safer side. Without context it's too easy to use
// a stray frame from a wrong context.
- continue
+ // """
+ // Most likely reports without proper stack traces were caused by a bug
+ // in the unwinder and are now fixed in 187b96db5ca7 "x86/unwind/orc:
+ // Fix unwind_get_return_address_ptr() for inactive tasks".
+ // Disable trying to use questionable frames for now.
+ useQuestionableFrames := false
+ if useQuestionableFrames {
+ continue
+ }
}
return rep
}