Files opened many times - Open files never close

Bug #670339 reported by Mario B.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
New
Undecided
Unassigned

Bug Description

Ubuntu 10.10 (32-bit), OpenShot 1.2.2

When I was investigating another bug I noticed that OpenShot dealt with a couple of thousand open files. I closed OpenShot and opend a saved session. lsof showed every file opened twice. After playing around some time (adding images, resizing effects, playback some parts of the video) I reviewed the open files. lsof was showing over 4000 open files and every file was opend more than 10 times. I didn't help to wait half an hour (hoping that some sort of garbage collection would tidy up). I'm not sure if this is a normal behavior but it looks like a bug to me.

Revision history for this message
Olivier Girard (eolinwen) wrote :

You are not a lucky men but if you have a problem that you have already report in another bug, perhaps it can explain this state.
Could you record this and put the screencast here, it can help us to understand more easy what is your problem and find too a solution. He must be not too big (less 28~30 Mb i believe) Just for known What are the format of your files in input ?
Thanks.

Revision history for this message
Mario B. (boonekamp-deactivatedaccount-deactivatedaccount) wrote :

I added a little screencast in ogg theora format. In this case the input file is a small mpeg1 example, 320 x 240 pixel. It doesn't matter which format you use. I've got the same issues with any kind of avi files.

Revision history for this message
Olivier Girard (eolinwen) wrote :

aha. I have understand better that you was saying. In fact, i seem me/suppose that it is the history of all your operations done on any type of files that you will use (avi, mov,mp4.......).

Revision history for this message
Mario B. (boonekamp-deactivatedaccount-deactivatedaccount) wrote :

It is some sort of history... but it's not a history it the way that you need for undo and redo. It makes no sense to have a history of operations like playback or setting the cursor. It makes no sense either to open a file many times if you want to save a history of your operations. One simple text file or a stack in memory would do the trick.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.