[Bug 777915] audiomixer, audioaggregator: division by zero in _fill_buffer
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jul 11 22:02:05 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777915
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |t.i.m at zen.co.uk
Component|don't know |gst-plugins-bad
Summary|rate negotiation sometimes |audiomixer,
|fails |audioaggregator: division
| |by zero in _fill_buffer
--- Comment #8 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks for the bug report.
adder is not going to get fixed, it's effectively deprecated.
As Olivier said, there's a conceptual issue here that needs to be worked around
by setting caps or by implementing conversions as per bug #773762.
I'll hijack this bug for a floating-point-division-by-zero bug that the initial
pipeline exposes when substituting adder for audiomixer:
Thread 2 "mix:src" received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7ffff473c700 (LWP 27253)]
0x00007ffff4742edd in gst_audio_aggregator_fill_buffer (inbuf=0x7fffe40056a0,
pad=0x55555597be30 [GstAudioMixerPad], aagg=0x555555972be0 [GstAudioMixer]) at
gstaudioaggregator.c:785
785 pad->priv->size = gst_buffer_get_size (inbuf) / bpf;
(gdb) bt
#0 0x00007ffff4742edd in gst_audio_aggregator_fill_buffer
(inbuf=0x7fffe40056a0, pad=0x55555597be30 [GstAudioMixerPad],
aagg=0x555555972be0 [GstAudioMixer]) at gstaudioaggregator.c:785
#1 0x00007ffff4742edd in gst_audio_aggregator_aggregate (agg=0x555555972be0
[GstAudioMixer], timeout=0) at gstaudioaggregator.c:1249
#2 0x00007ffff495ad87 in gst_aggregator_aggregate_func (self=0x555555972be0
[GstAudioMixer]) at gstaggregator.c:1121
--
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 gstreamer-bugs
mailing list