[Bug 667549] New: [0.11] [h264] Calls gst_video_frame_map_id() on non-writable buffer but wants to write during flushing seek

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 9 05:45:55 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667549
  GStreamer | gst-ffmpeg | 0.11.x

           Summary: [0.11] [h264] Calls gst_video_frame_map_id() on
                    non-writable buffer but wants to write during flushing
                    seek
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Happens during scrub flush-seeking in this file after some time:
http://samples.mplayerhq.hu/V-codecs/h264/cathedral-beta2-400extra-crop-avc.mp4


** CRITICAL **: gst_video_meta_map: assertion `!write || gst_buffer_is_writable
(buffer)' failed
aborting...


#0  0x00007ffff4bfd405 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff4c00680 in *__GI_abort () at abort.c:92
#2  0x00007ffff543b32a in g_logv (log_domain=0x0, log_level=<optimized out>, 
    format=0x7ffff5481f88 "%s: assertion `%s' failed", args1=0x7fffe524fbd0)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmessages.c:557
#3  0x00007ffff543b3b3 in g_log (log_domain=<optimized out>, 
    log_level=<optimized out>, format=<optimized out>)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmessages.c:577
#4  0x00007ffff7bd33d5 in gst_video_meta_map (meta=0xb5a618, 
    plane=<optimized out>, stride=<optimized out>, flags=3)
    at gstvideometa.c:220
#5  0x00007ffff7bcf099 in gst_video_frame_map_id (frame=0x7fffe524fd80, 
    info=0xa41820, buffer=<optimized out>, id=-1, flags=3) at video.c:1029
#6  0x00007fffdea46e9e in gst_ffmpegdec_get_buffer (context=0xbd7800, 
    picture=0x7fffe00cd3c0) at gstffmpegdec.c:923
#7  0x00007fffded125b7 in submit_packet (avpkt=0x7fffe52501d0, p=0xc28680)
    at libavcodec/pthread.c:484
#8  ff_thread_decode_frame (avctx=0x7fffe0001280, picture=0x7fffe0000f00, 
    got_picture_ptr=0x7fffe525024c, avpkt=0x7fffe52501d0)
    at libavcodec/pthread.c:512
#9  0x00007fffded880d9 in avcodec_decode_video2 (avctx=0x7fffe0001280, 
---Type <return> to continue, or q <return> to quit---
    picture=0x7fffe0000f00, got_picture_ptr=0x7fffe525024c, 
    avpkt=0x7fffe52501d0) at libavcodec/utils.c:727
#10 0x00007fffdea47de2 in gst_ffmpegdec_video_frame (ffmpegdec=0xa41680, 
    data=0xef6870 "", size=1084, dec_info=0xa42868, outbuf=0x7fffe52503d0, 
    ret=0x7fffe52504ec) at gstffmpegdec.c:1828
#11 0x00007fffdea49b01 in gst_ffmpegdec_frame (ffmpegdec=0xa41680, 
    data=0xef6870 "", size=1084, got_data=0x7fffe52504e8, dec_info=0xa42868, 
    ret=0x7fffe52504ec) at gstffmpegdec.c:2352
#12 0x00007fffdea4cdf2 in gst_ffmpegdec_chain (pad=<optimized out>, 
    parent=0xa41680, inbuf=0xbd87d0) at gstffmpegdec.c:2808
#13 0x00007ffff7935eba in gst_pad_chain_data_unchecked (data=0xbd87d0, 
    type=<optimized out>, pad=0x985a60) at gstpad.c:3306
#14 gst_pad_push_data (pad=0x984e60, type=<optimized out>, 
    data=<optimized out>) at gstpad.c:3509
#15 0x00007ffff49ab9ac in gst_base_transform_chain (pad=<optimized out>, 
    parent=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2051
#16 0x00007ffff7935eba in gst_pad_chain_data_unchecked (data=0xbd87d0, 
    type=<optimized out>, pad=0x984c60) at gstpad.c:3306
#17 gst_pad_push_data (pad=0x984a60, type=<optimized out>, 
    data=<optimized out>) at gstpad.c:3509
#18 0x00007ffff498f863 in gst_base_parse_push_frame (parse=0x8c73c0, 
    frame=0x8c81d0) at gstbaseparse.c:2064
---Type <return> to continue, or q <return> to quit---
#19 0x00007ffff49908d6 in gst_base_parse_handle_and_push_frame (
    parse=0x8c73c0, frame=0x8c81d0, klass=<optimized out>)
    at gstbaseparse.c:1857
#20 0x00007ffff499171c in gst_base_parse_chain (pad=<optimized out>, 
    parent=0x6, buffer=<optimized out>) at gstbaseparse.c:2576
#21 0x00007fffe48467cf in gst_h264_parse_chain (pad=0x984860, parent=0x8c73c0, 
    buffer=0x7fffe01d8050) at gsth264parse.c:1821
#22 0x00007ffff7935eba in gst_pad_chain_data_unchecked (data=0x7fffe01d8050, 
    type=<optimized out>, pad=0x984860) at gstpad.c:3306
#23 gst_pad_push_data (pad=0x984660, type=<optimized out>, 
    data=<optimized out>) at gstpad.c:3509
#24 0x00007fffeebafbee in gst_single_queue_push_one (object=0x7fffe01d8050, 
    sq=0xa08000, mq=0x84edd0) at gstmultiqueue.c:1056
#25 gst_multi_queue_loop (pad=<optimized out>) at gstmultiqueue.c:1287
#26 0x00007ffff7963c80 in gst_task_func (task=0x958240) at gsttask.c:322
#27 0x00007ffff545c3e4 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gthreadpool.c:319
#28 0x00007ffff5459cf6 in g_thread_create_proxy (data=0x979140)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gthread.c:1897
#29 0x00007ffff4f55b40 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#30 0x00007ffff4ca036d in clone ()
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list