pkg/report: consistent parsing of possible circular locking dependency detected
reports
#5558
Labels
possible circular locking dependency detected
reports
#5558
Initially inspired by the following case:
The stack traces are mostly the same, yet the reports differ in their top parts:
This is caused by the
trans_set_locked
function being inlined in the second case. We only see it appear after symbolization:This leads syzkaller to generate to two different titles.
Adding
trans_set_locked
to the list of titles skipped during parsing is not very helpful -- it just shifts the title from the task trying to acquire the lock to the task holding the lock.Hence the question: how do we actually want to parse such reports?
I think it would be more correct to be explicit w.r.t. whether we want to anchor to the task that was the first or the task that was the last one.
TITLE:
and one in theALT:
title.The text was updated successfully, but these errors were encountered: