After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697841 - avidemux deadlocks on file with broken index
avidemux deadlocks on file with broken index
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Mac OS
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-12 00:03 UTC by Matej Knopp
Modified: 2016-02-21 12:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (2.06 KB, patch)
2013-04-12 00:05 UTC, Matej Knopp
reviewed Details | Review

Description Matej Knopp 2013-04-12 00:03:51 UTC
I have a file that causes avidemux to deadlock;

gst_avi_demux_next_data_buffer returns empty buffer (but flow is still OK)
Comment 1 Matej Knopp 2013-04-12 00:05:53 UTC
Created attachment 241314 [details] [review]
Patch
Comment 2 Tim-Philipp Müller 2013-04-13 12:33:56 UTC
Could you make the file available?

It didn't "pull an empty buffer", did it? It pulled a chunk with size 0, which should be possible to just skip, no?

Though to be honest, I'm not sure I understand the entire gst_avi_demux_stream_scan() function. As I read it, it starts at position 0, where it reads the RIFF chunk, which is roughly size==filesize-8, and then just skips to the end instead of indexing the data chunks. Or maybe I'm just confused.
Comment 3 Matej Knopp 2013-07-29 07:25:04 UTC
What you're saying makes sense, I need to find the file and debug this.
Comment 4 Tim-Philipp Müller 2016-02-21 12:16:08 UTC
Please re-open when you find the file, thanks! :)

Might also have been fixed independently in the meantime..