crash in gst_ogg_demux_deactivate_current_chain

Roland Krause rokrau at yahoo.com
Mon Mar 5 17:44:48 PST 2012


Hi All. 
Please forgive me if this is something obvious but I've upgraded to 0.10.36 from 
0.10.35 because I was hoping to take advantage of some bugfixes to the 
ringbuffers. BUT

My code which runs at least once with 0.10.35 ( before it deadlocks ) crashes 
immediately  in  gst_ogg_demux_deactivate_current_chain at  gstoggdemux.c:2422 


with the following traces: 

2422      for (i = 0; i < chain->streams->len; i++) {
(gdb) bt
#0  0xa986277d in gst_ogg_demux_deactivate_current_chain (ogg=<value optimized 
out>) at gstoggdemux.c:2422
#1  0xa986520a in gst_ogg_demux_activate_chain (ogg=<value optimized out>, 
chain=<value optimized out>, 

    event=0x989daf0) at gstoggdemux.c:2565
#2  0xa986670b in gst_ogg_demux_perform_seek_pull (ogg=<value optimized out>, 
event=<value optimized out>)
    at gstoggdemux.c:3188
#3  0xa98710a8 in gst_ogg_demux_loop (pad=0x981b710) at gstoggdemux.c:4400
#4  0xb6734792 in gst_task_func (task=0x8d6f4b0) at gsttask.c:327
#5  0xb6735db7 in default_func (tdata=0x8e22610, pool=0x8ca0008) at 
gsttaskpool.c:70
#6  0xb64cd3d4 in ?? () from /lib/libglib-2.0.so.0
#7  0xb64cb48f in ?? () from /lib/libglib-2.0.so.0
#8  0xb6092ba8 in ?? () from /usr/lib/nvidia-current/libGL.so.1

Poking around I find that the value of ogg->chains is 0xffffffff which doesn't 
seem to make sense to me. 


I've also looked at git commit log and noticed that the following commit 


authorVincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-08-13 13:18:56 
(GMT) 

committerTim-Philipp Müller <tim.muller at collabora.co.uk> 2011-09-16 18:47:10 
(GMT) 

commit0173afa38cc6f8a2cb810f99a24ddb1d5d5f4868 (patch) (side-by-side diff) 
seems to have introduced the code that is now crashing. 

For background, my application loops over multiple videos continuously. 

Any help on this would be greatly appreciated. 

Thanks and Best Regards.
Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120305/43debdd4/attachment.html>


More information about the gstreamer-devel mailing list