[pulseaudio-tickets] [Bug 104958] New: Crash when enabling echo cancellation and also specifying PULSE_PROP="filter.want=echo-cancel media.role=phone"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 6 00:49:04 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104958
Bug ID: 104958
Summary: Crash when enabling echo cancellation and also
specifying PULSE_PROP="filter.want=echo-cancel
media.role=phone"
Product: PulseAudio
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: modules
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: rocketraman at gmail.com
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
Created attachment 137179
--> https://bugs.freedesktop.org/attachment.cgi?id=137179&action=edit
gdb backtrace with symbols
I am able to consistently reproduce a SEGFAULT on 11.1 (RPM Fedora
pulseaudio-11.1-7.fc27.x86_64, with the two echo cancellation patches @
https://patchwork.freedesktop.org/patch/187359/ applied on top.
To do this, I run pulseaudio with the following in /etc/pulse/default.pa:
load-module module-echo-cancel use_master_format=1 aec_method=webrtc
aec_args="analog_gain_control=0 digital_gain_control=1 noise_suppression=1"
source_name=echoCancel_source sink_name=echoCancel_sink
set-default-source echoCancel_source
set-default-sink echoCancel_sink
and then I run Zoiper as follows:
PULSE_PROP="filter.want=echo-cancel media.role=phone" /opt/Zoiper/zoiper
This then causes a crash in pulseaudio:
Here are the last few lines of the log:
I: [pulseaudio] protocol-native.c: Final latency 50.00 ms = 12.50 ms + 2*12.50
ms + 12.50 ms
D: [alsa-sink-USB Audio] alsa-sink.c: Latency set to 12.50ms
D: [alsa-sink-USB Audio] alsa-sink.c: hwbuf_unused=381600
D: [alsa-sink-USB Audio] alsa-sink.c: setting avail_min=95701
D: [alsa-sink-USB Audio] module-echo-cancel.c: Sink input update max request
4800
D: [alsa-sink-USB Audio] alsa-sink.c: Requesting rewind due to latency change.
D: [alsa-sink-USB Audio] module-echo-cancel.c: Sink input update requested
latency 12500
D: [alsa-sink-USB Audio] alsa-sink.c: Requested to rewind 384000 bytes.
D: [alsa-sink-USB Audio] alsa-sink.c: Limited to 9344 bytes.
D: [alsa-sink-USB Audio] alsa-sink.c: before: 2336
D: [alsa-sink-USB Audio] alsa-sink.c: after: 2336
D: [alsa-sink-USB Audio] alsa-sink.c: Rewound 9344 bytes.
D: [alsa-sink-USB Audio] sink.c: Processing rewind...
D: [alsa-sink-USB Audio] sink-input.c: Have to rewind 9344 bytes on render
memblockq.
D: [alsa-sink-USB Audio] module-echo-cancel.c: Sink process rewind 0
D: [alsa-sink-USB Audio] sink-input.c: Have to rewind 9344 bytes on render
memblockq.
D: [alsa-sink-USB Audio] source.c: Processing rewind...
D: [alsa-source-USB Audio] module-echo-cancel.c: Sink rewind (0)
Thread 1 "pulseaudio" received signal SIGSEGV, Segmentation fault.
0x00007fffcbbf81c1 in find_paired_master (is_sink_input=true, o=0x5555559921a0,
filter=0x555555a55810, u=0x5555559c0040) at modules/module-filter-apply.c:204
204 filter->source_master =
so->source->output_from_master->source;
And I have attached the complete backtrace with symbols from `thread apply all
bt full`.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180206/3be3fbbe/attachment.html>
More information about the pulseaudio-bugs
mailing list