Bug 85599 - Annoying error popups when autosaving under high system load: The process for the file protocol died unexpectedly.
Summary: Annoying error popups when autosaving under high system load: The process for...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: file (show other bugs)
Version: 3.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 132587 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-21 03:42 UTC by Henryk Plötz
Modified: 2012-08-13 15:30 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henryk Plötz 2004-07-21 03:42:06 UTC
Version:           1.6.3 (using KDE KDE 3.2.2)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.3 
OS:                Linux

I'm using Kile 1.6.3 with a current Gentoo Linux on kernel 2.6. Since some time Kile is quite regularly popping up error messages saying "The process for the file protocol died unexpectedly." ("Der Prozess für das Protokoll file wurde unerwartet beendet" in the German translation.)

Apparently this does happen while autosaving and only under high system load. These windows are modal. They are useless. And I get about one for each open file. (Any of these points is bad.)

Reproducible: Always
Steps to Reproduce:
  1. Start kile
  2. Set the autosave interval to something low (e.g. 1 Minute)
  3. Open some files. (In my experience it doesn't matter whether they are modified)
  4. Create some sytem activity, e.g. run updatedb or compile OpenOffice or something similar

Actual Results: Displays annoying, meaningless error messages

Expected Results: Either no error condition should happen at all (as far as I can see nothing really went wrong) or it should be displayed in a less intrusive way.
Comment 1 Jeroen Wijnhout 2004-07-21 15:22:34 UTC
These messages are not shown by Kile, but by the underlying KDE libraries. The fact that it happens points to a bug in those libraries, or a disfunctional KDE installation on your system. Whichever is the case, I will reassign this bug to the KDE libraries.

Thanks for the bug report!

best,
Jeroen
Comment 2 Nicolas Goutte 2004-07-22 20:55:48 UTC
Well, if the problem is with "file" then the bug should be moved to the right component.

Have a nice day!
Comment 3 David Faure 2004-07-22 22:18:38 UTC
If kio_file dies, and if that's related to high system load, it basically means the kernel killed it?
In case there's no bug here, only expected behavior. Your system isn't supposed to get to that state.
But any process can be killed, I don't see why it should be kio_file everytime.
Please provide output from ~/.xsession-errors and /var/log/messages so that we can
see what's happening, it's hard to guess otherwise.

Comment 4 Henryk Plötz 2004-07-23 09:59:02 UTC
There is nothing in /var/log/messages about that. The kernel did not kill anything (that would be easy to spot).
But you're right, there was something in the .xsession-errors:

kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)

(resulting in 4 error popups)
Comment 5 Lubos Lunak 2009-05-14 14:12:52 UTC
*** Bug 132587 has been marked as a duplicate of this bug. ***
Comment 6 Lubos Lunak 2009-05-14 14:17:18 UTC
David: I think it's more like that there is somewhere a timeout in KIO that kills ioslaves after "idle" timeout (https://bugzilla.novell.com/show_bug.cgi?id=233602).
Comment 7 Hauke Fath 2009-06-08 13:14:30 UTC
Along the lines of <http://bugs.kde.org/show_bug.cgi?id=132587>, on a user's normally crowded desktop I see the infamous alert declaring "The process for the file protocol died unexpectedly.", and no icons.

The user's ~/.xsession-errors has

kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KLauncher): ERROR: SlavePool: No communication with slave.

The machine is an AND64 dual core, so by no means slow, but the user's home is on NFS.

Moving to K Menu::Settings::Desktop::Behavior, then ticking off "Show icons on desktop", hitting Apply, then ticking it on again brings back the icons. Switching off the desktop image used to help, but does not any more.
Comment 8 Dawit Alemayehu 2012-07-31 07:42:44 UTC
Is this still an issue in KDE 4 ?
Comment 9 zanetu 2012-07-31 07:52:42 UTC
(In reply to comment #8)
> Is this still an issue in KDE 4 ?

Hi Dawit, 

I'm using kde 4.8 and I sometimes come across those error popups during session restoration, which is accompanied by high load average. The error messages are brought about by kate. By the way, the bug didn't occur when I was using kde 4.7.
Comment 10 David Faure 2012-08-06 15:14:55 UTC
Please post errors from ~/.xsession-errors for more details about the issue. The messages from KDE 3 don't exist anymore in the code, so it must be something else nowadays.

If you export KDE_DEBUG_TIMESTAMP=1 in your kde startup (e.g. ~/.kde/env/debug.sh) you'll also get time information in front of every line there, to spot if they are indeed related to the error message you get.
Comment 11 Zane Tu 2012-08-06 21:39:15 UTC
(In reply to comment #10)
> Please post errors from ~/.xsession-errors for more details about the issue.
> The messages from KDE 3 don't exist anymore in the code, so it must be
> something else nowadays.
> 
> If you export KDE_DEBUG_TIMESTAMP=1 in your kde startup (e.g.
> ~/.kde/env/debug.sh) you'll also get time information in front of every line
> there, to spot if they are indeed related to the error message you get.

I've added export KDE_DEBUG_TIMESTAMP=1 to debug.sh. However, this bug is not easily reproducible. I don't know when I can reproduce it. Yet I'll let you know once I can.
Comment 12 Dawit Alemayehu 2012-08-13 15:30:36 UTC
KDE 3 is no longer maintained. Feel free to reopen this ticket if you can reproduce this bug under KDE 4.