Summary: | shutdown/reboot/logout don't work when sytemsounds are activ | ||
---|---|---|---|
Product: | [Unmaintained] ksmserver | Reporter: | Thies Schröder <mail> |
Component: | general | Assignee: | Lubos Lunak <l.lunak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.samirh78, aspotashev, balazs, balcaen.john, chris.lucan, ddomenichelli, dilfridge, dimanne, dirk.kde, henrikki.almusa, kde, kde, kdm-bugs-null, lamarque, linux, markus.blaschke, mfabry, moron, pogma, post, thomas, vamp898 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | 4.8.1 | |
Sentry Crash Report: |
Description
Thies Schröder
2010-02-22 08:10:28 UTC
I have the same problem. On my system only one user is affected (the most frequently used account). Kubuntu Karmic Koala x64. Confirmed. I suddenly had the same problem. Once I turn off system notifications, I am able to shutdown / logoff. Jaunty 9.04 with KDE 4.3.2 It started after I did an update... sorry can't remember the exact one but it had to do with sudo It might be something to do with sudo. I used the affected user account for all administrative tasks - including updates through sudo and apt-get. I don't like graphical tools for such things. I always use console. I wonder if this is a permission problem or perhaps some buggy configuration files somewhere in home directory. Removing .kde folder doesn't help unfortunately. Exactly the same here with OpenSuSE 11.2 KDE upgraded to 4.4 I unchecked the "Play a sound" option at Logout in system notification settings, and it works (thanks for the info Thies) I still don't know what caused my problems, but a full upgrade to a newer version of my distro turned out to be a cure. I can log out and do a reboot/shutdown while sound notifications are still active and working properly. I guess problem lies somewhere deeper than I thought. Problem is still present in KDE 4.4.2 *** This bug has been confirmed by popular vote. *** The problem is still present in trunk (KDE Platform Version: 4.4.86 (KDE 4.4.86 (KDE 4.5 >= 20100616)) (Compiled from sources)) It might be related to https://bugs.kde.org/show_bug.cgi?id=242470 This is also reported in Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=326393 Does anyone know if the problem is still there for kde-4.5.x ? When I had the problem, it was due to an inoperable phonon backend for sounds which meant that system sounds could not play and as a result, those things which play a sound shutdown/reboot/logout did not operate due to failure of playing the sound. Setting the sounds not to play for those operations was the quick fix for me in 4.4.2. Fixing my phonon installation was the fix for me when it happened in 4.4.2. I have this same problem from time to time. However I have remove all sound notifications from everything (where is that remove all sound notifications button!). Also my player setting is in 'No audio'. No help what so ever. Kubuntu 10.10 KDE 4.5.1 Same problem on Kubuntu 10.10 with KDE 4.5.3. At least 2 users are unable to shutdown, reboot or logout from the system (nearly every day).. Hibernate/Sleep works... This problem was introduced with upgrade fom Kubuntu 10.4 to Kubuntu 10.10. Cleaning the whole KDE-profile of a user diddn't work - KDE is unusable now, that sucks :( .. Every time "root" have to reboot the system, that's no solution. I experience the same problems under KDE 4.5.4 and KDE 4.5.4 in Arch. Turning off system notification sounds solves the problem. Installing speex helped the Archlinux guys and also helped me. (In reply to comment #14) > Installing speex helped the Archlinux guys and also helped me. i was able to reproduce it and speex defenetly solves this ""problem"" Also with KDE 4.5.5 (Kubuntu 10.10) and some more systems are affected (including fresh Kubuntu installations) ... and still no progress/solution. Installation of "speex" doesn't help under Kubuntu. It's pain in the ass to sudo shutdown to force a "hard restart/reboot" An easy way to reproduce it here (on mageia & probably on every distro) is to simply add a non existence log out sound in ~/.kde/share/kde.notifyrc [Event/exitkde] Action=Sound Execute= KTTS= Logfile= Sound=file:///usr/share/sounds/asoundthatdoesnotexit.wav Problem also present in kde-4.6.2 on Gentoo, see https://bugs.gentoo.org/show_bug.cgi?id=326393 The problem still present in KDE 4.6.5 %uname -a FreeBSD Impedance.campus.mipt.ru. 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Thu Oct 13 08:46:31 MSD 2011 root@Impedance.campus.mipt.ru.:/usr/obj/usr/src/sys/GENERIC amd64 ksmserver has this: KNotification *n = KNotification::event( "exitkde" , QString() , QPixmap() , 0l , KNotification::DefaultEvent ); // KDE says good bye connect(n, SIGNAL( closed() ) , this, SLOT(logoutSoundFinished()) ); Unfortunately if sound is broken somehow (in our case by neglecting to install any phonon backends), then the closed() signal never happens, and logoutSoundFinished() doesn't go on its killing spree, all the processes remain alive. *** Bug 284503 has been marked as a duplicate of this bug. *** Git commit 82d5f2a118a9a40e18b86628a3dc3109adf4f7bc by Lamarque V. Souza. Committed on 27/02/2012 at 23:35. Pushed by lvsouza into branch 'KDE/4.8'. Add timeout for logoutSoundFinished() signal to prevent shutdown process from stopping because of broken sound system. Thanks to Peter OGorman for pointing this problem out. REVIEW: 103593 (cherry picked from commit ad188bfdb06af50448acbbde00556ebc3d29f418) M +1 -0 ksmserver/server.h M +15 -0 ksmserver/shutdown.cpp http://commits.kde.org/kde-workspace/82d5f2a118a9a40e18b86628a3dc3109adf4f7bc Git commit ad188bfdb06af50448acbbde00556ebc3d29f418 by Lamarque V. Souza. Committed on 27/02/2012 at 23:35. Pushed by lvsouza into branch 'master'. Add timeout for logoutSoundFinished() signal to prevent shutdown process from stopping because of broken sound system. Thanks to Peter OGorman for pointing this problem out. REVIEW: 103593 M +1 -0 ksmserver/server.h M +15 -0 ksmserver/shutdown.cpp http://commits.kde.org/kde-workspace/ad188bfdb06af50448acbbde00556ebc3d29f418 Doesn't seem to be entirely fixed. On Kubuntu 12.10 with KDE 4.9.4 I couldn't log out until I changed Phonon backend from GStreamer to VLC. Disabling the log out sound didn't help. |