[Gstreamer-bugs] [Bug 142585] New: - gstresample makes wrong assumption about buffer sizes (segfault)
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Sat May 15 10:12:01 PDT 2004
http://bugzilla.gnome.org/show_bug.cgi?id=142585
GStreamer | gst-plugins | Ver: HEAD CVS
Summary: gstresample makes wrong assumption about buffer sizes
(segfault)
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins
AssignedTo: gstreamer-maint at bugzilla.gnome.org
ReportedBy: v.merkatz at gmx.net
QAContact: gstreamer-maint at bugzilla.gnome.org
Sending audioscale a 1 second audio buffer with 44100 Hz samplerate, 16 bit, 2
channels:
#0 0x41b6ed8d in gst_resample_sinc_ft_s16 (r=0x82179c0) at resample.c:554
554 out_tmp[2 * i + 0] = c0;
(gdb) bt
#0 0x41b6ed8d in gst_resample_sinc_ft_s16 (r=0x82179c0) at resample.c:554
#1 0x41b6e113 in gst_resample_scale (r=0x82179c0, i_buf=0x423af008,
i_size=184320) at resample.c:211
#2 0x4118d6a1 in gst_audioscale_chain (pad=0x83110b0, _data=0x8063728)
at gstaudioscale.c:424
#3 0x40055f7f in gst_pad_call_chain_function (pad=0x83110b0, data=0x8063728)
at gstpad.c:4320
#4 0x40052ee7 in gst_pad_push (pad=0x401290b8, data=0x8063728)
at gstpad.c:3155
#5 0x4108896b in gst_tta_decode_chain (pad=0x8310e98, in=0x80636b4)
at tta-decode.c:468
#6 0x40055f7f in gst_pad_call_chain_function (pad=0x8310e98, data=0x80636b4)
at gstpad.c:4320
#7 0x40052ee7 in gst_pad_push (pad=0x401290b8, data=0x80636b4)
at gstpad.c:3155
#8 0x410874e4 in gst_tta_parse_chain (pad=0x8310c10, in=0x8063728)
at tta-parse.c:302
#9 0x40055f7f in gst_pad_call_chain_function (pad=0x8310c10, data=0x8063728)
at gstpad.c:4320
[...]
The problem is that gstresample only uses a buffer of (hardcoded) 10.000 bytes
for its output, which is just way too small for one second of audio.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
More information about the Gstreamer-bugs
mailing list