[pulseaudio-tickets] [Bug 41754] New: conf_pulse_hook_load_if_running allocates shm at a dangerous time
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 13 10:24:17 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=41754
Summary: conf_pulse_hook_load_if_running allocates shm at a
dangerous time
Product: PulseAudio
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: alsa
AssignedTo: pulseaudio-bugs at lists.freedesktop.org
ReportedBy: paul at linuxaudiosystems.com
QAContact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
if JACK is started in its default real-time mode (with memlockall in effect),
it will trigger a call to the libasound function
snd_config_search_definition(). This will eventually result in a call to
conf_pulse_hook_load_if_running() within libasound_module_conf_pulse.so, which
will in turn eventually call pa_shm_create_rw(), which allocates 64MB of
shared memory. JACK's RT mode forces this to be pinned into physical RAM, which
on a "small memory" system (e.g. 700MB with Ubuntu 10.10 (32 bit system) will
cause JACK to bus error and the overall system to behave very erratically from
a user perspective due to OOM-like conditions.
it does not seem appropriate for PA to be allocating shm in response to
libasound checking device definitions.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the pulseaudio-bugs
mailing list