[gstreamer-bugs] [Bug 630378] New: speexenc/speexdec crash with MSVC

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 22 15:55:38 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=630378
  GStreamer | gst-plugins-good | git

           Summary: speexenc/speexdec crash with MSVC
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: dhoyt at llnl.gov
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=170872)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=170872)
Speex patch using speex_lib_get_mode()

Using speex rc1 compiled with GCC against GStreamer compiled with MSVC results
in fatal crashes using a simple pipeline such as:

audiotestsrc ! speexenc ! speexdec ! fakesink

The attached patch resolves the problem by accessing speex modes through
speex_lib_get_mode() instead of directly through speex_nb_mode, speex_wb_mode,
and friends.

Speex had to be compiled with --disable-sse presumably because of stack
alignment issues between GCC and MSVC (but that's an issue for the speex folks
to resolve).

I do not know if it works with a statically linked libspeex. Works fine with a
shared library.

-- 
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