https://bugs.kde.org/show_bug.cgi?id=487808
Bug ID: 487808 Summary: plasmashell tries to parse ELF file as a config file during startup; desktop unresponsive Classification: Plasma Product: plasmashell Version: 6.0.4 Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Startup process Assignee: plasma-b...@kde.org Reporter: phil.h...@gmail.com CC: k...@davidedmundson.co.uk Target Milestone: 1.0 SUMMARY On startup plasmashell tries to parse an ELF executable as a config file, resulting in 3 minutes of CPU burn, and unresponsive desktop, and 4 million errors logged in journalctl. STEPS TO REPRODUCE 1. Download the VSCode tarball from https://update.code.visualstudio.com/1.85.2/linux-x64/stable 2. Untar it into a local folder under home. 2. Login to plasmashell Note: When I tried to repro this by copying the file somewhere like in the steps above, it did not occur again. I'll try to repro again when I get more time to experiment. OBSERVED RESULT Desktop displays but doesn't respond to mouse or keyboard for 3 minutes. Syslog is spammed with parse errors like this: plasmashell[17552]: kf.config.core: "KConfigIni: In file /home/phord/ude_installations/.VSCode-linux-x64.2024-05-03T16:13:56.8ff70376.ude/code, line 40238: " Invalid entry (missing '=') SOFTWARE/OS VERSIONS Operating System: KDE neon 6.0 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.5.0-35-generic (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-10610U CPU @ 1.80GHz Memory: 15.2 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics Manufacturer: LENOVO Product Name: 20UCS4TR00 System Version: ThinkPad X1 Yoga Gen 5 ADDITIONAL INFORMATION Possibly related to Bug 465517. In this case the file is not named "*.desktop", but it is an appimage which did contain a file named ".desktop", it seems. It is Electron instance (VSCode). $ file "/home/phord/ude_installations/.VSCode-linux-x64.2024-05-03T16:13:56.8ff70376.ude/code" /home/phord/ude_installations/.VSCode-linux-x64.2024-05-03T16:13:56.8ff70376.ude/code: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=8568a1e8a49c9f715f0c0ec32106257b915b9851, not stripped $ gio info "/home/phord/ude_installations/.VSCode-linux-x64.2024-05-03T16:13:56.8ff70376.ude/code" | grep content standard::content-type: application/x-executable standard::fast-content-type: application/octet-stream $ mimetype "/home/phord/ude_installations/.VSCode-linux-x64.2024-05-03T16:13:56.8ff70376.ude/code" /home/phord/ude_installations/.VSCode-linux-x64.2024-05-03T16:13:56.8ff70376.ude/code: application/x-executable $ kmimetypefinder5 "/home/phord/ude_installations/.VSCode-linux-x64.2024-05-03T16:13:56.8ff70376.ude/code" application/x-executable -- You are receiving this mail because: You are watching all bug changes.