Openshot leaves processes running after File > New, quit.

Bug #1108989 reported by Colin Law
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Confirmed
Low
Unassigned

Bug Description

Running Ubuntu 12.10 with
openshot 1.4.3-1 from openshot.developers ppa
melt 0.8.2-0ubuntu0~sunab~quantal1 from sunab/kdenlive-release ppa

To replicate (in Ubuntu)
Start openshot in a terminal
Start htop or similar in another terminal
A number of python openshot processes are started.
In openshot select File > New Project and Save Project
A few more openshot processes are started.
Close openshot (File > Quit)
Openshot closes but four python openshot processes are left attached to the terminal and the terminal does not return to the command prompt.

If I perform that same action from the Ubuntu launcher then the processes are left as orphans.

Terminal log attached.
Would openshot.debug file be useful?

Revision history for this message
Colin Law (colin-law) wrote :
Revision history for this message
Olivier Girard (eolinwen) wrote :

HI,

Follow this FAQ, please.
https://answers.launchpad.net/openshot/+faq/2197

After, you should update your version of MLT but for that, you should use (and desactive after) this testing PPA https://launchpad.net/~sunab/+archive/kdenlive-svn (Beware, it is a testing PPA). Read more here : https://answers.launchpad.net/openshot/+faq/1861

Think to desactive before/reactive after the stable Sunab PPA when you update. The both PPA are incompatible in the same time.

Revision history for this message
Colin Law (colin-law) wrote :

HI, I looked at the FAQ but I do not understand what it means when it says I have to put the file in the "model folder". Does it just mean that you want me to supply the information in the FAQ here? Sorry to be thick.

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

Okay, I have modified the FAQ at this level. It is something that I haven't think. :-(
This trick is only for experimented users who want to help us to improve/debug Openshot. Put just the model here completed. Like this I will have more informations to understand more quickly where is your problem (and resolve it too).

Revision history for this message
Colin Law (colin-law) wrote :

OK, I understand. Model file attached.

Revision history for this message
Colin Law (colin-law) wrote :

I have now tried with ppa:sunab/kdenlive-svn and the problem is unchanged.

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

I've tried and I can't reproduce it.
I have been impressive by numbers of process launched and not only by Openshot (Firefox : a enormous number, 7 for Openshot, 6 for Radio Tray,...).
AFter closing, all process for OS are closed.
I am on Precise and see my model file attached for more information

Bug Date : 30/01/2013
Reporter : Olivier Girard aka Cenwen
Plateform (64 bits or 32 bits) : 64 bits
Operating System : Ubuntu
Version OS : Precise 12.04
New installation or update :yes
Installation Method : Daily PPA
Version of Openshot installed : 1.4.3+0735+66+280~precise
Revision used (if any) : rev
Library used (Libopenshot or MLT) : MLT
Library version (libopenshot 1.x.x or libmlt 0.x.x) : libmlt 0.8.8-0ubuntu0~sunab~precise
FFmpeg version : 1.0.0
FFmpeg installation : sven PPA

Summary/Description:
Openshot leaves processes running after File > New Project, then quit
Steps to reproduce:
In Ubuntu Start Openshot in a terminal
Start htop or similar in another terminal
A number of python openshot processes are seen in htop.
In Openshot select File > New Project and Save Project
A few more openshot processes are started.
Close openshot (File > Quit)
Openshot closes but four python openshot processes are left attached to the terminal and the terminal does not return to the command prompt.

If I perform that same action from the Ubuntu launcher then the processes are left as orphans.
Additional information :

Link to a bug report (if any): https://bugs.launchpad.net/openshot/+bug/1108989

Revision history for this message
Colin Law (colin-law) wrote :

I have a machine with Precise, I will install on there and see if I see the problem.
Did it start several more processes when you did File > New Project and Save?

Revision history for this message
Colin Law (colin-law) wrote :

I have checked with Precise on a different PC (but 32 bit, yours is 64 bit I see) and I still see the problem, which I find surprising. I have not got a 64 bit installation to try it on. Are you running Unity?

When I say File > New Project it replaces the current project with the new one. Is that correct or should I then have two project windows? I particularly notice that if I open an existing project, make a change but do not save it, and then open a new project, save and quit, that I do not get warned about closing the first project without saving it, which makes me wonder whether it is the first projects threads that are getting left running.

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

>>I have checked with Precise on a different PC (but 32 bit, yours is 64 bit I see) and I still see the problem, which I find surprising. I have not got a 64 bit installation to try it on. Are you running Unity?

Yes.

>>When I say File > New Project it replaces the current project with the new one. Is that correct or should I then have two project windows? I particularly notice that if I open an existing project, make a change but do not save it, and then open a new project, save and quit, that I do not get warned about closing the first project without saving it, which makes me wonder whether it is the first projects threads that are getting left running.

On Unity, you have a nasty bug. i.e. If you have created several projects, When you select one (not the last), it will be always the last which will be opened. This issue touches not only Openshot but Inkscape, Dia,......

But in practical experience, the new/open project replace the previous in the same windows.
You should have a Advertising box for save the project, always this one.

Revision history for this message
Colin Law (colin-law) wrote :

I definitely get no Save warning when I Open New Project after editing previous one, so that suggests it is those threads that are stalled. I have checked carefully that the warning dialog is not hidden under other windows and it is not there.
I will download Precise 64 bit, hopefully I can run it from the live CD without installing it and will see if it works ok for me then.

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

Normally you should have the same that if you close Openshot.

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

I've checked and I must said you have reason. No Warning Dialog. Strange I have always believe that one was present. Something more to add.

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

Could you open a bug report about this subject ?
Thanks.

Revision history for this message
Colin Law (colin-law) wrote :
Revision history for this message
Colin Law (colin-law) wrote :

@Cenwen I have installed Ubuntu Precise 64 bits and openshot with the openshot.developers and kdenlive-release ppas and still see the hanging threads. Can you confirm that if you run openshot from a terminal then File > New Project, Save and File Quit that control returns to the terminal?

If it does then any suggestions what the difference may be between your setup and mine?

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

I've do a go at this one now.
run Openshot around 10 processus, import a file, save it.
I quit and just 3 processus.
I don't know if you have the same thing.

>>If it does then any suggestions what the difference may be between your setup and mine?
I have unfortunately none. I don't see the difference and why this one.

Revision history for this message
Colin Law (colin-law) wrote :

I am not importing a file, the procedure is
Start Openshot from a terminal
File > New Project and Save
File > Quit
Several processes are left running and control does not return to the terminal.

What did you mean when you said "I Quit and just 3 processes"?

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

>>>What did you mean when you said "I Quit and just 3 processes"?

http://pix.toile-libre.org/upload/original/1360343789.png

I hope that more clear now.

Effectively, we can't have the prompt in the terminal after to quit OS.

Changed in openshot:
status: New → Confirmed
importance: Undecided → Low
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.