[gstreamer-bugs] [Bug 563651] gst-ffmpeg crashes under windows

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Dec 25 14:58:40 PST 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=563651

  GStreamer | gst-ffmpeg | Ver: 0.10.21

Damien Lespiau changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damien.lespiau at gmail.com




------- Comment #3 from Damien Lespiau  2008-12-25 22:58 UTC -------
I have more input on this:

Latest gst-ffmpeg segfaults on almost every SSE2 intruction with 16-bytes
memory access. Somehow mingw32 gcc does not honour 16-bytes alignement and it
seems to be a known bug.

eg.
0x0120904d <put_h264_qpel8or16_hv_lowpass_sse2+221>:    movdqa %xmm6,(%ecx)
with 
ecx            0x237f638

that just can't work.

I have a few pointers for further investigation:

This site is dedicated to building ffmpeg on windows
http://ffmpeg.arrozcru.org/

People with the same symptoms as we have suggest adding -fno-common to go
around a gcc/binutil bug:
http://ffmpeg.arrozcru.com/forum/viewtopic.php?f=1&t=906

more specificaly, this bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216

However adding -fno-common to the internal ffmpeg does not help and I still get
plenty of segfaults. I wonder if the way ffmpeg is linked to libgstffmpeg.dll
(it shouldn't but well...)

for the record, my last try tonight (which still does not work) was done with:
./configure --disable-vhook --disable-ffserver --disable-ffplay
--enable-postproc --enable-swscale --enable-gpl --enable-static
--disable-shared --disable-encoder=flac --disable-decoder=cavs
--disable-protocols --disable-devices --disable-network --enable-cross-compile
--target-os=mingw32msvc --arch=i586 --cross-prefix=i586-mingw32msvc-
--enable-memalign-hack --extra-cflags="-fno-common" --disable-ffmpeg


-- 
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=563651.




More information about the gstreamer-bugs mailing list