Red Hat Bugzilla – Bug 1460452
flooding module-x11-bell with bells causes pulseaudio to crash with SIGKILL
Last modified: 2017-11-16 18:04:28 EST
Description of problem:
If I accidentally cat a binary file with many BEL characters, pulseaudio crashes with SIGKILL.
signal monitor on the pulseaudio process:
% sudo stap /usr/share/systemtap/examples/process/sigmon.stp -x 8347 SIGKILL
Missing separate debuginfos, use: debuginfo-install kernel-PAE-core-4.11.3-202.fc25.i686
SPID SNAME RPID RNAME SIGNUM SIGNAME
8347 alsa-sink-ALC88 8347 alsa-sink-ALC88 9 SIGKILL
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. /usr/bin/pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga
2. /usr/bin/pactl load-module module-x11-bell "display=$DISPLAY" "sample=bell"
3. for i in `seq 1 512`; do echo -e '\a\c'; done
some sounds are heard, before pulseaudio crashes with SIGKILL
pulseaudio should work fine even if pulseaudio-module-x11 is flooded with bells.
When stracing the alsa-sink-ALC88 thread, the problem cannot be reproduced... heisenbug. But pulseaudio then sometimes logs lots of "[pulseaudio] sink-input.c: Failed to create sink input: too many inputs per sink."
I'm pretty sure puleseaudio is killed ny RTKit because it uses too many realtime CPU cycles. Need to think about how this can be avoided..
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Still reproducible on f26