Summary: | baloo_file crashes in Baloo::IdTreeDB::get() | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | CapSel <kdebugs> |
Component: | Baloo File Daemon | Assignee: | baloo-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aramgrigoryan, michal.dybczak, nate, rebcamsie, suprafluid |
Priority: | HI | Keywords: | drkonqi |
Version: | 5.43.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
CapSel
2018-02-20 23:09:10 UTC
Git commit eb68430ae5f4fc4c4a2e5b1798683ff6a639ad3d by Valerii Malov. Committed on 13/03/2019 at 21:50. Pushed by valeriymalov into branch 'master'. Baloo engine: treat every non-success code as a failure Summary: Treating only MDB_NOTFOUND as an error leads to use of uninitliazed pointers and handle IDs in other cases (e.g. when get fails with MDB_BAD_TXN) and wreaks havoc in the application. Related: bug 361186, bug 372880, bug 395888, bug 367480, bug 403720 Reviewers: #baloo, bruns, poboiko Reviewed By: #baloo, bruns Subscribers: cullmann, ngraham, bruns, kde-frameworks-devel, #baloo Tags: #frameworks, #baloo Differential Revision: https://phabricator.kde.org/D18664 M +12 -9 src/engine/database.cpp M +26 -17 src/engine/documentdatadb.cpp M +30 -22 src/engine/documentdb.cpp M +30 -22 src/engine/documentiddb.cpp M +25 -16 src/engine/documenttimedb.cpp M +0 -1 src/engine/documenturldb.cpp M +4 -3 src/engine/documenturldb.h M +4 -5 src/engine/fsutils.cpp M +28 -15 src/engine/idfilenamedb.cpp M +22 -13 src/engine/idtreedb.cpp M +37 -29 src/engine/mtimedb.cpp M +0 -2 src/engine/phraseanditerator.cpp M +24 -19 src/engine/positiondb.cpp M +31 -27 src/engine/postingdb.cpp M +47 -13 src/engine/transaction.cpp M +4 -4 src/engine/transaction.h M +3 -2 src/file/extractorprocess.cpp M +5 -5 src/file/fileindexscheduler.cpp M +5 -4 src/file/indexcleaner.cpp M +0 -1 src/file/main.cpp M +1 -1 src/file/metadatamover.cpp https://commits.kde.org/baloo/eb68430ae5f4fc4c4a2e5b1798683ff6a639ad3d *** Bug 405270 has been marked as a duplicate of this bug. *** *** Bug 413449 has been marked as a duplicate of this bug. *** *** Bug 415456 has been marked as a duplicate of this bug. *** No duplicate bug reports seen in almost a year and all duplicates are old, from Frameworks 5.54 or older. After all the bugfixing work done during that time, I think we can call this fixed! |