Bug 59707 - pulseaudio fails to start on FreeBSD: Daemon startup failed.
Summary: pulseaudio fails to start on FreeBSD: Daemon startup failed.
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other FreeBSD
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 10:50 UTC by Yuri
Modified: 2018-07-30 09:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Yuri 2013-01-22 10:50:07 UTC
I am getting this error message:
E: main.c: Daemon startup failed.
I am running '/usr/local/bin/pulseaudio --log-level=4 -vvvv --start'
Debug log, see below. doesn't have any immediste clues.
pulseaudio-0.9.23_2 installed from FreeBSD ports.
system call log with 'truss' didn't give any clues either.

---log---
Jan 8 10:40:20 myhost pulseaudio[55278]: main.c: Running on host: FreeBSD amd64 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r244709: Wed Dec 26 12:57:32 PST 2012 <email address hidden>:/usr/obj/usr/src-releng.9.1/sys/GENERIC
Jan 8 10:40:20 myhost pulseaudio[55278]: main.c: Found 8 CPUs.
Jan 8 10:40:20 myhost pulseaudio[55278]: main.c: Compiled with Valgrind support: yes
Jan 8 10:40:20 myhost pulseaudio[55278]: main.c: Running in valgrind mode: no
Jan 8 10:40:20 myhost pulseaudio[55278]: main.c: Running in VM: no
Jan 8 10:40:20 myhost pulseaudio[55278]: main.c: Optimized build: yes
Jan 8 10:40:20 myhost pulseaudio[55278]: main.c: All asserts enabled.
Jan 8 10:40:20 myhost pulseaudio[55278]: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Compilation host: amd64-portbld-freebsd9.1
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Compilation CFLAGS: -O2 -pipe -fno-strict-aliasing -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Running on host: FreeBSD amd64 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r244709: Wed Dec 26 12:57:32 PST 2012 <email address hidden>:/usr/obj/usr/src-releng.9.1/sys/GENERIC
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Found 8 CPUs.
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Compiled with Valgrind support: yes
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Running in valgrind mode: no
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Running in VM: no
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: Optimized build: yes
Jan 8 10:45:33 myhost pulseaudio[55525]: main.c: All asserts enabled.
Jan 8 10:45:33 myhost pulseaudio[55525]: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Compilation host: amd64-portbld-freebsd9.1
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Compilation CFLAGS: -O2 -pipe -fno-strict-aliasing -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Running on host: FreeBSD amd64 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r244709: Wed Dec 26 12:57:32 PST 2012 <email address hidden>:/usr/obj/usr/src-releng.9.1/sys/GENERIC
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Found 8 CPUs.
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Compiled with Valgrind support: yes
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Running in valgrind mode: no
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Running in VM: no
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: Optimized build: yes
Jan 8 10:45:37 myhost pulseaudio[55540]: main.c: All asserts enabled.
Jan 8 10:45:37 myhost pulseaudio[55540]: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
Comment 1 Tanu Kaskinen 2013-01-22 12:11:44 UTC
The log indeed doesn't offer much clues. I guess a segfault is the most likely explanation - otherwise there really should be more log output. What if you run pulseaudio without the "--start" argument?
Comment 2 Yuri 2013-01-22 17:56:29 UTC
Without --start log is below. It says there are no modules. Where they are supposed to come from? Maybe FreeBSD port builds it wrong?

---log---
I: core-util.c: Failed to acquire high-priority scheduling: Operation not supported
I: main.c: This is PulseAudio 0.9.23
D: main.c: Compilation host: amd64-portbld-freebsd9.1
D: main.c: Compilation CFLAGS: -O2 -pipe -fno-strict-aliasing -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: main.c: Running on host: FreeBSD amd64 9.1-STABLE FreeBSD 9.1-STABLE #5 r245708M: Tue Jan 22 01:02:36 PST 2013     yuri@eagle.yuri.org:/usr/obj/usr/src/sys/GENERIC
D: main.c: Found 8 CPUs.
I: main.c: Page size is 4096 bytes
D: main.c: Compiled with Valgrind support: yes
D: main.c: Running in valgrind mode: no
D: main.c: Running in VM: no
D: main.c: Optimized build: yes
D: main.c: All asserts enabled.
I: main.c: Machine ID is eagle.yuri.org.
I: main.c: Session ID is a37447d075211840db625586000070fa-1358846066.922020-319341524.
I: main.c: Using runtime directory /home/yuri/.pulse/eagle.yuri.org-runtime.
I: main.c: Using state directory /home/yuri/.pulse.
I: main.c: Using modules directory /usr/local/lib/pulse-0.9.23/modules.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: cpu-x86.c: CPU flags: SSE2 SSE3 SSSE3 
I: svolume_sse.c: Initialising SSE2 optimized functions.
I: remap_sse.c: Initialising SSE2 optimized remappers.
I: sconv_sse.c: Initialising SSE2 optimized conversions.
D: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
E: main.c: Daemon startup without any loaded modules, refusing to work.
I: main.c: Daemon terminated.
Comment 3 Tanu Kaskinen 2013-01-22 19:18:35 UTC
Pulseaudio doesn't seem to even try to load any modules. Does /etc/pulse/default.pa exist? If it does, what are its contents? That file should contain a bunch of "load-module" commands.
Comment 4 GitLab Migration User 2018-07-30 09:54:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/114.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.