[gstreamer-bugs] [Bug 159211] New: Invalid memory access in audioscale

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Tue Nov 23 08:21:46 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=159211
GStreamer | gst-plugins | Ver: 0.8.5

           Summary: Invalid memory access in audioscale
           Product: GStreamer
           Version: 0.8.5
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: sc5 at hermes.usherb.ca
         QAContact: gstreamer-bugs at lists.sourceforge.net


I'm resampling stereo audio at 44100 to 8000 Hz and valgrind shows invalid reads
in libresample. This is a crash waiting to happen.

==18655== Thread 2:
==18655== Invalid read of size 8
==18655==    at 0x1C12B043: functable_fir2 (functable.c:214)
==18655==    by 0x1C12C588: gst_resample_sinc_ft_s16 (resample.c:555)
==18655==    by 0x1C12B90D: gst_resample_scale (resample.c:211)
==18655==    by 0x1C1257D6: gst_audioscale_chain (gstaudioscale.c:656)
==18655==  Address 0x1C2F1CB8 is 16 bytes before a block of size 4608 alloc'd
==18655==    at 0x1B905EDD: malloc (vg_replace_malloc.c:131)
==18655==    by 0x1C12B7E3: gst_resample_scale (resample.c:187)
==18655==    by 0x1C1257D6: gst_audioscale_chain (gstaudioscale.c:656)
==18655==    by 0x1B94BF63: gst_pad_call_chain_function (gstpad.c:4402)
==18655==
==18655== Thread 2:
==18655== Invalid read of size 8
==18655==    at 0x1C12B05D: functable_fir2 (functable.c:215)
==18655==    by 0x1C12C588: gst_resample_sinc_ft_s16 (resample.c:555)
==18655==    by 0x1C12B90D: gst_resample_scale (resample.c:211)
==18655==    by 0x1C1257D6: gst_audioscale_chain (gstaudioscale.c:656)
==18655==  Address 0x1C2F1CC0 is 8 bytes before a block of size 4608 alloc'd
==18655==    at 0x1B905EDD: malloc (vg_replace_malloc.c:131)
==18655==    by 0x1C12B7E3: gst_resample_scale (resample.c:187)
==18655==    by 0x1C1257D6: gst_audioscale_chain (gstaudioscale.c:656)
==18655==    by 0x1B94BF63: gst_pad_call_chain_function (gstpad.c:4402)

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list