After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 317857 - esd stale lockfile locks up Evolution and Firefox/Flash plugin
esd stale lockfile locks up Evolution and Firefox/Flash plugin
Status: RESOLVED WONTFIX
Product: esound
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Esound Maintainers
Esound Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-10-03 18:52 UTC by Luke Hutchison
Modified: 2012-02-28 20:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luke Hutchison 2005-10-03 18:52:32 UTC
With Evolution set up to play a .wav file when new mail arrives, after a random
number of weeks' use, Evolution starts to lock up every time a sound is played,
with the following backtrace.  Firefox also locks up from this point on,
whenever the Flash plugin is trying to play a sound.  Both use esd:

Thread 1 (Thread -1208809792 (LWP 8222))

  • #0 ??
  • #1 __read_nocancel
    from /lib/libpthread.so.0
  • #2 esd_send_auth
    from /usr/lib/libesd.so.0
  • #3 esd_open_sound
    from /usr/lib/libesd.so.0
  • #4 gnome_config_init_iterator_
    from /usr/lib/libgnome-2.so.0
  • #5 gnome_sound_play
    from /usr/lib/libgnome-2.so.0
  • #6 mail_crypto_get_pgp_cipher_context
    from /usr/lib/evolution/2.2/components/libevolution-mail.so
  • #7 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #8 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #10 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #11 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #12 main

The only solution to this problem is to delete the ~/.esd_auth file, and restart
esd.  My file currently contains:

$ hexdump .esd_auth
0000000 6e01 0a1a 7add 969d 8f20 2c1f 3efe 8f33
0000010

Rebooting the machine doesn't do anything if you don't delete the .esd_auth
file.

This appears to be a case of a stale lockfile left around.  Is there anything
that can be done about this?  It makes some apps unusable, and is very hard to
figure out how to fix.
Comment 1 David Schleef 2005-10-03 19:05:45 UTC
Is esound running at the time of the lockup?
Comment 2 Luke Hutchison 2005-10-03 20:42:29 UTC
Yes, sorry, I should have said that esd has to be killed as well as the auth
file deleted.
Comment 3 Luke Hutchison 2005-11-17 03:57:36 UTC
I have found this is fairly easy to duplicate -- if the Flash plugin is playing
sound when Evolution tries to play a "new message" alert, it causes the lockup.
Comment 4 Jeffrey Stedfast 2008-07-10 23:30:12 UTC
my patch for bug #542391 should solve this hang
Comment 5 André Klapper 2012-02-28 20:33:15 UTC
"esound" has not seen code changes for more than three years according to http://git.gnome.org/browse/esound/log/ , and it will not see further active development anymore according to its developers.

Closing this report as WONTFIX - Please feel free to reopen this bug report in
the future if anyone takes the responsibility for active development again.