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 542643 - gif crashing gstreamer
gif crashing gstreamer
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: dont know
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-12 11:03 UTC by Hanno Böck
Modified: 2008-07-13 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
lol-giftopnm.gif (7.08 KB, image/gif)
2008-07-12 11:07 UTC, Hanno Böck
Details

Description Hanno Böck 2008-07-12 11:03:18 UTC
A gif produced by sam hocevar with zzuf crashes gstreamer (lol-giftopnm.gif, I'll attach it to this bug).

hanno@laverne /data/zzuf $ gst-launch-0.10 filesrc location=lol-giftopnm.gif ! decodebin
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Caught SIGSEGV accessing address 0x28981816
  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/libc.so.6
  • #2 ??
    from /usr/lib/libglib-2.0.so.0
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 pthread_mutex_lock
    from /lib/libpthread.so.0

Comment 1 Hanno Böck 2008-07-12 11:07:32 UTC
Created attachment 114432 [details]
lol-giftopnm.gif
Comment 2 Sebastian Dröge (slomo) 2008-07-12 17:59:26 UTC
Hi, this only happens with the gif decoder from ffmpeg (ffdemux_gif) but not with the gdkpixbuf element (which just errors out because of a broken file). This is a bug in ffmpeg, please file it again at

http://roundup.mplayerhq.hu/roundup/ffmpeg/



Backtrace for reference:

(gdb) 
  • #0 GLZWDecode
    at libavformat/gifdec.c line 254
  • #1 gif_read_packet
    at libavformat/gifdec.c line 345
  • #2 av_read_frame_internal
    at libavformat/utils.c line 503
  • #3 av_find_stream_info
    at libavformat/utils.c line 1952
  • #4 gst_ffmpeg_av_find_stream_info
    at gstffmpeg.c line 76
  • #5 gst_ffmpegdemux_loop
    at gstffmpegdemux.c line 1060
  • #6 gst_task_func
    at gsttask.c line 192
  • #7 g_thread_pool_thread_proxy
    at /tmp/buildd/glib2.0-2.17.3/glib/gthreadpool.c line 265
  • #8 g_thread_create_proxy
    at /tmp/buildd/glib2.0-2.17.3/glib/gthread.c line 635
  • #9 start_thread
    from /lib/i686/cmov/libpthread.so.0
  • #10 clone
    from /lib/i686/cmov/libc.so.6

Comment 3 Hanno Böck 2008-07-12 18:10:37 UTC
Couldn't reproduce the issue within plain ffmpeg.
Comment 4 Sebastian Dröge (slomo) 2008-07-13 09:57:21 UTC
ffmpeg/ffplay is using libavcodec/gif and not libavformat/gif (IIRC). The former can only show a single picture while the latter handles gif animations.
Comment 5 Hanno Böck 2008-07-13 14:10:57 UTC
So
https://roundup.mplayerhq.hu/roundup/ffmpeg/issue530

We have ffmpeg claiming it's gstreamers fault and gstreamer claiming it's ffmpegs fault.
Comment 6 Sebastian Dröge (slomo) 2008-07-13 14:27:39 UTC
See my answer in that bug *sigh*