Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 376965

Summary: media-plugins/gst-plugins-ffmpeg-0.10.11-r1 segfault when decoding wma and built with gcc-4.6
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: New packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED FIXED    
Severity: enhancement CC: aballier, gnome, krinpaus
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fixes the segfault in libav's/ffmpeg's ff_imdct_calc

Description Tiziano Müller (RETIRED) gentoo-dev 2011-07-29 16:42:58 UTC
Created attachment 281475 [details]
fixes the segfault in libav's/ffmpeg's ff_imdct_calc

nautilus or soundconverter crash when loading a wma file, showing libgstffmpeg.so in the backtrace (sorry, didn't save it) as the source.

Some googling reveals this:
* http://us.generation-nt.com/answer/bug-635324-libavcodec52-crash-ff-imdct-calc-sse-help-204207951.html
* http://git.libav.org/?p=libav.git;a=commit;h=03ef9828b551fa9e91898d0f3c156d7c3fa11c92

And since gst-plugins-ffmpeg bundles libav/ffmpeg-0.6 the above patch also works when adjusting the paths (see attached patch).

After applying the patch nautilus and soundconverter work as expected.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-03-14 22:27:00 UTC
Does this still apply to 0.10.13-r2 ?
Comment 2 Alexis Ballier gentoo-dev 2013-07-02 12:42:17 UTC
should be fixed in gst-plugins-ffmpeg-0.10.13_p201211 (uses system ffmpeg and an upto date ffmpeg/libav)