Bug 354647 - kio slaves die for all KDE4 applications using Plasma 5 (15.08.2) and KF 5.15.0 on migrated profiles
Summary: kio slaves die for all KDE4 applications using Plasma 5 (15.08.2) and KF 5.15...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 346199 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-31 18:12 UTC by Till Schäfer
Modified: 2022-09-04 10:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdebugrc file that causes kio slaves to crash (17.54 KB, text/plain)
2015-11-03 19:48 UTC, Till Schäfer
Details
another kdebugrc (15.03 KB, text/plain)
2016-03-29 16:56 UTC, .
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2015-10-31 18:12:23 UTC
Whenever i use an KDE4 Application (such as Kile, Krusader, Ksnapshot, etc) inside Plasma 5 (Version 15.08.2, KF 5.15) i get an error message such as: 

"The process for the file protocol died unexpectedly" 

This is related to kio slaves dying. For example i have attached the log output of kile below. It is not limited to the file kio slave, but it also happens with other kio slaves such as ftp (tested inside krusader). 

The bug is limited to users (tested two different ones), that already had KDE4 installed and therefore a ~/.kde4 folder with all the kde4 settings existed. If i create a fresh user, this bug is not present. Therefore i tried to remove all ~/.kde4/share/config/kio* files, but with no luck. 

If you advise me, which config files might also be related, i will test this systematically, such that we can track down the problematic source.

--------------------------Kile log output--------------------------------
kile(16679)/kio (Slave) KIO::Slave::timeout: slave failed to connect to application pid= 16681  protocol= "file"
kile(16679)/kio (Slave) KIO::Slave::timeout: Houston, we lost our slave, pid= 16681
kile(16679)/kio (Slave) KIO::Slave::timeout: slave died pid =  16681
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x24996b0) KIO::Slave(0x2c17d20)
kile(16679)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/till")
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveDied: KIO::Slave(0x2c17d20)
kile(16679)/kio (KDirListerCache) KDirListerCache::slotFileDirty: Doing stat on: "/home/till"
kile(16679)/kio (KDirListerCache) KDirListerCache::updateDirectory: KUrl("file:///home/till")
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x2fd9470)
kile(16679)/kio (KDirListerCache) KDirListerCache::updateDirectory: update started in KUrl("file:///home/till")
kile(16679)/kio (KDirListerCache) KDirListerCache::slotFileDirty: Doing stat on: "/home/till"
kile(16679)/kio (KDirListerCache) KDirListerCache::updateDirectory: KUrl("file:///home/till")
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: KIO::ListJob(0x2fd9470) QObject(0x0)
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x2fd9470) QObject(0x0)
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x2fd81c0)
kile(16679)/kio (KDirListerCache) KDirListerCache::updateDirectory: update started in KUrl("file:///home/till")
kile(16679)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/till")
kile(16679)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-till/kileC16679.slave-socket"
kile(16679)/kio (Slave) KIO::Slave::timeout: slave failed to connect to application pid= 16689  protocol= "file"
kile(16679)/kio (Slave) KIO::Slave::timeout: Houston, we lost our slave, pid= 16689
kile(16679)/kio (Slave) KIO::Slave::timeout: slave died pid =  16689
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x2fd81c0) KIO::Slave(0x3059ee0)
kile(16679)/kio (KDirListerCache) KDirListerCache::slotUpdateResult: finished update KUrl("file:///home/till")
kile(16679)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveDied: KIO::Slave(0x3059ee0)




Reproducible: Always
Comment 1 Till Schäfer 2015-11-03 19:48:17 UTC
Created attachment 95296 [details]
kdebugrc file that causes kio slaves to crash

is located under ~/.kde4/share/config/
Comment 2 Till Schäfer 2015-11-03 19:50:30 UTC
if have tracked the file down that causes this problems. It is: ~/.kde4/share/config/kdebugrc

Maybe you can reproduce the bug with this file and fix the kio-slaves to not crash with this file present under plasma5
Comment 3 . 2016-03-29 16:56:02 UTC
Created attachment 98147 [details]
another kdebugrc

I had the same issue, here is my kdebugrc file
Comment 4 Leszek Lesner 2016-11-27 19:43:29 UTC
I can confirm this. 
Removing the kdebugrc fixes the issue.
Comment 5 Nate Graham 2018-04-17 21:07:54 UTC
*** Bug 346199 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2018-04-17 21:10:35 UTC
It's a shame this wasn't fixed years ago during the migration, but I haven't seen any new reports recently. Let's call it fixed with KDE Frameworks 5.45.