[pulseaudio-tickets] [PulseAudio] #184: output to esound does not work

PulseAudio trac-noreply at tango.0pointer.de
Tue Dec 11 06:17:40 PST 2007


#184: output to esound does not work
-----------------------------+----------------------------------------------
 Reporter:  greve            |       Owner:  lennart
     Type:  defect           |      Status:  new    
 Priority:  normal           |   Milestone:         
Component:  module-esound-*  |    Severity:  normal 
 Keywords:                   |  
-----------------------------+----------------------------------------------
 ( possibly connected to http://www.pulseaudio.org/ticket/121 ?)

 Following http://www.pulseaudio.org/wiki/PerfectSetup#ESOUNDApplications,
 on Debian GNU/Linux sid with pulseaudio 0.9.8: The daemon seems to work, I
 can stream music with Audacious to another machine or play it locally, as
 it should be, the module-protocol-esound-unix is loaded, the sockets
 exist:

 ls -l /tmp/.esd*
 lrwxrwxrwx 1 greve greve    9 2007-12-11 11:44 /tmp/.esd-1000 -> /tmp/.esd
 /tmp/.esd:
 total 0
 srwxrwxrwx 1 pulse pulse 0 2007-12-11 11:07 socket

 but xine -A esd fails to start with the error message:

 audio_esd_out: connecting to esd server...
 audio_esd_out: can't connect to <default> ESD server: Success
 load_plugins: failed to load audio output plugin <esd>
 main: audio driver <esd> failed

 (verbosity turned up) -- strace shows the following end:

 rt_sigprocmask(SIG_UNBLOCK, [ALRM], ~[HUP INT QUIT ILL TRAP ABRT BUS FPE
 KILL USR1 SEGV USR2 PIPE TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG
 XCPU XFSZ VTALRM PROF WINCH IO PWR SYS RTMIN RT_1], 8) = 0
 access("/tmp/.esd/socket", R_OK|W_OK)   = 0
 socket(PF_FILE, SOCK_STREAM, 0)         = 5
 fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
 setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
 connect(5, {sa_family=AF_FILE, path="/tmp/.esd/socket"}, 18) = 0
 rt_sigaction(SIGPIPE, {0xb55e0000, [PIPE], SA_RESTART}, {SIG_DFL}, 8) = 0
 open("/home/greve/.esd_auth", O_RDONLY) = 6
 read(6, "\214s\343\n\272[\343\340S\341:y\214}?\331", 16) = 16
 write(5, "\214s\343\n\272[\343\340S\341:y\214}?\331", 16) = 16
 write(5, "NDNE", 4)                     = 4
 read(5, "", 4)                          = 0
 close(6)                                = 0
 rt_sigaction(SIGPIPE, {SIG_DFL}, {0xb55e0000, [PIPE], SA_RESTART}, 8) = 0
 close(5)                                = 0
 rt_sigprocmask(SIG_SETMASK, ~[HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1
 SEGV USR2 PIPE TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ
 VTALRM PROF WINCH IO PWR SYS RTMIN RT_1], NULL, 8) = 0
 write(1, "main: audio driver <esd> failed\n", 32) = 32
 exit_group(1)                           = ?
 Process 19696 detached

 So it looks like it tries to open the correct socket and the socket has
 correct permissions to allow connection, but it still fails.

 Help appreciated -- if you need more info, just ask.

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/184>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list