[Bug 667103] discoverer.discover_uri() segfaults

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 5 09:52:14 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667103
  GStreamer | gst-plugins-base | 0.10.35

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED

--- Comment #8 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-01-05 17:52:08 UTC ---
I can reproduce this using the vala test of the bug reporter and the mp3 file
from the other bug, and gstreamer core/base 0.10.35:

==2197== Invalid read of size 8
==2197==    at 0x5A0F2EC: g_type_check_value (gtype.c:4133)
==2197==    by 0x5A11D82: g_value_copy (gvalue.c:206)
==2197==    by 0x50E5E6D: copy_garray_of_gstvalue.isra.32 (gstvalue.c:230)
==2197==    by 0x50E5F5F: gst_value_copy_list_or_array (gstvalue.c:241)
==2197==    by 0x50CB811: gst_structure_copy (gststructure.c:312)
==2197==    by 0x59E7EAF: boxed_proxy_collect_value (gboxed.c:228)
==2197==    by 0x50CA605: gst_structure_id_set_valist_internal
(gststructure.c:647)
==2197==    by 0x50CC1AB: gst_structure_id_set (gststructure.c:681)
==2197==    by 0x4E427E9: parse_stream_topology (gstdiscoverer.c:594)
==2197==    by 0x4E428D5: parse_stream_topology (gstdiscoverer.c:858)
==2197==    by 0x4E42853: parse_stream_topology (gstdiscoverer.c:852)
==2197==    by 0x4E42920: parse_stream_topology (gstdiscoverer.c:863)
==2197==  Address 0xc414ad8 is 24 bytes inside a block of size 128 free'd
==2197==    at 0x4C268FE: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2197==    by 0x6255AE9: g_array_free (garray.c:302)
==2197==    by 0x5A11752: g_value_unset (gvalue.c:275)
==2197==    by 0x50C9FDA: gst_structure_free (gststructure.c:340)
==2197==    by 0x4E43348: _event_probe (gstdiscoverer.c:428)
==2197==    by 0x50EF847: gst_marshal_BOOLEAN__POINTER (gstmarshal.c:586)
==2197==    by 0x59EA803: g_closure_invoke (gclosure.c:774)
==2197==    by 0x59FC789: signal_emit_unlocked_R (gsignal.c:3272)
==2197==    by 0x5A0541F: g_signal_emitv (gsignal.c:2907)
==2197==    by 0x507763A: gst_pad_emit_have_data_signal (gstpad.c:4143)
==2197==    by 0x50B20CA: gst_pad_push_event (gstpad.c:5236)
==2197==    by 0x509B730: gst_proxy_pad_do_event (gstghostpad.c:114)
==2197== 

(discoverer:2197): GLib-GObject-CRITICAL **: g_value_copy: assertion
`G_IS_VALUE (src_value)' failed
==2197== Invalid read of size 8
==2197==    at 0x50E5E5E: copy_garray_of_gstvalue.isra.32 (gstvalue.c:230)
==2197==    by 0x50E5F5F: gst_value_copy_list_or_array (gstvalue.c:241)
==2197==    by 0x50CB811: gst_structure_copy (gststructure.c:312)
==2197==    by 0x59E7EAF: boxed_proxy_collect_value (gboxed.c:228)
==2197==    by 0x50CA605: gst_structure_id_set_valist_internal
(gststructure.c:647)
==2197==    by 0x50CC1AB: gst_structure_id_set (gststructure.c:681)
==2197==    by 0x4E427E9: parse_stream_topology (gstdiscoverer.c:594)
==2197==    by 0x4E428D5: parse_stream_topology (gstdiscoverer.c:858)
==2197==    by 0x4E42853: parse_stream_topology (gstdiscoverer.c:852)
==2197==    by 0x4E42920: parse_stream_topology (gstdiscoverer.c:863)
==2197==    by 0x4E42BCF: discoverer_collect (gstdiscoverer.c:972)
==2197==    by 0x4E4400A: gst_discoverer_discover_uri (gstdiscoverer.c:1477)
==2197==  Address 0xc414a60 is 0 bytes inside a block of size 32 free'd
==2197==    at 0x4C268FE: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2197==    by 0x6255ADC: g_array_free (garray.c:316)
==2197==    by 0x5A11752: g_value_unset (gvalue.c:275)
==2197==    by 0x50C9FDA: gst_structure_free (gststructure.c:340)
==2197==    by 0x4E43348: _event_probe (gstdiscoverer.c:428)
==2197==    by 0x50EF847: gst_marshal_BOOLEAN__POINTER (gstmarshal.c:586)
==2197==    by 0x59EA803: g_closure_invoke (gclosure.c:774)
==2197==    by 0x59FC789: signal_emit_unlocked_R (gsignal.c:3272)
==2197==    by 0x5A0541F: g_signal_emitv (gsignal.c:2907)
==2197==    by 0x507763A: gst_pad_emit_have_data_signal (gstpad.c:4143)
==2197==    by 0x50B20CA: gst_pad_push_event (gstpad.c:5236)
==2197==    by 0x509B730: gst_proxy_pad_do_event (gstghostpad.c:114)


Have not been able to reproduce this with git though, so may well be fixed
already.

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