Summary: | Baloo should handle lmdb corruption - Query::exec() should be fail-safe (and all things called inside) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Fabian <0inkane> |
Component: | Engine | Assignee: | Pinak Ahuja <pinak.ahuja> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alexminder, amaury.deganseman, andysem, anthoney84, arhangel64, arnaudfrezet, arthur.marsh, axora, barnabas.sudy, bluej100, bugzilla, christoph, cquiros, cribari, dsoto, exclipit, felsvorsprung, georgemrc, gilbertoca, heiko.becker, hhgn32, ibukun, jirislaby, johnjaylward, kdebt45328, kdebugs.81do7, lucianomario58, ludvig.boklin, mail, malin.hidro, michal.lacko, mtrm0ep2z, nate, nicola.urbani1, patrick.rudolph, paul, pedron.alexandre, phani.vajjha, pinak.ahuja, pstrong, rafaelnunes737, reuben_p, rod, solerman.kaplon, taskin.new, tinkde, tobias.teichmann, vljubovic, vmatare+kdebug, wheel, xwissen+kde, yagorbunov |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Chakra | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Fabian
2016-03-24 17:46:54 UTC
I should add that starting konsole from krunner is a very easy way to trigger that code path, which might be an explanation for those bugs (360754, 360727, etc.) *** Bug 364360 has been marked as a duplicate of this bug. *** *** Bug 359488 has been marked as a duplicate of this bug. *** *** Bug 362200 has been marked as a duplicate of this bug. *** *** Bug 366437 has been marked as a duplicate of this bug. *** *** Bug 362621 has been marked as a duplicate of this bug. *** *** Bug 359667 has been marked as a duplicate of this bug. *** *** Bug 356009 has been marked as a duplicate of this bug. *** *** Bug 353342 has been marked as a duplicate of this bug. *** *** Bug 366005 has been marked as a duplicate of this bug. *** *** Bug 359996 has been marked as a duplicate of this bug. *** *** Bug 359839 has been marked as a duplicate of this bug. *** *** Bug 359692 has been marked as a duplicate of this bug. *** *** Bug 366011 has been marked as a duplicate of this bug. *** *** Bug 366038 has been marked as a duplicate of this bug. *** *** Bug 367769 has been marked as a duplicate of this bug. *** *** Bug 368446 has been marked as a duplicate of this bug. *** *** Bug 357344 has been marked as a duplicate of this bug. *** I believe this bug is related to https://bugs.kde.org/show_bug.cgi?id=366022 and https://bugs.kde.org/show_bug.cgi?id=366190. See also this video: https://www.youtube.com/watch?v=u-aGfU-whhA *** Bug 369076 has been marked as a duplicate of this bug. *** *** Bug 368946 has been marked as a duplicate of this bug. *** *** Bug 368991 has been marked as a duplicate of this bug. *** *** Bug 368761 has been marked as a duplicate of this bug. *** *** Bug 368699 has been marked as a duplicate of this bug. *** *** Bug 371813 has been marked as a duplicate of this bug. *** *** Bug 376403 has been marked as a duplicate of this bug. *** *** Bug 380882 has been marked as a duplicate of this bug. *** *** Bug 370347 has been marked as a duplicate of this bug. *** *** Bug 364520 has been marked as a duplicate of this bug. *** *** Bug 363491 has been marked as a duplicate of this bug. *** *** Bug 354705 has been marked as a duplicate of this bug. *** *** Bug 358657 has been marked as a duplicate of this bug. *** *** Bug 368442 has been marked as a duplicate of this bug. *** *** Bug 368519 has been marked as a duplicate of this bug. *** *** Bug 364013 has been marked as a duplicate of this bug. *** *** Bug 363511 has been marked as a duplicate of this bug. *** *** Bug 366293 has been marked as a duplicate of this bug. *** *** Bug 376525 has been marked as a duplicate of this bug. *** *** Bug 384505 has been marked as a duplicate of this bug. *** *** Bug 382610 has been marked as a duplicate of this bug. *** *** Bug 381213 has been marked as a duplicate of this bug. *** *** Bug 379788 has been marked as a duplicate of this bug. *** *** Bug 370622 has been marked as a duplicate of this bug. *** *** Bug 377311 has been marked as a duplicate of this bug. *** *** Bug 373006 has been marked as a duplicate of this bug. *** *** Bug 372549 has been marked as a duplicate of this bug. *** I'm willing to bet that Christoph Cullman's work that went into 5.28 (especially https://cgit.kde.org/baloo.git/commit/?id=e34da150d82a57cf417a59b8b632b2fecb32a6f7) has fixed this. There isn't a single report of this crash happening when using a KDE Frameworks version later than 5.26. *** Bug 368809 has been marked as a duplicate of this bug. *** *** Bug 375293 has been marked as a duplicate of this bug. *** *** Bug 364521 has been marked as a duplicate of this bug. *** *** Bug 376932 has been marked as a duplicate of this bug. *** *** Bug 369092 has been marked as a duplicate of this bug. *** How is this resolved if crashes keep getting reported as duplicates? What version of KDE was this fixed in? All the crashes I'm marking as duplicates were reported against versions of KDE Frameworks 5.26 and lower. It was fixed in KDE Frameworks 5.28. I haven't run into a crash with the same characteristics on KF 5.28 or later, and if I do, it's likely a different crash. Created attachment 108591 [details]
New crash information added by DrKonqi
plasmashell (5.10.5) using Qt 5.7.1
- What I was doing when the application crashed:
When I was querying from the "start menu" the search results appeared and then the desktop crashed and restarted.
-- Backtrace (Reduced):
#7 0x00007fab4086a4c0 in QByteArray::QByteArray(char const*, int) () from /usr/lib64/libQt5Core.so.5
#8 0x00007faa3a54aa77 in DBPostingIterator::DBPostingIterator(void*, unsigned int) () from /usr/lib64/libKF5BalooEngine.so.5
#9 0x00007faa3a54ade4 in Baloo::PostingDB::prefixIter(QByteArray const&) () from /usr/lib64/libKF5BalooEngine.so.5
#10 0x00007faa3a55535f in Baloo::Transaction::postingIterator(Baloo::EngineQuery const&) const () from /usr/lib64/libKF5BalooEngine.so.5
#11 0x00007faa3a9ada2a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
That looks like a different crash; your backtrace isn't showing a crash in Query::exec(). I didn't say that *everything* had been fixed (I wish) :). Please feel free to report that as in new bug report! Thanks. I'll do that. Created attachment 108592 [details]
New crash information added by DrKonqi
krunner (5.10.5) using Qt 5.7.1
When searching from the desktop search (ALT+space), the query results are returned and then the desktop crashes and restarts.
This trace does show a call to Baloo::Query::exec(). So I decided to add it here. Let me know if I should open a seprate ticket for this as well.
-- Backtrace (Reduced):
#7 0x00007fd6a675c4c0 in QByteArray::QByteArray(char const*, int) () from /usr/lib64/libQt5Core.so.5
#8 0x00007fd66be26a77 in DBPostingIterator::DBPostingIterator(void*, unsigned int) () from /usr/lib64/libKF5BalooEngine.so.5
#9 0x00007fd66be26de4 in Baloo::PostingDB::prefixIter(QByteArray const&) () from /usr/lib64/libKF5BalooEngine.so.5
#10 0x00007fd66be3135f in Baloo::Transaction::postingIterator(Baloo::EngineQuery const&) const () from /usr/lib64/libKF5BalooEngine.so.5
#11 0x00007fd66c289a2a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
Can you file a whole new ticket, with a full backtrace? That's just another comment on this bug report (and all 52 people CCd on it are getting spammed). Created attachment 126594 [details]
New crash information added by DrKonqi
dolphin (19.12.2) using Qt 5.14.1
- What I was doing when the application crashed:
It always crashes when I select icons in dolphin. It doesn't matter which way it's done - it crashes with ctrl selection, with shift selection, with rectangle selection, with little plus button on top of the icon.
It doesn't matter which kind of icon - it crashes on folders on textfiles on images.
- Custom settings of the application:
I have detailed info panel opened in Dolphin (F11 button). As soon as I close that panel i can select as many items as I wish without crashing
-- Backtrace (Reduced):
#8 0x00007f20faea6bd0 in mdb_get () from /usr/lib/liblmdb.so
#9 0x00007f20fcd24f53 in Baloo::DocumentDataDB::get(unsigned long long) () from /usr/lib/libKF5BalooEngine.so.5
#10 0x00007f20fcd45684 in Baloo::Transaction::documentData(unsigned long long) const () from /usr/lib/libKF5BalooEngine.so.5
#11 0x00007f20ff1bdc32 in Baloo::File::load() () from /usr/lib/libKF5Baloo.so.5
[...]
#13 0x00007f20fd8b826a in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
|