Bug 313445 - Wrong file in autostart freezes the desktop
Summary: Wrong file in autostart freezes the desktop
Status: RESOLVED DUPLICATE of bug 286658
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdecore (show other bugs)
Version: 4.9.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-18 11:50 UTC by Alvaro Soliverez
Modified: 2013-01-18 12:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Soliverez 2013-01-18 11:50:56 UTC
Autostart is supposedly expecting only executable files. If a non-executable file is copied to ~/.kde4/Autostart  it tries to open whatever application the file type is associated with.
In my case, it was a text file and it tried to open Kate, which would never finally open.
The thing is, the desktop froze. The plasma panels would not respond at all. I tried to open Rekonq and it wouldn't open.

I had to hit Ctrl+Esc, kill the Kate process. Then a Kdeinit error showed up, and all other stuff opened, and the desktop was responsive again.

My guess is, if the file in Autostart is not executable, bad things may happen and it shouldn't try to execute it at all, or verified that it doesn't freeze the desktop if it fails somehow.

To reproduce, it should be just enough to place a normal text in ~/.kde4/Autostart and relogin.
Comment 1 Jekyll Wu 2013-01-18 12:00:11 UTC
See https://bugs.kde.org/show_bug.cgi?id=286658#c4 and https://bugs.kde.org/show_bug.cgi?id=286658#c5

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