After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 142585 - gstresample makes wrong assumption about buffer sizes (segfault)
gstresample makes wrong assumption about buffer sizes (segfault)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-15 17:12 UTC by Arwed v. Merkatz
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arwed v. Merkatz 2004-05-15 17:12:00 UTC
Sending audioscale a 1 second audio buffer with 44100 Hz samplerate, 16 bit, 2
channels:

  • #0 gst_resample_sinc_ft_s16
    at resample.c line 554
  • #0 gst_resample_sinc_ft_s16
    at resample.c line 554
  • #1 gst_resample_scale
    at resample.c line 211
  • #2 gst_audioscale_chain
    at gstaudioscale.c line 424
  • #3 gst_pad_call_chain_function
    at gstpad.c line 4320
  • #4 gst_pad_push
    at gstpad.c line 3155
  • #5 gst_tta_decode_chain
    at tta-decode.c line 468
  • #6 gst_pad_call_chain_function
    at gstpad.c line 4320
  • #7 gst_pad_push
    at gstpad.c line 3155
  • #8 gst_tta_parse_chain
    at tta-parse.c line 302
  • #9 gst_pad_call_chain_function
    at gstpad.c line 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.
Comment 1 David Schleef 2004-05-19 06:14:06 UTC
Fixed in CVS.