GNOME Bugzilla – Bug 136573
hang in avidemux
Last modified: 2004-12-22 21:47:04 UTC
the pipeline i used is: gst-launch-0.7 filesrc location=test.avi ! avidemux ! fakesink run like that it hangs consuming 100% cpu, gdb backtrace follows: (gdb) bt
+ Trace 44915
when run with valgrind --skin=memcheck it doesn't hang, but outputs quite some stuff, valgrind log and output of gst-launch is attached.
Created attachment 25347 [details] valgrind log
Created attachment 25348 [details] output of gst-launch-0.7
The first tells me that I did something wrong with tag reading in avidemux. There must be some error in this part of code in http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst-libs/gst/riff/riff-read.c.diff?r1=1.4&r2=1.5 but I don't know where. Try removing the gst_tag_list_free(), though I thought that gst_element_found_tag() copied the list... Odd... The second log tells me that those two commits by Julien in http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst-libs/gst/riff/riff-read.c.diff?r1=1.12&r2=1.14 are both wrong. We should not touch the event after pad_default'ing them, because we *lose our reference* by doing that. Someone please fix that properly. At least, that's what I suspect. It might be something else.
Created attachment 25352 [details] [review] patch to remove gst_tag_list_free from riff-read.c
The first hint works for me, after removing the gst_tag_list_free with the attached patch i can finally play avi files again.
Fixed in CVS.