[gst-devel] gnoemvfssrc, GST_STATE_PLAYING -> GST_STATE_READY -> segfault.

Michael Rothwell rothwell at holly-springs.nc.us
Sat Jul 13 14:59:01 CEST 2002


(Yeah, it's me again.) 

Using filesrc, I can toggle a pipeline from GST_STATE_PLAYING to
GST_STATE_READY and back to restart the audio. Going to _NULL results in
the next _PLAYING producing garbage, but I think this is normal after
reading the docs. With gnomevfssrc, I can go to _PLAYING at the
beginning, but going to _READY or _NULL segfaults. This is inside a
single-process GTK2 app using an iterator for the pipeline in an idle
function.

I might be doing something wrong, but I don't know enough about
gstreamer to say.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 23691)]
0x40805820 in gnome_vfs_uri_unref () from /usr/lib/libgnomevfs-2.so.0
(gdb) bt
#0  0x40805820 in gnome_vfs_uri_unref () from
/usr/lib/libgnomevfs-2.so.0
#1  0x407f1378 in gnome_vfs_handle_destroy () from
/usr/lib/libgnomevfs-2.so.0
#2  0x407c3aac in gst_gnomevfssrc_close_file (src=0x80fa4e8) at
gstgnomevfssrc.c:539
#3  0x407c3c2f in gst_gnomevfssrc_change_state (element=0x80e2ea8) at
gstgnomevfssrc.c:570
#4  0x40049a21 in gst_element_set_state () from
/usr/lib/libgstreamer-0.4.0.so.0
#5  0x4003c572 in gst_bin_change_state () from
/usr/lib/libgstreamer-0.4.0.so.0
#6  0x400567d8 in gst_pipeline_change_state () from
/usr/lib/libgstreamer-0.4.0.so.0
#7  0x40049a21 in gst_element_set_state () from
/usr/lib/libgstreamer-0.4.0.so.0
#8  0x08048d12 in key_callback ()

-- 
Michael Rothwell
e: rothwell at holly-springs.nc.us
k: http://www.flyingbuttmonkeys.com/rothwell-public-key.txt

-------------- 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/20020713/870ac767/attachment.pgp>


More information about the gstreamer-devel mailing list