[Bug 733306] New: mpeg4parse assertion fails

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 17 03:58:47 PDT 2014


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

           Summary: mpeg4parse assertion fails
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aleix at oblong.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Yesterday I updated to latest master changes (1 month since I didn't). I have
an RTSP server based on gst-rtsp-server. From time to time I get the folllowing
assertion:

CRITICAL **: gst_byte_reader_masked_scan_uint32: assertion '(guint64) offset +
size <= reader->size - reader->byte' failed

The server keeps working an streaming.

The pipeline is something like:

   shmsrc ! x264enc ! rtph264pay

I'll try to reproduce this with gst-rtsp-server test-launch.

This is the backtrace:

(gdb) bt
#0  g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=<optimized
out>, args=args at entry=0x7fffc17df668) at gmessages.c:1026
#1  0x00007ffff369c332 in g_log (log_domain=log_domain at entry=0x0,
log_level=log_level at entry=G_LOG_LEVEL_CRITICAL, 
    format=format at entry=0x7ffff37150fa "%s: assertion '%s' failed") at
gmessages.c:1059
#2  0x00007ffff369c359 in g_return_if_fail_warning
(log_domain=log_domain at entry=0x0, 
    pretty_function=pretty_function at entry=0x7ffff4903600 <__func__.18898>
"gst_byte_reader_masked_scan_uint32", 
    expression=expression at entry=0x7ffff49033f0 "(guint64) offset + size <=
reader->size - reader->byte") at gmessages.c:1068
#3  0x00007ffff48ef8e5 in gst_byte_reader_masked_scan_uint32 (reader=<optimized
out>, mask=<optimized out>, pattern=<optimized out>, offset=<optimized out>, 
    size=<optimized out>) at gstbytereader.c:848
#4  0x00007fffe4106ee1 in gst_mpeg4_parse (packet=0x7fffc17df830,
skip_user_data=0, vop=0x0, data=0x7fff9c01b590 "", offset=20667, size=20620) at
gstmpeg4parser.c:465
#5  0x00007fffe43394fb in gst_mpeg4vparse_handle_frame (parse=0x7fffa0079ee0,
frame=0x7fffd400c050, skipsize=0x50ba) at gstmpeg4videoparse.c:496
#6  0x00007ffff48c9502 in gst_base_parse_handle_buffer (parse=0x7fffa0079ee0,
buffer=0x7fffbc6a79e0, skip=0x7fffc17df9bc, flushed=0x7fffc17df9c0)
    at gstbaseparse.c:1961
#7  0x00007ffff48cda15 in gst_base_parse_chain (pad=0x7fffa0000020,
parent=0x7fffa0079ee0, buffer=0x6) at gstbaseparse.c:2894
#8  0x00007ffff41df15e in gst_pad_chain_data_unchecked (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:3836
#9  gst_pad_push_data (pad=0x7fffbc0edca0, type=4102870240,
data=0x7fffbc7b5340) at gstpad.c:4069
#10 0x00007ffff41df15e in gst_pad_chain_data_unchecked (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:3836
#11 gst_pad_push_data (pad=0x7fffbc0f2290, type=3852480160,
data=0x7fffbc7b5340) at gstpad.c:4069
#12 0x00007ffff41e5f76 in gst_pad_push (pad=pad at entry=0x7fffbc0f2290,
buffer=buffer at entry=0x7fffbc7b5340) at gstpad.c:4180
#13 0x00007ffff41cfd33 in gst_proxy_pad_chain_default (pad=0x7fffd8015810,
parent=<optimized out>, buffer=0x7fffbc7b5340) at gstghostpad.c:126
#14 0x00007ffff41df15e in gst_pad_chain_data_unchecked (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:3836
#15 gst_pad_push_data (pad=0x7fffbc101220, type=4095540352,
data=0x7fffbc7b5340) at gstpad.c:4069
#16 0x00007fffe59eee97 in gst_single_queue_push_one (object=<optimized out>,
sq=<optimized out>, mq=<optimized out>) at gstmultiqueue.c:1143
#17 gst_multi_queue_loop (pad=0x7fffa0000020) at gstmultiqueue.c:1392
#18 0x00007ffff420c4f7 in gst_task_func (task=0x7fffbc68a290) at gsttask.c:317
#19 0x00007ffff36c259e in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:309
#20 0x00007ffff36c1c75 in g_thread_proxy (data=0x7fffb0003230) at gthread.c:798
#21 0x00007fffee5060a4 in start_thread (arg=0x7fffc17e0700) at
pthread_create.c:309
#22 0x00007fffecf4a04d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

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