[pulseaudio-discuss] pulseaudio stops to work suddenly

Antonio Trande anto.trande at gmail.com
Thu Oct 18 11:07:24 PDT 2012


2012/10/18 Tanu Kaskinen <tanuk at iki.fi>

> On Thu, 2012-10-18 at 14:46 +0200, Antonio Trande wrote:
> > Hi all.
> >
> > Since I start to use kernels 3.6* in Fedora 17, pulseaudio has a strange
> > behavior.  After system boot everything seems work fine,  suddenly
> > pulseaudio daemon crashs, for example if I try to play a flash video
> > streaming (with gnash plugin). System audio is not audible, all volumes
> are
> > unchanged.
> >
> > My first attempts are:
> >
> >   $ rm -rf .pulse
> >   $ pulseaudio --kill
> >   $ pulseaudio -D -vvvv
> > E: [pulseaudio] main.c: Daemon startup failed.
> >
> > Does anyone encounter this type of problem ?
> >
> > I attach alsa-info and pulseaudio logs for more informations.
>
> In the pulseaudio log, this is the relevant error:
>
> E: [pulseaudio] socket-server.c: bind(): Address already in use
> E: [pulseaudio] module.c: Failed to load module
> "module-esound-protocol-unix" (argument: ""): initialization failed.
>
> Some old esound socket is left lingering, and pulseaudio isn't smart
> enough to handle that gracefully. The socket file is
> at /tmp/.esd-UID/socket - remove that and things should work again. You
> can also remove the line in /etc/pulse/default.pa that loads
> module-esound-protocol. That will ensure that you won't have this same
> problem again. Not loading the module should be pretty safe, since
> almost no application depends on esound these days.
>

Hi Tanu.

'/tmp/.esd-UID/socket' doesn't exist. In ' /etc/pulse/default.pa' I have
commented in this way:

...

### Load several protocols
#.ifexists module-esound-protocol-unix.so
#load-module module-esound-protocol-unix
#.endif
load-module module-native-protocol-unix
...

No sound after reboot.
$ pulseaudio -vvvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation
not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation
not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 1.1
D: [pulseaudio] main.c: Compilation host: x86_64-redhat-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4  -m64 -mtune=generic -W -Wextra -Wno-long-long
-Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef
-Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security
-Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
-Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings
-Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.6.2-4.fc17.x86_64
#1 SMP Wed Oct 17 02:43:21 UTC 2012
D: [pulseaudio] main.c: Found 2 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is e6cdadb7e38dcf6476f9386400000052.
I: [pulseaudio] main.c: Session ID is
e6cdadb7e38dcf6476f9386400000052-1350576009.510053-921055795.
I: [pulseaudio] main.c: Using runtime directory
/home/sagitter/.pulse/e6cdadb7e38dcf6476f9386400000052-runtime.
I: [pulseaudio] main.c: Using state directory /home/sagitter/.pulse.
I: [pulseaudio] main.c: Using modules directory
/usr/lib64/pulse-1.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

[sagitter at local ~]$ cat /etc/modprobe.d/dist-alsa.conf
options snd-hda-intel model=acer-aspire-6530g


-- 
*Antonio Trande
"Fedora Ambassador"*
*"Fedora italian translation group"*
*"Blogger"

**mail*: mailto:sagitter at fedoraproject.org <sagitter at fedoraproject.org>
*Homepage*: http://www.fedora-os.org
*Sip Address* : sip:sagitter AT ekiga.net
*Jabber <http://jabber.org/>* :sagitter AT jabber.org
*GPG Key: **D400D6C4*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20121018/77b72272/attachment.html>


More information about the pulseaudio-discuss mailing list