Hide Forgot
Description of problem: gnome login is blocked waiting on esd Version-Release number of selected component (if applicable): esound-0.2.36-5.fc7 gnome-session-2.17.91-2.fc7 How reproducible: always Steps to Reproduce: 1. start system 2. login Actual results: login hangs Expected results: login to work Additional info: killall esd is a temporary workaround cleaned /tmp of .esd file, rebooted, no go. strace shows is able to connect to esd, and is waiting on read on esd.
workaround : disable esound from sound menu in gnome.
similar problem here: first gnome session works fine but after logout esd doesn't get killed; upon second login gnome hangs waiting on esd. esound-0.2.37-1.fc7.x86_64 gnome-session-2.18.0-1.fc7.x86_64
gnome-session is supposed to kill esd on logout. void gsm_sound_logout (void) { #ifdef HAVE_ESD if (sound_events_enabled ()) play_trigger ("logout"); if (esd_pid) { if (kill (esd_pid, SIGTERM) == -1) g_printerr ("Failed to kill esd (pid %d)\n", esd_pid); else esd_pid = 0; } #endif }
gnome-session will only kill esd if it started esd, yea? but esd might get started by its own libraries right?
(In reply to comment #4) > gnome-session will only kill esd if it started esd, yea? but esd might get > started by its own libraries right? Yes, but I believe it's the case here, as esd isn't started with -terminate. Ritesh, could you double-check whether you have any error messages in your ~/.xsession-errors? Is esd started with any flags on your system (check with ps aux)?
to reproduce, enable system->prefences->hardware->sound->sound preferences->tick enable software sound mixing . log-out and login. login freezes . nothing unusal in .xsession-errors pstree output |-gdm-binary---gdm-binary-+-Xorg | `-gnome-session-+-bluetooth-apple | |-esd ps output rkhadgar 7450 0.0 0.2 3880 2076 ? SL 12:27 0:00 /usr/bin/esd -n obeeps typical strace output 12:27:47 connect(17, {sa_family=AF_FILE, path="/tmp/.esd/socket"}, 18) = 0 12:27:47 rt_sigaction(SIGPIPE, {0x22e7c0, [PIPE], SA_RESTART}, {SIG_IGN}, 8) = 0 12:27:47 open("/home/rkhadgar/.esd_auth", O_RDONLY) = 18 12:27:47 read(18, "3\345\245\353\3>\262\304,c\367lMa@d", 16) = 16 12:27:47 write(17, "3\345\245\353\3>\262\304,c\367lMa@d", 16) = 16 12:27:47 write(17, "NDNE", 4) = 4 <-- kill esd at this point --> 12:27:47 read(17, 0xbfb74a70, 4) = -1 ECONNRESET (Connection reset by peer) 12:30:37 close(18) = 0 12:30:37 rt_sigaction(SIGPIPE, {SIG_IGN}, {0x22e7c0, [PIPE], SA_RESTART}, 8) = 0 12:30:37 close(17)
I can confirm this with the fresh FC7.. kill esd continues the gnome-session startup.
There's a new esound in updates-testing already. *** This bug has been marked as a duplicate of 238680 ***