Bug 437274 - kdeinit5 crashes every time I open Dolphin or search for files with it
Summary: kdeinit5 crashes every time I open Dolphin or search for files with it
Status: RESOLVED DUPLICATE of bug 437153
Alias: None
Product: frameworks-kinit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.82.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-17 20:18 UTC by Patrick Silva
Modified: 2021-05-19 02:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot - crash during search (157.45 KB, image/png)
2021-05-17 20:18 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-05-17 20:18:42 UTC
Created attachment 138518 [details]
screenshot - crash during search

SUMMARY
I followed these steps on my system:
1. enabled baloo in File Search KCM
2. copied dozens of jpg files to my Home
3. enabled "Also index file content" option in File Search KCM
4. a few minutes later, disabled baloo in File Search KCM
4. did some searches in my Home with Dolphin

Since then kdeinit5 crashes every time I open Dolphin and after searches with Dolphin.
As we can see in the attached screenshot, Dolphin displays "The process for the filenamesearch protocol died unexpectedly." inline error message when kdeinit5 crashes during searches.

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland

Application: kdeinit5 (kdeinit5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f3e768b03bf in KCoreDirListerCache::slotResult (this=0x7f3e76926500 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=0x7fffbd76ce30) at /usr/src/debug/kio-5.82.0/src/core/kcoredirlister.cpp:1291
#5  0x00007f3e7a9173bb in QtPrivate::QSlotObjectBase::call (a=0x7fffbd76cf80, r=0x7f3e76926500 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, this=0x55a17c841640) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false> (sender=0x55a17c8eab00, signal_index=6, argv=0x7fffbd76cf80) at kernel/qobject.cpp:3886
#7  0x00007f3e7a91072f in QMetaObject::activate (sender=sender@entry=0x55a17c8eab00, m=m@entry=0x7f3e7a456ce0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffbd76cf80) at kernel/qobject.cpp:3946
#8  0x00007f3e7a3f7bad in KJob::result (this=this@entry=0x55a17c8eab00, _t1=<optimized out>, _t1@entry=0x55a17c8eab00, _t2=...) at /usr/src/debug/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:636
#9  0x00007f3e7a3f893c in KJob::finishJob (this=0x55a17c8eab00, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.82.0/src/lib/jobs/kjob.cpp:94
#10 0x00007f3e7a9173bb in QtPrivate::QSlotObjectBase::call (a=0x7fffbd76d0b0, r=0x55a17c8eab00, this=0x55a17c83ff00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x55a17c77ee10, signal_index=5, argv=0x7fffbd76d0b0) at kernel/qobject.cpp:3886
#12 0x00007f3e7a91072f in QMetaObject::activate (sender=sender@entry=0x55a17c77ee10, m=m@entry=0x7f3e7691ff00 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffbd76d0b0) at kernel/qobject.cpp:3946
#13 0x00007f3e76844f57 in KIO::SlaveInterface::error (this=this@entry=0x55a17c77ee10, _t1=<optimized out>, _t2=...) at /usr/src/debug/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:452
#14 0x00007f3e76847105 in KIO::SlaveInterface::dispatch (this=0x55a17c77ee10, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kio-5.82.0/src/core/slaveinterface.cpp:181
#15 0x00007f3e768456ba in KIO::SlaveInterface::dispatch (this=0x55a17c77ee10) at /usr/src/debug/kio-5.82.0/src/core/slaveinterface.cpp:78
#16 0x00007f3e7684a11b in KIO::Slave::gotInput (this=0x55a17c77ee10) at /usr/src/debug/kio-5.82.0/src/core/slave.cpp:392
#17 0x00007f3e7a9173bb in QtPrivate::QSlotObjectBase::call (a=0x7fffbd76d2e0, r=0x55a17c77ee10, this=0x55a17c7ab3d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x55a17c7970f0, signal_index=3, argv=0x7fffbd76d2e0) at kernel/qobject.cpp:3886
#19 0x00007f3e7a90d15f in QObject::event (this=0x55a17c7970f0, e=0x55a17cb6b420) at kernel/qobject.cpp:1314
#20 0x00007f3e7a8dffd8 in doNotify (event=0x55a17cb6b420, receiver=0x55a17c7970f0) at kernel/qcoreapplication.cpp:1154
#21 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1140
#22 QCoreApplication::notifyInternal2 (receiver=0x55a17c7970f0, event=0x55a17cb6b420) at kernel/qcoreapplication.cpp:1064
#23 0x00007f3e7a8e3109 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55a17c73be20) at kernel/qcoreapplication.cpp:1821
#24 0x00007f3e7a939604 in postEventSourceDispatch (s=0x55a17c762a10) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f3e78f4c02c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007f3e78f9fb59 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007f3e78f49781 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007f3e7a938c36 in QEventDispatcherGlib::processEvents (this=0x55a17c75fec0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f3e7a8de97c in QEventLoop::exec (this=this@entry=0x7fffbd76d730, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f3e7b4a3beb in FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (iteratedDirs=..., itemValidator=..., directory=..., this=0x7fffbd76dcf0) at /usr/include/qt/QtCore/qflags.h:121
#31 FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (this=0x7fffbd76dcf0, directory=..., itemValidator=..., iteratedDirs=...) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:100
#32 0x00007f3e7b4a3eed in FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (iteratedDirs=..., itemValidator=..., directory=..., this=0x7fffbd76dcf0) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:151
#33 FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (this=0x7fffbd76dcf0, directory=..., itemValidator=..., iteratedDirs=...) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:100
#34 0x00007f3e7b4a3eed in FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (iteratedDirs=..., itemValidator=..., directory=..., this=0x7fffbd76dcf0) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:151
#35 FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (this=0x7fffbd76dcf0, directory=..., itemValidator=..., iteratedDirs=...) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:100
#36 0x00007f3e7b4a3eed in FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (iteratedDirs=..., itemValidator=..., directory=..., this=0x7fffbd76dcf0) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:151
#37 FileNameSearchProtocol::searchDirectory(QUrl const&, std::function<bool (KFileItem const&)> const&, QSet<QString>&) (this=0x7fffbd76dcf0, directory=..., itemValidator=..., iteratedDirs=...) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:100
#38 0x00007f3e7b4a4453 in FileNameSearchProtocol::listDir (this=0x7fffbd76dcf0, url=...) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:95
#39 0x00007f3e76831abf in KIO::SlaveBase::dispatch (this=0x7fffbd76dcf0, command=71, data=...) at /usr/src/debug/kio-5.82.0/src/core/slavebase.cpp:1271
#40 0x00007f3e768325d6 in KIO::SlaveBase::dispatchLoop (this=0x7fffbd76dcf0) at /usr/src/debug/kio-5.82.0/src/core/slavebase.cpp:335
#41 0x00007f3e7b4a477c in kdemain (argc=<optimized out>, argv=0x55a17c73bca0) at /usr/src/debug/kio-extras-21.04.1/filenamesearch/kio_filenamesearch.cpp:203
#42 0x000055a17c193c9d in launch (argc=argc@entry=4, _name=_name@entry=0x55a17c756308 "/usr/lib/qt/plugins/kf5/kio/filenamesearch.so", args=0x55a17c7563ab "", args@entry=0x55a17c756336 "filenamesearch", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x55a17c7563b3 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x55a17c19719e "0") at /usr/src/debug/kinit-5.82.0/src/kdeinit/kinit.cpp:692
#43 0x000055a17c1954f1 in handle_launcher_request (sock=7, who=who@entry=0x55a17c197153 "launcher") at /usr/src/debug/kinit-5.82.0/src/kdeinit/kinit.cpp:1130
#44 0x000055a17c195bf9 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kinit-5.82.0/src/kdeinit/kinit.cpp:1323
#45 0x000055a17c190b13 in main (argc=2, argv=0x7fffbd76e2c0) at /usr/src/debug/kinit-5.82.0/src/kdeinit/kinit.cpp:1761
[Inferior 1 (process 1470) detached]
Comment 1 controloao 2021-05-18 02:59:34 UTC
I confirm this bug. When you try to start a search, Dolphin falls.
Comment 2 Marc Oliver König 2021-05-18 12:07:11 UTC
I can confirm this also on Plasma Version: 5.21.5
Comment 3 Nate Graham 2021-05-19 02:19:42 UTC

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