[gst-devel] simple stuff breaking

Colin Walters walters at verbum.org
Wed Dec 24 10:49:02 CET 2003


On Wed, 2003-12-24 at 12:09, Thomas Vander Stichele wrote:
> So, while trying to get my head round the new caps stuff, bit by bit,
> I'm running into simple stuff that now breaks.
> 
> sinesrc ! fakesink is the simplest thing that breaks.  I've tried
> stepping through it, but I'm not sure exactly what is going wrong during
> linking.  It seems to me that there are both STATIC any caps, and
> dynamically allocated any caps.  Maybe there's a mixup there ?

It looks to me like sinesrc is stepping over the buffer...why this would
be caused by the caps merge I have no idea.

==15894==
==15894== Invalid write of size 2
==15894==    at 0x14404D: gst_sinesrc_get (gstsinesrc.c:367)
==15894==    by 0x2BB33B: get_group_schedule_function (gstoptimalscheduler.c:962)
==15894==    by 0x2BAD9A: schedule_group (gstoptimalscheduler.c:839)
==15894==    by 0x2BAEEA: gst_opt_scheduler_schedule_run_queue (gstoptimalscheduler.c:878)
==15894==    by 0x2BB0AE: schedule_chain (gstoptimalscheduler.c:922)
==15894==    by 0x2BDC43: gst_opt_scheduler_iterate (gstoptimalscheduler.c:2072)
==15894==    by 0x1A794E: gst_scheduler_iterate (gstscheduler.c:729)
==15894==    by 0x17C350: gst_bin_iterate_func (gstbin.c:1080)
==15894==    by 0x175C1A: gst_marshal_BOOLEAN__VOID (gstmarshal.c:355)
==15894==    by 0x6C6006: (within /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6C5CAF: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6D767B: (within /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6D6A0C: g_signal_emit_valist (in /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6D6E73: g_signal_emit (in /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x17C539: gst_bin_iterate (gstbin.c:1119)
==15894==    by 0x804971C: idle_func (gst-launch.c:46)
==15894==    by 0x2E9B32: (within /usr/lib/libglib-2.0.so.0.200.3)
==15894==    by 0x2E6FDC: (within /usr/lib/libglib-2.0.so.0.200.3)
==15894==    by 0x2E7FD7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.200.3)
==15894==    by 0x2E82EE: (within /usr/lib/libglib-2.0.so.0.200.3)
==15894==    Address 0x2274120 is 0 bytes after a block of size 1024 alloc'd
==15894==    at 0xC1D28B: malloc (vg_replace_malloc.c:153)
==15894==    by 0x2EC8C6: g_malloc (in /usr/lib/libglib-2.0.so.0.200.3)
==15894==    by 0x17CCC1: gst_buffer_new_and_alloc (gstbuffer.c:228)
==15894==    by 0x143E74: gst_sinesrc_get (gstsinesrc.c:321)
==15894==    by 0x2BB33B: get_group_schedule_function (gstoptimalscheduler.c:962)
==15894==    by 0x2BAD9A: schedule_group (gstoptimalscheduler.c:839)
==15894==    by 0x2BAEEA: gst_opt_scheduler_schedule_run_queue (gstoptimalscheduler.c:878)
==15894==    by 0x2BB0AE: schedule_chain (gstoptimalscheduler.c:922)
==15894==    by 0x2BDC43: gst_opt_scheduler_iterate (gstoptimalscheduler.c:2072)
==15894==    by 0x1A794E: gst_scheduler_iterate (gstscheduler.c:729)
==15894==    by 0x17C350: gst_bin_iterate_func (gstbin.c:1080)
==15894==    by 0x175C1A: gst_marshal_BOOLEAN__VOID (gstmarshal.c:355)
==15894==    by 0x6C6006: (within /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6C5CAF: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6D767B: (within /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6D6A0C: g_signal_emit_valist (in /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x6D6E73: g_signal_emit (in /usr/lib/libgobject-2.0.so.0.200.3)
==15894==    by 0x17C539: gst_bin_iterate (gstbin.c:1119)
==15894==    by 0x804971C: idle_func (gst-launch.c:46)
==15894==    by 0x2E9B32: (within /usr/lib/libglib-2.0.so.0.200.3)
zsh: segmentation fault  valgrind --alignment=8 --num-callers=20  sinesrc ! fakesink

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20031224/1f4c297a/attachment.pgp>


More information about the gstreamer-devel mailing list