[Bug 669611] New: git 0.11 branch: gst_wavparse_chain tries to push adapter, but it's empty

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 7 14:06:53 PST 2012

  GStreamer | gstreamer (core) | 0.11.x

           Summary: git 0.11 branch: gst_wavparse_chain tries to push
                    adapter, but it's empty
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: pecisk at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This is actual on 0.11 branch, dated 07.02.2012

It seems when doing wav parsing gst_wavparse_chain tries to push adapter, but
it's 0x0, so when gst_adapter_push checks if it's really adapter, it fails.

For reproducing this use attached script.

It ends with messages like this:
** CRITICAL **: gst_adapter_push: assertion `GST_IS_ADAPTER (adapter)' failed

** CRITICAL **: gst_adapter_available: assertion `GST_IS_ADAPTER (adapter)'

gdb with G_DEBUG=fatal-criticals gives me this:
#0  g_logv (log_domain=0x0, log_level=<optimized out>, format=0x270cd6 "%s:
assertion `%s' failed", 
    args1=0xb594202c "2", <incomplete sequence \353>) at gmessages.c:765
#1  0x00208fc3 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL,
format=0x270cd6 "%s: assertion `%s' failed") at gmessages.c:792
#2  0x0020900d in g_return_if_fail_warning (log_domain=0x0,
pretty_function=0xeb2d32 "gst_adapter_push", 
    expression=0xeb2c14 "GST_IS_ADAPTER (adapter)") at gmessages.c:801
#3  0x00e78429 in gst_adapter_push (adapter=0x0, buf=0x83d9f08) at
#4  0x010540d2 in gst_wavparse_chain (pad=0x8733d70, parent=0xb481b0e0,
buf=0x83d9f08) at gstwavparse.c:2093
#5  0x00ced623 in gst_pad_chain_data_unchecked (data=0x83d9f08, type=17121312,
pad=0x8733d70) at gstpad.c:3330
#6  gst_pad_push_data (pad=0x8733140, type=17121312, data=0x83d9f08) at
#7  0x00f162a3 in gst_type_find_element_loop (pad=0x8733008) at
#8  0x00d1e3d0 in gst_task_func (task=0x88521f8) at gsttask.c:314
#9  0x00d1f5c8 in default_func (tdata=0x87f3240, pool=0x81a5000) at
#10 0x002250a7 in g_thread_pool_thread_proxy (data=0x8190928) at
#11 0x00224703 in g_thread_proxy (data=0x886bc60) at gthread.c:801
#12 0x4bd3acd3 in start_thread () from /lib/libpthread.so.0
#13 0x4bc7883e in clone () from /lib/libc.so.6

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