[gst-devel] opt is broken

Colin Walters walters at verbum.org
Sun Feb 29 08:10:10 CET 2004


On Sun, 2004-02-29 at 08:02, Benjamin Otte wrote:
> Currently opt is broken, it segfaults whenever the pipeline is unrefed.
> See http://bugzilla.gnome.org/show_bug.cgi?id=135672

basicomega has problems too:

==30465== Thread 3:
==30465== Invalid write of size 4
==30465==    at 0x45238930: cothread_create (cothreads.c:304)
==30465==    by 0x4523560D: gst_basic_scheduler_cothreaded_chain (gstbasicscheduler.c:726)
==30465==    by 0x45235C54: gst_basic_scheduler_chain_enable_element (gstbasicscheduler.c:842)
==30465==    by 0x45236D41: gst_basic_scheduler_state_transition (gstbasicscheduler.c:1156)
==30465==    by 0x402A05F7: gst_scheduler_state_transition (gstscheduler.c:318)
==30465==    by 0x402820F8: gst_element_change_state (gstelement.c:2877)
==30465==    by 0x47681C1B: gst_gnomevfssrc_change_state (in /build/gstreamer-0.7/lib/gstreamer-0.7/libgstgnomevfs.so)
==30465==    by 0x40281313: gst_element_set_state (gstelement.c:2661)
==30465==    by 0x402717E9: gst_bin_change_state (gstbin.c:728)
==30465==    by 0x40299325: gst_pipeline_change_state (gstpipeline.c:175)
==30465==    by 0x40281313: gst_element_set_state (gstelement.c:2661)
==30465==    by 0x809F06A: rb_metadata_load (rb-metadata-gst.c:404)
==30465==    by 0x80941E8: read_metadata_async (rhythmdb.c:722)
==30465==    by 0x80948C6: rhythmdb_add_song (rhythmdb.c:904)
==30465==    by 0x8094D23: add_thread_main (rhythmdb.c:1017)
==30465==    by 0x480038F0: (within /usr/lib/libglib-2.0.so.0.200.3)
==30465==    by 0x403756E9: thread_wrapper (vg_libpthread.c:667)
==30465==    by 0x40160ABF: ??? (vg_scheduler.c:2142)
==30465==    Address 0x449C0004 is not stack'd, malloc'd or free'd
==30465==
==30465== Thread 3:
==30465== Conditional jump or move depends on uninitialised value(s)
==30465==    at 0x452386CA: cothread_create (cothreads.c:243)
==30465==    by 0x4523560D: gst_basic_scheduler_cothreaded_chain (gstbasicscheduler.c:726)
==30465==    by 0x45235C54: gst_basic_scheduler_chain_enable_element (gstbasicscheduler.c:842)
==30465==    by 0x45236D41: gst_basic_scheduler_state_transition (gstbasicscheduler.c:1156)
==30465==    by 0x402A05F7: gst_scheduler_state_transition (gstscheduler.c:318)
==30465==    by 0x402820F8: gst_element_change_state (gstelement.c:2877)
==30465==    by 0x44F144A8: gst_type_find_element_change_state (gsttypefind.c:656)
==30465==    by 0x40281313: gst_element_set_state (gstelement.c:2661)
==30465==    by 0x402717E9: gst_bin_change_state (gstbin.c:728)
==30465==    by 0x40299325: gst_pipeline_change_state (gstpipeline.c:175)
==30465==    by 0x40281313: gst_element_set_state (gstelement.c:2661)
==30465==    by 0x809F06A: rb_metadata_load (rb-metadata-gst.c:404)
==30465==    by 0x80941E8: read_metadata_async (rhythmdb.c:722)
==30465==    by 0x80948C6: rhythmdb_add_song (rhythmdb.c:904)
==30465==    by 0x8094D23: add_thread_main (rhythmdb.c:1017)
==30465==    by 0x480038F0: (within /usr/lib/libglib-2.0.so.0.200.3)
==30465==    by 0x403756E9: thread_wrapper (vg_libpthread.c:667)
==30465==    by 0x40160ABF: ??? (vg_scheduler.c:2142)
==30465==
==30465== Thread 3:
==30465== Invalid read of size 4
==30465==    at 0x4049A91A: __GI___munmap (in /lib/libc-2.3.2.so)
==30465==    by 0xFFFFFFFE: ???
==30465==    Address 0x44944B20 is on thread 3's stack
==30465==
==30465== ---- Attach to GDB ? --- [Return/N/n/Y/y/C/c] ---- n
==30465==
==30465== Thread 3:
==30465== Jump to the invalid address stated on the next line
==30465==    at 0xFFFFFFFF: ???
==30465==    by 0xFFFFFFFE: ???
==30465==    Address 0xFFFFFFFF is not stack'd, malloc'd or free'd
==30465==
==30465== ---- Attach to GDB ? --- [Return/N/n/Y/y/C/c] ---- n
zsh: segmentation fault  valgrind --alignment=8 --gdb-attach=yes --num-callers=20 shell/rhythmbox

-------------- 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/20040229/c52a63cc/attachment.pgp>


More information about the gstreamer-devel mailing list