[Bug 680726] [0.10] segfault using gst_caps_to_string

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 3 15:07:42 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680726
  GStreamer | gstreamer (core) | 0.10.x

--- Comment #4 from Nicola <lists at svrinformatica.it> 2012-08-03 22:07:38 UTC ---
Hi, 

please note that you have to use gst-launch -v to trigger the segfault, sorry
for omitting this in my original report,

valgrind show the following output (if can attach the whole output if you
want):

==6849== Thread 6:
==6849== Invalid read of size 1
==6849==    at 0x4EC5F18: gst_value_serialize_buffer (stdio2.h:34)
==6849==    by 0x4EC94C6: gst_value_serialize (gstvalue.c:4054)
==6849==    by 0x4EAE8DE: priv_gst_structure_append_to_gstring
(gststructure.c:1809)
==6849==    by 0x4E6A5EE: gst_caps_to_string (gstcaps.c:2078)
==6849==    by 0x4E6A7BF: gst_caps_transform_to_string (gstcaps.c:2158)
==6849==    by 0x5153F47: g_value_transform (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.3)
==6849==    by 0x515779B: g_strdup_value_contents (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.3)
==6849==    by 0x4E5B6DA: gst_object_default_deep_notify (gstobject.c:607)
==6849==    by 0x512ECA1: g_closure_invoke (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.3)
==6849==    by 0x513FD70: ??? (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.3)
==6849==    by 0x5148098: g_signal_emit_valist (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.3)
==6849==    by 0x5148241: g_signal_emit (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.3)
==6849==    by 0x4E5AFD6: gst_object_dispatch_properties_changed
(gstobject.c:548)
==6849==    by 0x513536A: g_object_notify_by_pspec (in
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.3)
==6849==    by 0x4E8C583: gst_pad_set_caps (gstpad.c:2745)
==6849==    by 0x4E8DF7F: gst_pad_push_data (gstpad.c:4247)
==6849==    by 0x4E91A65: gst_pad_push (gstpad.c:4730)
==6849==    by 0x9276622: gst_qtdemux_decorate_and_push_buffer (qtdemux.c:3688)
==6849==    by 0x928A7BB: gst_qtdemux_loop (qtdemux.c:3767)
==6849==    by 0x4EB84EB: gst_task_func (gsttask.c:328)
==6849==  Address 0x8d549f4 is 516 bytes inside a block of size 329,110 free'd
==6849==    at 0x4C2A82E: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==6849==    by 0x4E63079: gst_buffer_finalize (gstbuffer.c:207)
==6849==    by 0x4E876F0: gst_mini_object_unref (gstminiobject.c:376)
==6849==    by 0x928BD9F: gst_qtdemux_loop (gstbuffer.h:367)
==6849==    by 0x4EB84EB: gst_task_func (gsttask.c:328)
==6849==    by 0x53D8247: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==6849==    by 0x53D79E4: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3)
==6849==    by 0x566AE99: start_thread (pthread_create.c:308)
==6849==

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