totem-video-thumbnailer segfault with -g and .MTS file

Bug #1110129 reported by Matthew Mueller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gstreamer0.10 (Ubuntu)
New
Undecided
Unassigned

Bug Description

totem-video-thumbnailer segfaults when trying to generate a gallery image for a .MTS file. Possibly relevant, verbose mode prints that the file is a "0 millisecond-long stream":
TotemVideoThumbnailer-Message: Producing gallery of 9 screenshots, taken at 1 millisecond intervals throughout a 0 millisecond-long stream.

$ gdb --args totem-video-thumbnailer -v -s 384 -g 9 ./00003.MTS ./00003.MTS.thumbs.png
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/totem-video-thumbnailer...Reading symbols from /usr/lib/debug/usr/bin/totem-video-thumbnailer...done.
done.
(gdb) run
Starting program: /usr/bin/totem-video-thumbnailer -v -s 384 -g 9 ./00003.MTS ./00003.MTS.thumbs.png
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
TotemVideoThumbnailer-Message: Initialised libraries, about to create video widget
TotemVideoThumbnailer-Message: Video widget created
[New Thread 0x7fffeed8b700 (LWP 9279)]
TotemVideoThumbnailer-Message: About to open video file
[New Thread 0x7fffed242700 (LWP 9280)]
[New Thread 0x7fffe7fff700 (LWP 9281)]
[New Thread 0x7fffe77fe700 (LWP 9282)]
[New Thread 0x7fffdbfff700 (LWP 9283)]
[New Thread 0x7fffdad64700 (LWP 9284)]
[New Thread 0x7fffd9b04700 (LWP 9285)]
[New Thread 0x7fffd9303700 (LWP 9286)]
[New Thread 0x7fffd8b02700 (LWP 9287)]
TotemVideoThumbnailer-Message: Opened video file: './00003.MTS'
TotemVideoThumbnailer-Message: Producing gallery of 9 screenshots, taken at 1 millisecond intervals throughout a 0 millisecond-long stream.
TotemVideoThumbnailer-Message: Outputting as 3 rows and 3 columns.
TotemVideoThumbnailer-Message: Converting pixbuf to a Cairo surface.

(totem-video-thumbnailer:9276): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(totem-video-thumbnailer:9276): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(totem-video-thumbnailer:9276): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(totem-video-thumbnailer:9276): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(totem-video-thumbnailer:9276): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(totem-video-thumbnailer:9276): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(totem-video-thumbnailer:9276): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5b0b6b0 in gdk_cairo_set_source_pixbuf ()
   from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
(gdb) bt full
#0 0x00007ffff5b0b6b0 in gdk_cairo_set_source_pixbuf ()
   from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
No symbol table info available.
#1 0x0000555555561a14 in create_gallery (input=0x5555557950e0 "./00003.MTS",
    bvw=0x5555559a0100, output=<optimized out>) at totem-video-thumbnailer.c:669
        pos = <optimized out>
        screenshot_height = <optimized out>
        y_padding = <optimized out>
        current_row = <optimized out>
        surface = 0x7ffff4f07c80
        font_desc = <optimized out>
        stream_length = 0
        current_column = <optimized out>
        x = <optimized out>
        screenshot = <optimized out>
        layout = <optimized out>
        columns = <optimized out>
        y = <optimized out>
        filename = <optimized out>
        pixbuf = <optimized out>
        cr = 0x5555559bd150
        screenshot_interval = 1
        rows = 3
        screenshot_width = <optimized out>
        x_padding = <optimized out>
        scale = <optimized out>
        header_text = <optimized out>
        duration_text = <optimized out>
#2 main (argc=1, argv=0x7fffffffe4f8) at totem-video-thumbnailer.c:899
        options = <optimized out>
        context = <optimized out>
        err = 0x0
        bvw = 0x5555559a0100
        pixbuf = <optimized out>
        input = 0x5555557950e0 "./00003.MTS"
        output = 0x555555795170 "./00003.MTS.thumbs.png"
        data = {output = 0x555555795170 "./00003.MTS.thumbs.png",
          input = 0x5555557950e0 "./00003.MTS"}
(gdb)

Revision history for this message
Matthew Mueller (donut) wrote :

forgot to mention:
Ubuntu 12.04.1 LTS x86_64
ii totem 3.0.1-0ubuntu21.1 Simple media player for the GNOME desktop based on GStreamer
ii libgstreamer0.10-0 0.10.36-1ubuntu1 Core GStreamer libraries and elements

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.