aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux/guilty
Commit message (Collapse)AuthorAgeFilesLines
* pkg/report: ignore ref_tracker framesDmitry Vyukov2022-01-112-0/+83
| | | | | ref_tracker is a generic debugging facility, the actual bug is (almost always) in the caller.
* pkg/report: ignore some common arm64 framesDmitry Vyukov2021-05-031-0/+144
|
* pkg/report: implement arm oops parsingDmitry Vyukov2020-12-301-0/+119
|
* pkg/report: better guilty file extraction with lockdep headerDmitry Vyukov2020-12-071-0/+132
| | | | | | | LOCKDEP can add "hard/softirs last enabled/disabled at" lines with more files at the top. These files are generally not related, or at least out of order. We want to extract the file from stacks, so ignore these lines.
* pkg/report: skip drivers/usb/core/urb.c as guilty fileDmitry Vyukov2020-11-304-0/+247
| | | | | | | | | | | We are getting lots of WARNINGs in urb.c and all of them seem to mean a bug in a particular driver. And fixes for these bugs go into a particular driver code. But we send all of them to urb.c maintainers. Skip urb.c as a guilty file. If a bug happens to be in urb.c for real, a driver maintainers should CC USB core maintainers on it. Update #2284
* pkg/report: avoid producing no guilty fileDmitry Vyukov2020-05-291-0/+48
| | | | | | If we produce no guilty file at all, the report is mailed only to LKML, which is mostly equivalent to mailing to nobody. If we skip all files, return the first one.
* pkg/report: fix guilty file extraction in presence of rcu stallsDmitry Vyukov2019-12-051-0/+165
| | | | | | | | | | | | | | The the added test for exception from exception corner case. "BUG: spinlock lockup" fails to respect panic_on_warn and panic after printing report (though, it's a BUG already, so it should have been paniced even without panic_on_warn). As the result we got "spinlock lockup" followed by "rcu stall" report. And we have that special exception for rcu stalls b/c for them the most of the report is irrelevant up to apic_timer_interrupt frame. The code did not expect this weird double-report case and skipped everything up to apic_timer_interrupt, though it's actually a lockup in netfilter code.
* pkg/report: add parsing of trusty crashesDmitry Vyukov2019-01-141-0/+25
| | | | Update #933
* pkg/report: ignore arch/.*/mm/physaddr.c as guilty fileDmitry Vyukov2018-10-101-0/+51
| | | | | | | This is called from kfree in the added test. We already ignore everything related to kmalloc/free and e.g. arch/.*/mm/fault.c, so it looks reasonable to ignore this one too.
* pkg/report: ignore printk as guilty fileDmitry Vyukov2018-09-281-0/+103
|
* pkg/report: fix guilty file extractionDmitry Vyukov2018-09-262-0/+78
| | | | | Account for the case that some file names can appear _before_ crash report starts. Start extracting guilty file starting from StartPos.
* pkg/report: ignore mm/memory.c as guilty fileDmitry Vyukov2018-08-291-0/+61
|
* pkg/report: fix kmalloc bug in kreallocDmitry Vyukov2018-07-161-0/+53
|
* pkg/report: don't blame kcovDmitry Vyukov2018-04-061-0/+63
| | | | kcov frame can be present in rcu stalls, ignore it.
* pkg/report: add few KMSAN report examplesDmitry Vyukov2018-03-262-0/+165
|
* pkg/report: skip mm/util.c in guilty filesDmitry Vyukov2018-02-141-0/+45
|
* pkg/report: special-case extraction of guilty file for rcu stallsDmitry Vyukov2018-02-072-4/+2
|
* pkg/report: improve report titlesDmitry Vyukov2018-02-063-0/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Replace stacktraceRe with custom code which is more flexible. stacktraceRe stumbled on any unrelated lines and could not properly parse truncated stacks. 2. Match report regexp earlier. If we match simler title regexp, but don't match report regexp or fail to parse stack trace, the report is corrupted. This eliminates lots of duplicate corrupted oops entries, which were there only because we had complex regexp's in titles. 3. Ignore low-level frames during stack parsing. E.g. we never want to report a GPF in lock_acquire or memcpy (somewhat similar to what we do for guilty files). 4. Add a bunch of specialized formats for WARNINGs. There is number of generic debugging facilities (like ODEBUG, debug usercopy, kobject, refcount_t, etc), and the bug is never in these facilities, it's in the caller instead. 5. Improve some other oops formats. 6. Add a bunch of additional tests. This resolves most of TODOs in tests. Fixes #515
* pkg/report: fix guilty file regexpsDmitry Vyukov2018-01-251-0/+97
|
* pkg/report: ignore kernel/workqueue.c as guilty fileDmitry Vyukov2018-01-081-2/+1
|
* pkg/report: add few more test cases where we failDmitry Vyukov2018-01-081-0/+97
|
* pkg/report: add few tests where we mis-detect title/guilty fileDmitry Vyukov2018-01-062-0/+151
|
* pkg/report: add another guilty file testDmitry Vyukov2017-12-121-0/+30
|
* pkg/report: clean guilty filesDmitry Vyukov2017-12-121-1/+1
|
* pkg/report: move guilty file test data to testdir/Dmitry Vyukov2017-12-1225-0/+838
linux_test.go is total mess and very hard to work with. Turns out we had 2 tests that do exactly the same (verify Report), but nobody ever noticed. Move all test data to testdir/. One file per crash.