[pulseaudio-tickets] [PulseAudio] #806: Bus Errors when /dev/shm is (almost) full
PulseAudio
trac-noreply at tango.0pointer.de
Sun Apr 4 04:44:47 PDT 2010
#806: Bus Errors when /dev/shm is (almost) full
---------------------------+------------------------------------------------
Reporter: raboof | Owner: lennart
Type: defect | Status: new
Milestone: | Component: core
Keywords: bus crash shm |
---------------------------+------------------------------------------------
libpulse 0.9.19
When /dev/shm is (almost) full, which can be simulated with "dd
if=/dev/zero of=test2 count=... bs=1M", pulseaudio tends to produce bus
errors. The exact error is not consistent, I've seen:
{{{
W: pid.c: Stale PID file, overwriting.
Program received signal SIGBUS, Bus error.
memset () at ../sysdeps/i386/i686/memset.S:85
85 ../sysdeps/i386/i686/memset.S: No such file or directory.
in ../sysdeps/i386/i686/memset.S
Current language: auto
The current source language is "auto; currently asm".
(gdb) where
#0 memset () at ../sysdeps/i386/i686/memset.S:85
#1 0x00143910 in ?? () from /usr/lib/libpulsecore-0.9.19.so
#2 0x00143b62 in pa_silence_memchunk_get () from
/usr/lib/libpulsecore-0.9.19.so
#3 0x0015b6e1 in pa_sink_new () from /usr/lib/libpulsecore-0.9.19.so
#4 0x007e1bbf in pa_alsa_sink_new () from /usr/lib/pulse-0.9.19/modules
/libalsa-util.so
}}}
or:
{{{
W: pid.c: Stale PID file, overwriting.
Program received signal SIGBUS, Bus error.
pa_atomic_load () at ./pulsecore/atomic.h:57
57 ./pulsecore/atomic.h: No such file or directory.
in ./pulsecore/atomic.h
(gdb) where
#0 pa_atomic_load () at ./pulsecore/atomic.h:57
#1 pa_shm_cleanup () at pulsecore/shm.c:370
#2 0x00918fed in pa_shm_create_rw (m=0x8063c60, size=67108864,
shared=true, mode=448) at pulsecore/shm.c:109
}}}
While this is probably not an error that can be recovered from, it would
be good to give a meaningful error message: the bug can manifest itself in
unexpected places, like https://bugs.launchpad.net/ubuntu/+source/jack-
audio-connection-kit/+bug/491329
--
Ticket URL: <http://pulseaudio.org/ticket/806>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list