Commit 0f343ffb authored by Harald Sitter's avatar Harald Sitter 🏳🌈
Browse files

unbreak crash reports involving QML

memfd files for QML JIT are /memfd:JITCode:/path/to/libQt5Qml.so.5 which
results in false positives for the deletion regex we use to detect
updated software
parent 1e794ba9
...@@ -166,6 +166,11 @@ CrashedApplication *KCrashBackend::constructCrashedApplication() ...@@ -166,6 +166,11 @@ CrashedApplication *KCrashBackend::constructCrashedApplication()
if (!match.isValid() || !match.hasMatch()) { if (!match.isValid() || !match.hasMatch()) {
continue; continue;
} }
const QString path = match.captured(QStringLiteral("path"));
if (path.startsWith(QStringLiteral("/memfd"))) {
// Qml.so's JIT shows up under memfd. This is a false positive against our regex.
continue;
}
hasDeletedFiles = true; hasDeletedFiles = true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment