GNOME Bugzilla – Bug 88702
gnomevfssrc, gstreamer, pipeline _READY -> segv
Last modified: 2009-08-15 18:40:50 UTC
Situation: Using gstreamer with gnomevfssrc in a simple pipeline (gnomevfssrc ! mad ! osssink ) inside a Gtk2 app. Platform is RedHat's "Limbo" beta release, which includes Gnome2 and is built with gcc 3.1. Gcc 3.1 complains a lot about -I/usr/include. Reading the docs, toggling the pipeline from from _PLAYING to _READY to _PLAYING seems like it should rewind the pipeline and start playing again. However, gstreamer segfaults on _READY. This does not happen with filesrc. A similar thing happens with Monkey-Media (rhythmbox/monkey-sound), which uses gstreamer and gnomevfssrc. This code ... monkey_media_mixer_set_state (mixer, MONKEY_MEDIA_MIXER_STATE_STOPPED); ... segfaults. Presumably, it's setting the pipeline in gstreamer to _READY.
Created attachment 11092 [details] quickly hacked this up: seems to work for me
ok, Rothwell could you please try with current CVS and also check jorns testcase it is seems to work now.
I no longer get a segfault. I believe is was a double-close in the gnomevfssrc module. Thanks!