[Bug 672404] New: [mpegtsbase] eos event handling error

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 19 09:09:22 PDT 2012


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

           Summary: [mpegtsbase] eos event handling error
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: bugzilla.gnome at gpost.dk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=210095)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=210095)
proposed patch

The module will report a "CRITICAL **: g_hash_table_foreach: assertion `version
== hash_table->version' failed" error on the EOS event.

Thread 6 (Thread 0x7fffebfff700 (LWP 8824)):
#0  0x00007ffff73f4620 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff011a31c in gst_mpegts_base_handle_eos (base=0x8720d0) at
mpegtsbase.c:1253
#2  mpegts_base_sink_event (pad=<optimized out>, event=0x86ae80) at
mpegtsbase.c:1301
#3  0x00007ffff7b531a2 in gst_pad_send_event (pad=0x863e10, event=0x86ae80) at
gstpad.c:5425
#4  0x00007ffff7b53728 in gst_pad_push_event (pad=0x863c90, event=0x86ae80) at
gstpad.c:5277

A quick analysis shows that this is caused by removing elements of the program
hash table while iterating over it, which is not allowed.

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