libgnome slows down desktop trying to open esd

Bug #115652 reported by Ralph Janke
38
Affects Status Importance Assigned to Milestone
libgnome (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: evince

Evince tries to continuously open esd even if it is not installed. The corresponding package (esound?) should either be a dependency or evince should check the existence of esd once at the startup.

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What version of Ubuntu do you use? What do you mean by "open esd"? To run the binary? To connect to a socket? Do you get any error dialog? Esound is required by GNOME, did you uninstall it your box?

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
Ralph Janke (txwikinger) wrote :

The machine I tested it with was first installed as kubuntu feisty. I then installed ubuntu-desktop in order to also have the gnome desktop.

There is no error dialog in the GUI, but if it is started from command line, the error messages are printed out there. After the sound package is installed the error messages on the terminal don't appear anymore.

I did not uninstall any package.

Revision history for this message
Sebastien Bacher (seb128) wrote :

unconfirming, to test by somebody using kubuntu

Changed in evince:
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

happens not only with evince, reassigning to libgnome

Changed in libgnome:
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

This indeed slows down the entire desktop considerably. When disabling esd in the software-properties, all desktop apps suddenly start to become *fast* :)

I will look at this soon, since I was responsible for doing the initial libgnome patch.

Changed in libgnome:
assignee: desktop-bugs → pitti
importance: Low → Medium
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Any relation to this error message (appears with a gksu gedit from terminal on tribe 4):

cesare@desktop:~/downloads$ gksu gedit
/bin/sh: O_PASSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS/usr/bin/esd: not found
/bin/sh: /usr/bin/esd: not found

esd is disabled

Revision history for this message
Martin Pitt (pitti) wrote :

libgnome (2.19.1-0ubuntu2) gutsy; urgency=low

  * debian/patches/11_aplay_fallback.patch: If connecting to esd failed once,
    never try again. Failure to do so takes a lot of time and slows down all
    actions of Gnome programs which (can) trigger sound events.
    (LP: #115652)

 -- Martin Pitt <email address hidden> Sun, 12 Aug 2007 21:18:09 +0200

Changed in libgnome:
status: Confirmed → Fix Released
Revision history for this message
Neil Wilson (neil-aldur) wrote :

Still getting the same 'esd' problem with the latest libgnome2 installed today (2.19.1-0ubuntu2) when launching 'gvim' and gedit from the command line.

Programs constantly report

/bin/sh: /usr/bin/esd: not found

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Reopening. Released fix doesn't address duplicate bug #131476,

Changed in libgnome:
status: Fix Released → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

This "esd not found" will now happen exactly once, but the desktop is not slowed down any more. When esd or pulseaudio-esd-compat is installed, it shuold still be used, so we need to check once at program start.

Changed in libgnome:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.