After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 472959 - gst-ffmpeg for Windows mis-compiled
gst-ffmpeg for Windows mis-compiled
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Windows
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 467628 509954 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-02 21:25 UTC by Tristan Brindle
Modified: 2009-01-23 23:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dr watson log file (93.58 KB, text/plain)
2007-10-07 18:50 UTC, dcondevigo
Details

Description Tristan Brindle 2007-09-02 21:25:38 UTC
The gst-ffmpeg build at 

http://gstreamer.freedesktop.org/pkg/windows/releases/gst-ffmpeg/

has been compiled incorrectly. On startup, ffmpeg reports:

"Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers."

Any app using the ffmpeg plugins will crash shortly after setting the pipeline to play.

Apologies if this is the wrong place for this report!
Comment 1 Tim-Philipp Müller 2007-09-06 10:58:06 UTC
Sebastien: any idea what's going on here?
Comment 2 Sebastien Moutte 2007-09-06 15:22:31 UTC
Hm yes, I know this problem. As it says I miscompiled ffmpeg and didn't find the problem. Then ffmpeg should be recompiled without this problem and we will just have to rebuild libgstffmpeg to link on.
And yes that true, there is some crash with gstreamer+ffmpeg while seeking in divx or xvid files. It will be great to fix that.
Comment 3 Tim-Philipp Müller 2007-09-08 19:33:36 UTC
*** Bug 467628 has been marked as a duplicate of this bug. ***
Comment 4 Sebastien Moutte 2007-10-02 16:25:16 UTC
Well, I have updated Windows binaries http://gstreamer.freedesktop.org/pkg/windows/cvs/.

Now, gst-ffmpeg setup includes ffmpeg win32 built on compatible revision (I was building svn head before :().
So, gst-ffmpeg becomes really stable for me :)
Tristan, could you test it please ?
Comment 5 dcondevigo 2007-10-07 18:50:00 UTC
Created attachment 96842 [details]
dr watson log file

I tried the new binaries, but it still crashes in the same place. I posted the duplicated bug 467628 with the previous version.
I attach a dr watson log file.
Comment 6 dcondevigo 2007-10-08 14:12:48 UTC
(In reply to comment #5)
> Created an attachment (id=96842) [edit]
> dr watson log file
> I tried the new binaries, but it still crashes in the same place. I posted the
> duplicated bug 467628 with the previous version.
> I attach a dr watson log file.

For example, with this file it crashes after some seconds.

gst-launch-0.10.exe playbin uri="http://gstreamer.freedesktop.org/media/large/matrix.avi"
Comment 7 Kwang Yul Seo 2007-12-02 16:04:25 UTC
I am suffering from this crash problem too. The only thing that I am pretty sure is that this crash occurs only when I play divx or xvid files.

At first, I suspected the ffmpeg binary and recompiled the gstreamer using gstreamer-0.10.15, gst-plugins-base-0.10.15 and gst-ffmpeg (GST_FFMPEG_NO_MIRROR branch) and ffmpeg-r11112 revision. All libraries are compiled in MSVC 6.0 except for ffmpeg which is compiled in mingw. However, the crash never goes away.

Later I suspected the mpeg4 video decoder in ffmpeg (decoding divx and xvid) because only xvid or divx files crashed. and replaced it with libgstxvid and tried again. GStreamer still crashed while playing xvid file. The stack trace showed that there was a crash in xvidcore.dll. 

And then I suspected the playbin (or decodebin) used to play the video and hand-coded the pipeline. The crash is still there.

I am totally lost at this moment guessing what is casuing the crash problem. Any guess?
Comment 8 Kwang Yul Seo 2007-12-02 16:10:19 UTC
I also tried gst-ffmpeg-0.10.2.2 with ffmpeg inclued in the release. There was no difference.
Comment 9 Edward Hervey 2007-12-03 12:28:46 UTC
sebastien : can you reproduce this with your builds of the pre-release ? Can you get a 'readable' backtrace with that file ?
Comment 10 Kwang Yul Seo 2008-03-17 10:56:12 UTC
I checked this probelm again with gstreamer-0.10.17 and gst-ffmpeg CVS HEAD. I think the problem is fixed. I can't no longer crash gst-launch.

Comment 11 dcondevigo 2008-03-17 11:05:12 UTC
Can somebody provide the gst-ffmpeg windows binaries to test if the problem is fixed?
Thanks in advance.
Comment 12 Edward Hervey 2008-05-08 09:32:23 UTC
*** Bug 509954 has been marked as a duplicate of this bug. ***
Comment 13 Tobias Mueller 2009-01-23 23:37:35 UTC
I am closing as INCOMPLETE as the Edwards question from comment #9 hasn't been answered yet.

Feel free to reopen if you have any news :)