[gstreamer-bugs] [Bug 540336] New: Valgrind warns about uninitialised value in audioconvert

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jun 26 07:51:21 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=540336

  GStreamer | gst-plugins-base | Ver: 0.10.18
           Summary: Valgrind warns about uninitialised value in audioconvert
           Product: GStreamer
           Version: 0.10.18
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pekka.lampila at iki.fi
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: otte at gnome.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


We got an issue in Swfdec where gstreamer returns an invalid buffer size when
decoding certain mp3 file, making things crash and burn.

Trying to figure out what's wrong, the following valgrind warning seemed most
suspicious:

==799== Conditional jump or move depends on uninitialised value(s)
==799==    at 0x9944AC4: gst_audio_quantize_quantize_signed_tpdf_none
(gstaudioquantize.c:314)
==799==    by 0x993FE94: audio_convert_convert (audioconvert.c:587)
==799==    by 0x993D4BA: gst_audio_convert_transform (gstaudioconvert.c:981)
==799==    by 0x8212C02: gst_base_transform_handle_buffer
(gstbasetransform.c:1471)

This is from running:
gst-launch-0.10 -v filesrc location=682.mp3 ! mad ! audioresample !
audioconvert !
'audio/x-raw-int,endianness=byte_order,signed=(boolean)true,width=16,depth=16,rate=44100,channels=2'
! fakesink

My gstreamer version is 0.10.18 from Ubuntu Hardy

I will upload the full log and the mp3 file


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=540336.




More information about the Gstreamer-bugs mailing list