Summary: | baloo_file crashes in Baloo::DocTermsCodec::decode() | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Georges Sancosme <georges> |
Component: | Baloo File Daemon | Assignee: | baloo-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | a.j.ball, georges, jlambrec, nate |
Priority: | HI | Keywords: | drkonqi |
Version: | 5.45.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Georges Sancosme
2018-06-26 12:03:26 UTC
Created attachment 113982 [details]
New crash information added by DrKonqi
baloo_file (5.45.0) using Qt 5.9.4
Simply at Plasma Workspace startup. Clean startup (boot from scratch) and login.
-- Backtrace (Reduced):
#6 0x00007fcd7a5e6488 in QByteArray::operator[] (i=10960, this=0x7fff6174f418) at /usr/include/qt5/QtCore/qbytearray.h:469
#7 Baloo::DocTermsCodec::decode (this=this@entry=0x7fff6174f417, full=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/doctermscodec.cpp:60
#8 0x00007fcd7a5c90b3 in Baloo::DocumentDB::get (this=this@entry=0x7fff6174f520, docId=<optimized out>, docId@entry=3467025612831523587) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/documentdb.cpp:99
#9 0x00007fcd7a5e26b3 in Baloo::WriteTransaction::removeDocument (this=this@entry=0x556dfddeb960, id=id@entry=3467025612831523587) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:123
#10 0x00007fcd7a5e31e5 in Baloo::WriteTransaction::removeRecursively (this=0x556dfddeb960, parentId=3467025612831523587) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:166
*** Bug 364356 has been marked as a duplicate of this bug. *** *** Bug 401688 has been marked as a duplicate of this bug. *** 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 390823, bug 372880, 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 No duplicate bug reports seen in over a year. After all the bugfixing work done during that time, I think we can call this fixed! |