[Bug 680519] New: [0.11] tsdemux: gst_adapter_flush: assertion `flush <= adapter->size' failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 24 04:57:23 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680519
  GStreamer | gst-plugins-bad | 0.11.x

           Summary: [0.11] tsdemux: gst_adapter_flush: assertion `flush <=
                    adapter->size' failed
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Strangely enough, I only get these when playing the clip in totem, not when
using gst-launch playbin. Happens right at the very end.

tpm at zingle:~/gst/0.11/totem/src$ G_DEBUG=fatal_warnings gdb --args
./.libs/lt-totem ~/bbcnews2.m2t 

** (lt-totem:7445): CRITICAL **: gst_adapter_flush: assertion `flush <=
adapter->size' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffd8c83700 (LWP 7450)]
g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff2fa86e2
"%s: assertion `%s' failed", args1=args1 at entry=0x7fffd8c82968) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmessages.h:101
101    /tmp/buildd/glib2.0-2.32.3/./glib/gmessages.h: No such file or
directory.
(gdb) bt
#0  g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL,
format=0x7ffff2fa86e2 "%s: assertion `%s' failed",
args1=args1 at entry=0x7fffd8c82968) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmessages.h:101
#1  0x00007ffff2f674d2 in g_log (log_domain=<optimized out>,
log_level=<optimized out>, format=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmessages.c:792
#2  0x00007fffd0f97ffb in mpegts_packetizer_clear_packet (packetizer=0x15bcc00,
packet=packet at entry=0x7fffd8c82aa0) at mpegtspacketizer.c:2535
#3  0x00007fffd0f9060b in mpegts_base_chain (pad=<optimized out>,
parent=parent at entry=0x1312040, buf=<optimized out>) at mpegtsbase.c:1465
#4  0x00007fffd0f90d65 in mpegts_base_loop (base=0x1312040) at
mpegtsbase.c:1605
#5  0x00007ffff79001e1 in gst_task_func (task=0xefc480) at gsttask.c:316
#6  0x00007ffff2f835f2 in g_thread_pool_thread_proxy (data=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#7  0x00007ffff2f82df5 in g_thread_proxy (data=0xee0720) at
/tmp/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#8  0x00007ffff2d00b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#9  0x00007ffff2a4b6dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
(gdb) k
Kill the program being debugged? (y or n) n
Not confirmed.
(gdb) frame 2
#2  0x00007fffd0f97ffb in mpegts_packetizer_clear_packet (packetizer=0x15bcc00,
packet=packet at entry=0x7fffd8c82aa0) at mpegtspacketizer.c:2535
2535        gst_adapter_flush (packetizer->adapter, packetizer->priv->offset);
(gdb) print *packetizer
$1 = {parent = {g_type_instance = {g_class = 0x136dc00}, ref_count = 1, qdata =
0x0}, adapter = 0x1311030, streams = 0x11f0200, disposed = 0, know_packet_size
= 1, packet_size = 188, caps = 0x12adb20, offset = 176956, empty = 0, 
  calculate_skew = 0, base_time = 18446744073709551615, base_pcrtime =
18446744073709551615, prev_out_time = 18446744073709551615, prev_in_time = 0,
last_pcrtime = 18446744073709551615, window = {0 <repeats 512 times>},
window_pos = 0, 
  window_size = 0, window_filling = 1, window_min = 0, skew = 0, prev_send_diff
= -1, wrap_count = 0, calculate_offset = 1, priv = 0x15bdcb0}

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