Mon 16 Mar 2009 03:10:10 AM UTC, original submission:
The last trunk version and the 0.8.5 release both crash on almost every youtube video. The crash is fully reproducible (i.e.: some videos make it always crash, some other never). I configured gnash this way:
./configure --prefix=/usr --sysconfdir=/etc --enable-media=ffmpeg --enable-gui=gtk --with-plugins-install=system --with-npapi-plugindir=/usr/lib/mozilla/plugins --enable-z --enable-jpeg --enable-png --enable-speex --enable-speexdsp --enable-fontconfig --enable-Xft --enable-expat
and followed the instructions on http://wiki.gnashdev.org/YouTube in order to play a video (the example video is one of the non-working ones). The debug output is attached; the next message after the last line in the file is the Segmentation fault notice.
I also tried to compile gnash with --enable-media=gst, and I noticed that I can play youtube videos if I install both gstreamer0.10-bad-plugins and gstreamer0.10-ffmpeg. If gstreamer0.10-ffmpeg is missing (but the bad-plugins are there) gnash basically works, but can't decode the video (the audio works). If gstreamer0.10-bad-plugins is missing then gnash segfaults (!), like it does when compiled with --enable-media=ffmpeg.
This makes me think that the issue is related with using ffmpeg to decode audio, but it's just a guess.
Stuff I'm working with:
distro: fully up-to-date arch linux
gcc version 4.3.3 (GCC)
ffmpeg 2009021
gstreamer0.10-bad 0.10.10
gstreamer0.10-bad-plugins 0.10.10
gstreamer0.10-ffmpeg 0.10.6-1
The attached logfile is HUGE. These are the last (and IMHO most relevant) lines: http://www.pastie.org/417331
Hope this helps,
pl
|