Bug#705435: [kfreebsd] hangs on pulseaudio --start

Steven Chamberlain steven at pyro.eu.org
Mon Apr 15 00:07:56 UTC 2013


Package: pulseaudio
Version: 2.0-6
Severity: grave
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd at lists.debian.org

Hi,

On kfreebsd, pulseaudio --start hangs forever whereas I believe it
should detach from the terminal.  I tried also with --disable-shm.

This is a serious problem because gdm3 and gnome-shell otherwise fail to
start.

Attached is a system call trace from ktrace/kdump, showing what seems to
be a problem with one thread waiting indefinitely for another.

It may be also interesting to note:

> $ pulseaudio -v
> I: [(null)] core-util.c: Failed to acquire high-priority scheduling: Operation not supported
> I: [(null)] main.c: This is PulseAudio 2.0
> I: [(null)] main.c: Page size is 4096 bytes
> I: [(null)] main.c: Machine ID is 4b0213c3b5a4c11ded432760516b1bf5.
> I: [(null)] main.c: Session ID is 4b0213c3b5a4c11ded432760516b1bf5-1365986943.467926-232087201.
> I: [(null)] main.c: Using runtime directory /home/test/.pulse/4b0213c3b5a4c11ded432760516b1bf5-runtime.
> I: [(null)] main.c: Using state directory /home/test/.pulse.
> I: [(null)] main.c: Using modules directory /usr/lib/pulse-2.0/modules.
> I: [(null)] main.c: Running in system mode: no
> I: [(null)] main.c: Fresh high-resolution timers available! Bon appetit!
> I: [(null)] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 3DNOW 3DNOWEXT 
> I: [(null)] svolume_mmx.c: Initialising MMX optimized volume functions.
> I: [(null)] remap_mmx.c: Initialising MMX optimized remappers.
> I: [(null)] svolume_sse.c: Initialising SSE2 optimized volume functions.
> I: [(null)] remap_sse.c: Initialising SSE2 optimized remappers.
> I: [(null)] sconv_sse.c: Initialising SSE2 optimized conversions.
> I: [(null)] svolume_orc.c: Initialising ORC optimized volume functions.
> I: [(null)] module-device-restore.c: Successfully opened database file '/home/test/.pulse/4b0213c3b5a4c11ded432760516b1bf5-device-volumes'.
> I: [(null)] module.c: Loaded "module-device-restore" (index: #0; argument: "").
> I: [(null)] module-stream-restore.c: Successfully opened database file '/home/test/.pulse/4b0213c3b5a4c11ded432760516b1bf5-stream-volumes'.
> I: [(null)] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
> I: [(null)] module-card-restore.c: Successfully opened database file '/home/test/.pulse/4b0213c3b5a4c11ded432760516b1bf5-card-database'.
> I: [(null)] module.c: Loaded "module-card-restore" (index: #2; argument: "").
> I: [(null)] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
> W: [(null)] module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect!
> W: [(null)] module-detect.c: failed to detect any sound hardware.
> E: [(null)] module.c: Failed to load module "module-detect" (argument: ""): initialization failed.
> E: [(null)] main.c: Module load failed.
> E: [(null)] main.c: Failed to initialize daemon.
> I: [(null)] module.c: Unloading "module-device-restore" (index: #0).
> I: [(null)] module.c: Unloaded "module-device-restore" (index: #0).
> I: [(null)] module.c: Unloading "module-stream-restore" (index: #1).
> I: [(null)] module.c: Unloaded "module-stream-restore" (index: #1).
> I: [(null)] module.c: Unloading "module-card-restore" (index: #2).
> I: [(null)] module.c: Unloaded "module-card-restore" (index: #2).
> I: [(null)] module.c: Unloading "module-augment-properties" (index: #3).
> I: [(null)] module.c: Unloaded "module-augment-properties" (index: #3).
> E: [(null)] shm.c:  shm_unlink(/pulse-shm-2242017707) failed: Permission denied
> I: [(null)] main.c: Daemon terminated.

Many thanks.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser                       3.113+nmu3
ii  consolekit                    0.4.5-3.1
ii  libc0.1                       2.13-38
ii  libdbus-1-3                   1.6.8-1
ii  libfftw3-3                    3.3.2-3.1
ii  libgcc1                       1:4.7.2-5
ii  libice6                       2:1.0.8-2
ii  libltdl7                      2.4.2-1.1
ii  liborc-0.4-0                  1:0.4.16-2
ii  libpulse0                     2.0-6
ii  libsamplerate0                0.1.8-5
ii  libsm6                        2:1.2.1-2
ii  libsndfile1                   1.0.25-5
ii  libspeexdsp1                  1.2~rc1-7
ii  libstdc++6                    4.7.2-5
ii  libtdb1                       1.2.10-2
ii  libwebrtc-audio-processing-0  0.1-2
ii  libx11-6                      2:1.5.0-1
ii  libx11-xcb1                   2:1.5.0-1
ii  libxcb1                       1.8.1-2
ii  libxtst6                      2:1.2.1-1
ii  lsb-base                      4.1+Debian8

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio  0.10.31-3+nmu1
ii  pulseaudio-module-x11     2.0-6
pn  rtkit                     <none>

Versions of packages pulseaudio suggests:
pn  paman             <none>
pn  paprefs           <none>
pn  pavucontrol       <none>
pn  pavumeter         <none>
ii  pulseaudio-utils  2.0-6

-- Configuration Files:
/etc/pulse/daemon.conf changed [not included]

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ktrace.txt.gz
Type: application/x-gzip
Size: 51095 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20130415/6ad9237c/attachment-0001.bin>


More information about the pkg-pulseaudio-devel mailing list