[Bug 702502] New: [regression] mpeg2dec: gst_segment_to_stream_time: assertion `segment->format == format' failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 17 11:38:38 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702502
  GStreamer | gst-plugins-ugly | git

           Summary: [regression] mpeg2dec:  gst_segment_to_stream_time:
                    assertion `segment->format == format' failed
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-ugly
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


No idea where this comes from, but it's a regression:


$ G_DEBUG=fatal_warnings gst-launch-1.0 filesrc location= /home/tpm/bbcnews.m2t
! tsdemux ! mpegvideoparse ! mpeg2dec ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...

(gst-launch-1.0:25213): GStreamer-CRITICAL **: gst_segment_to_stream_time:
assertion `segment->format == format' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffff2cce700 (LWP 25219)]
g_logv (log_domain=0x7ffff7b93db8 "GStreamer", log_level=G_LOG_LEVEL_CRITICAL,
format=<optimized out>, args=args at entry=0x7ffff2cccd38) at gmessages.c:981
981          g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
#0  g_logv (log_domain=0x7ffff7b93db8 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7ffff2cccd38) at gmessages.c:981
#1  0x00007ffff73b1ba2 in g_log (log_domain=<optimized out>,
log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
format=format at entry=0x7ffff741d49a "%s: assertion `%s' failed") at
gmessages.c:1010
#2  0x00007ffff73b1bc9 in g_return_if_fail_warning (log_domain=<optimized out>,
pretty_function=pretty_function at entry=0x7ffff7baa4b0
"gst_segment_to_stream_time", expression=expression at entry=0x7ffff7baa36f
"segment->format == format")
    at gmessages.c:1019
#3  0x00007ffff7b61e25 in gst_segment_to_stream_time
(segment=segment at entry=0x9b4980, format=format at entry=GST_FORMAT_TIME,
position=position at entry=970342481) at gstsegment.c:407
#4  0x00007ffff5c3a0d9 in gst_video_decoder_drop_frame (dec=0x9b47e0,
frame=frame at entry=0x867b60) at gstvideodecoder.c:2381
#5  0x00007fffe8ce8e29 in handle_slice (info=0x9bb180, mpeg2dec=0x9b47e0) at
gstmpeg2dec.c:913
#6  gst_mpeg2dec_handle_frame (decoder=0x9b47e0, frame=0x7fffec2cd5f0) at
gstmpeg2dec.c:1029
#7  0x00007ffff5c33930 in gst_video_decoder_decode_frame
(decoder=decoder at entry=0x9b47e0, frame=0x7fffec2cd5f0) at
gstvideodecoder.c:2744
#8  0x00007ffff5c37e4a in gst_video_decoder_chain_forward
(decoder=decoder at entry=0x9b47e0, buf=buf at entry=0x867a50, at_eos=at_eos at entry=0)
at gstvideodecoder.c:1756
#9  0x00007ffff5c38f31 in gst_video_decoder_chain (pad=<optimized out>,
parent=<optimized out>, buf=0x867a50) at gstvideodecoder.c:2003
#10 0x00007ffff7b41b70 in gst_pad_chain_data_unchecked (data=0x867a50,
type=<optimized out>, pad=0x962fa0) at gstpad.c:3708
#11 gst_pad_push_data (pad=0x962050, type=type at entry=4112, data=<optimized
out>, data at entry=0x867a50) at gstpad.c:3938
#12 0x00007ffff7b48646 in gst_pad_push (pad=<optimized out>,
buffer=buffer at entry=0x867a50) at gstpad.c:4041
#13 0x00007ffff579f4d7 in gst_base_parse_push_frame
(parse=parse at entry=0x827190, frame=frame at entry=0x9be2d0) at gstbaseparse.c:2210
#14 0x00007ffff57a304b in gst_base_parse_handle_and_push_frame (frame=0x9be2d0,
parse=0x827190) at gstbaseparse.c:2032
#15 gst_base_parse_finish_frame (parse=parse at entry=0x827190,
frame=frame at entry=0x9be2d0, size=size at entry=6053) at gstbaseparse.c:2336
#16 0x00007ffff22bed58 in gst_mpegv_parse_handle_frame (parse=0x827190,
frame=0x9be2d0, skipsize=0x7ffff2ccdba8) at gstmpegvideoparse.c:671
#17 0x00007ffff579ce4e in gst_base_parse_handle_buffer
(parse=parse at entry=0x827190, buffer=<optimized out>,
skip=skip at entry=0x7ffff2ccdba8, flushed=flushed at entry=0x7ffff2ccdbac) at
gstbaseparse.c:1886
#18 0x00007ffff57a034a in gst_base_parse_chain (pad=<optimized out>,
parent=0x827190, buffer=<optimized out>) at gstbaseparse.c:2755
#19 0x00007ffff7b41b70 in gst_pad_chain_data_unchecked (data=0x875220,
type=<optimized out>, pad=0x82ddb0) at gstpad.c:3708
#20 gst_pad_push_data (pad=0x82db80, type=type at entry=4112, data=<optimized
out>, data at entry=0x875220) at gstpad.c:3938
#21 0x00007ffff7b48646 in gst_pad_push (pad=<optimized out>,
buffer=buffer at entry=0x875220) at gstpad.c:4041
#22 0x00007ffff50c859d in gst_single_queue_push_one (object=0x875220,
sq=0x93bc00, mq=0x93c040) at gstmultiqueue.c:1059
#23 gst_multi_queue_loop (pad=<optimized out>) at gstmultiqueue.c:1307
#24 0x00007ffff7b70601 in gst_task_func (task=0x837b90) at gsttask.c:316
#25 0x00007ffff73ced32 in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:309
#26 0x00007ffff73ce4f5 in g_thread_proxy (data=0x940680) at gthread.c:798
#27 0x00007ffff6d3db50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#28 0x00007ffff6a87a7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()
(gdb) frame 3
#3  0x00007ffff7b61e25 in gst_segment_to_stream_time
(segment=segment at entry=0x9b4980, format=format at entry=GST_FORMAT_TIME,
position=position at entry=970342481) at gstsegment.c:407
407      g_return_val_if_fail (segment->format == format, -1);
(gdb) print *segment
$1 = {flags = GST_SEGMENT_FLAG_NONE, rate = 1, applied_rate = 1, format =
GST_FORMAT_UNDEFINED, base = 0, offset = 0, start = 0, stop =
18446744073709551615, time = 0, position = 0, duration = 18446744073709551615,
_gst_reserved = {
    0x0, 0x0, 0x0, 0x0}}
(gdb) print format
$2 = GST_FORMAT_TIME

-- 
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