[Bug 644669] New: gstspeexdec causes 'Conditional jump depends on uninitialised value'

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 13 13:35:40 PDT 2011

  GStreamer | gst-plugins-good | git

           Summary: gstspeexdec causes 'Conditional jump depends on
                    uninitialised value'
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aapo.rantalainen at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---

When running under valgrind simple spx player (gst_play_spx.c) causes much:

==27211== Conditional jump or move depends on uninitialised value(s)
==27211==    at 0x654E9AB: floor (s_floor.c:55)
==27211==    by 0xAEC7347: speex_decode_int (speex.c:172)
==27211==    by 0xACB7F80: ??? (in /usr/lib/gstreamer-0.10/libgstspeex.so)
==27211==    by 0xACB8B68: ??? (in /usr/lib/gstreamer-0.10/libgstspeex.so)
==27211==    by 0x4E8312C: ??? (in /usr/lib/libgstreamer-0.10.so.0.26.0)
==27211==    by 0x4E839ED: ??? (in /usr/lib/libgstreamer-0.10.so.0.26.0)
==27211==    by 0x88BBB18: ??? (in
==27211==    by 0x4EACC92: ??? (in /usr/lib/libgstreamer-0.10.so.0.26.0)
==27211==    by 0x5D1E73E: g_thread_pool_thread_proxy (gthreadpool.c:319)
==27211==    by 0x5D1C7E3: g_thread_create_proxy (gthread.c:1897)
==27211==    by 0x5F9C970: start_thread (pthread_create.c:304)
==27211==    by 0xB8D970F: ???

Even short file gives: I got  ERROR SUMMARY: 185834 errors.

valgrind ./play_spx.bin file://`pwd`/great.spx

Any spx file causes same. And "valgrind speexdec great.spx great.wav" doesn't
cause, even speexdec is using same speex_decode_int-function, which is using
uninitialized array and trusts user of library fills it entirely.

Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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