Bug 425142

Summary: kdeinit5 crashes in Baloo::PostingDB::fetchTermsStartingWith while fetching tags after launching Dolphin
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Dipta Biswas <dabiswas112>
Component: TagsAssignee: Stefan BrĂ¼ns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kfm-devel, nate
Priority: NOR    
Version: 5.68.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dipta Biswas 2020-08-08 15:16:58 UTC
SUMMARY: kdeinit 5 crashes when I open dolphin. No previous solution in this forum works.


STEPS TO REPRODUCE
1. Close dolphin, if it's already open
2. Open dolphin

OBSERVED RESULT: kdeinit crashes


EXPECTED RESULT: shouldn't crash


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 20.04; 5.18 probably
(available in About System)
KDE Plasma Version: 5.18 probably
KDE Frameworks Version: Idk but latest one probably, installed kubuntu-desktop on top of ubuntu last month
Qt Version: Idk but 5.something

ADDITIONAL INFORMATION
I'm not a pro coder and I've never reported bugs before, so sorry if I'm vague. :) I can't find kdeinit 5 in products list so I reported it as dolphin bug. But I know it's not a dolphin bug.

Application: kdeinit5 (kdeinit5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f0eb71cd859 in __GI_abort () at abort.c:79
#8  0x00007f0eb1e18a83 in ?? () from /lib/x86_64-linux-gnu/liblmdb.so.0
#9  0x00007f0eb1e0da27 in ?? () from /lib/x86_64-linux-gnu/liblmdb.so.0
#10 0x00007f0eb1e0fc0d in ?? () from /lib/x86_64-linux-gnu/liblmdb.so.0
#11 0x00007f0eb1e0e191 in mdb_cursor_get () from /lib/x86_64-linux-gnu/liblmdb.so.0
#12 0x00007f0eb1c5c7f5 in Baloo::PostingDB::fetchTermsStartingWith(QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#13 0x00007f0eb1c63655 in Baloo::Transaction::fetchTermsStartingWith(QByteArray const&) const () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#14 0x00007f0eb1e89310 in Baloo::TagListJob::start() () from /lib/x86_64-linux-gnu/libKF5Baloo.so.5
#15 0x00007f0eb71450f3 in KJob::exec() () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#16 0x00007f0eb20ad9cc in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/tags.so
#17 0x00007f0eb20af39d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/tags.so
#18 0x00007f0eb3161e66 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007f0eb3162686 in KIO::SlaveBase::dispatchLoop() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#20 0x00007f0eb20b2f13 in kdemain () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/tags.so
#21 0x000055dcb403577d in ?? ()
#22 0x000055dcb403686a in ?? ()
#23 0x000055dcb403725a in ?? ()
#24 0x000055dcb403212f in ?? ()
#25 0x00007f0eb71cf0b3 in __libc_start_main (main=0x55dcb4031750, argc=1, argv=0x7ffc0d0fb648, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc0d0fb638) at ../csu/libc-start.c:308
#26 0x000055dcb4032d9e in ?? ()
[Inferior 1 (process 23131) detached]
Comment 1 Nate Graham 2020-08-08 18:29:07 UTC
Thanks for the bug report. Looks like there's something about your tags that Baloo doesn't like:

#11 0x00007f0eb1e0e191 in mdb_cursor_get () from /lib/x86_64-linux-gnu/liblmdb.so.0
#12 0x00007f0eb1c5c7f5 in Baloo::PostingDB::fetchTermsStartingWith(QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#13 0x00007f0eb1c63655 in Baloo::Transaction::fetchTermsStartingWith(QByteArray const&) const () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#14 0x00007f0eb1e89310 in Baloo::TagListJob::start() () from /lib/x86_64-linux-gnu/libKF5Baloo.so.5

Would yo be able to provide a list of all the tags you're using in Dolphin? Thanks!
Comment 2 Nate Graham 2020-08-08 18:29:57 UTC
Also could you provide the version of KDE Frameworks that are installed on your machine? You can find this out in the Info Center app.
Comment 3 Dipta Biswas 2020-08-09 09:36:42 UTC
Well, I've never added any tag to any file/directory in dolphin (or any other file manager). I don't know if they're automatically added. 
KDE Frameworks version: 5.68.0
Comment 4 Nate Graham 2020-08-09 13:32:25 UTC
Great, thanks.
Comment 5 Dipta Biswas 2020-08-10 14:28:39 UTC
Update: Now I get it even when I start a Plasma session and also when I start konqueror, from both terminal & gui
Comment 6 Nate Graham 2020-10-26 16:50:45 UTC

*** This bug has been marked as a duplicate of bug 417042 ***