diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2020-06-17 14:48:34 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-17 17:42:50 +0200 |
| commit | 4d2d1ebee3b65c404576d1c8573a0ec48b03b883 (patch) | |
| tree | 1d5730fd945bc0d98a6b976a407227ff353de2ea /pkg/report/linux.go | |
| parent | 2e1749a138c98e0aaf00749ca435ca2ba26fcd33 (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.go | 12 |
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 } |
