Openshot crashes with segfault

Bug #442589 reported by Martin G Miller
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Invalid
Undecided
Unassigned

Bug Description

Since trying the ppa install which killed vlc and totem, I have managed to get those apps working again, but now openshot, which is installed from the newest .deb has become totally unstable. If i start a new project, put in 1 .mp3 audio clip and then drag the echo effect onto it, nothing happens. There is no sign of the effect anywhere. I then try dragging the echo effect to it again and there is still no sign of it. If I then click to play the clip, Openshot crashes.

I did get it to work with the blur effect on a video clip, but putting the echo clip on an .mp3 will crash it every time.

This is the 32 bit version running in 32 bit Ubuntu 9.04

I ran it in a terminal and this is the output:
marty@tux:~$ openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 0.9.43)
--------------------------------
/usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
ALREADY HAS EFFECT... EXITING
on_tlbPlay_clicked called with self.tlbPlay
GenerateXML for an Effect
Segmentation fault
marty@tux:~$

Here is the output from using blur in a video clip and echo in an audio clip:
marty@tux:~$ openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 0.9.43)
--------------------------------
/usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
on_tlbPlay_clicked called with self.tlbPlay
on_tlbPlay_clicked called with self.tlbPlay
on_mnuClipProperties_activate
on_txtOut_value_changed
on_cboKeyFrame_changed
on_cboSimpleSpeed_changed
GenerateXML for an Effect
on_treeEffects_button_release_event
on_btnClose_clicked
on_frmClipProperties_destroy
on_tlbPlay_clicked called with self.tlbPlay
GenerateXML for an Effect
on_tlbPlay_clicked called with self.tlbPlay
on_mnuClipProperties_activate
on_txtOut_value_changed
on_cboKeyFrame_changed
on_cboSimpleSpeed_changed
GenerateXML for an Effect
on_treeEffects_button_release_event
on_treeEffects_button_release_event
on_treeEffects_button_release_event
on_btnRemoveEffect_clicked
on_btnClose_clicked
on_frmClipProperties_destroy
on_tlbPlay_clicked called with self.tlbPlay
on_tlbPlay_clicked called with self.tlbPlay
on_tlbPlay_clicked called with self.tlbPlay
on_tlbPlay_clicked called with self.tlbPlay
on_mnuClipProperties_activate
on_txtOut_value_changed
on_cboKeyFrame_changed
on_cboSimpleSpeed_changed
GenerateXML for an Effect
Segmentation fault
marty@tux:~$

Revision history for this message
Jonathan Thomas (jonoomph) wrote : Re: [Openshot.developers] [Bug 442589] [NEW] Openshot crashes with segfault
Download full text (6.6 KiB)

Can you check and see if *sox* is installed?

sudo apt-get install sox

Thanks,
-Jonathan

On Sun, Oct 4, 2009 at 4:17 PM, Martin G Miller <email address hidden>wrote:

> Public bug reported:
>
> Since trying the ppa install which killed vlc and totem, I have managed
> to get those apps working again, but now openshot, which is installed
> from the newest .deb has become totally unstable. If i start a new
> project, put in 1 .mp3 audio clip and then drag the echo effect onto it,
> nothing happens. There is no sign of the effect anywhere. I then try
> dragging the echo effect to it again and there is still no sign of it.
> If I then click to play the clip, Openshot crashes.
>
> I did get it to work with the blur effect on a video clip, but putting
> the echo clip on an .mp3 will crash it every time.
>
> This is the 32 bit version running in 32 bit Ubuntu 9.04
>
> I ran it in a terminal and this is the output:
> marty@tux:~$ openshot
> Added /usr/share/openshot to system path
> --------------------------------
> OpenShot (version 0.9.43)
> --------------------------------
> /usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning:
> gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID'
> failed
> return gtk.glade.XML(self.glade_path, root, domain)
> A new frmMain has been created
> ALREADY HAS EFFECT... EXITING
> on_tlbPlay_clicked called with self.tlbPlay
> GenerateXML for an Effect
> Segmentation fault
> marty@tux:~$
>
> Here is the output from using blur in a video clip and echo in an audio
> clip:
> marty@tux:~$ openshot
> Added /usr/share/openshot to system path
> --------------------------------
> OpenShot (version 0.9.43)
> --------------------------------
> /usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning:
> gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID'
> failed
> return gtk.glade.XML(self.glade_path, root, domain)
> A new frmMain has been created
> on_tlbPlay_clicked called with self.tlbPlay
> on_tlbPlay_clicked called with self.tlbPlay
> on_mnuClipProperties_activate
> on_txtOut_value_changed
> on_cboKeyFrame_changed
> on_cboSimpleSpeed_changed
> GenerateXML for an Effect
> on_treeEffects_button_release_event
> on_btnClose_clicked
> on_frmClipProperties_destroy
> on_tlbPlay_clicked called with self.tlbPlay
> GenerateXML for an Effect
> on_tlbPlay_clicked called with self.tlbPlay
> on_mnuClipProperties_activate
> on_txtOut_value_changed
> on_cboKeyFrame_changed
> on_cboSimpleSpeed_changed
> GenerateXML for an Effect
> on_treeEffects_button_release_event
> on_treeEffects_button_release_event
> on_treeEffects_button_release_event
> on_btnRemoveEffect_clicked
> on_btnClose_clicked
> on_frmClipProperties_destroy
> on_tlbPlay_clicked called with self.tlbPlay
> on_tlbPlay_clicked called with self.tlbPlay
> on_tlbPlay_clicked called with self.tlbPlay
> on_tlbPlay_clicked called with self.tlbPlay
> on_mnuClipProperties_activate
> on_txtOut_value_changed
> on_cboKeyFrame_changed
> on_cboSimpleSpeed_changed
> GenerateXML for an Effect
> Segmentation fault
> marty@tux:~$
>
> ** Affects: openshot
> Importance: Undecided
> Status: New
>
> --
> Openshot crashes ...

Read more...

Revision history for this message
Martin G Miller (mgmiller) wrote :

It says sox is already the newest version:

marty@tux:~$ sudo apt-get install sox
[sudo] password for marty:
Reading package lists... Done
Building dependency tree
Reading state information... Done
sox is already the newest version.
The following packages were automatically installed and are no longer required:
  libgsf-gnome-1-114 gstreamer0.10-plugins-base-dbg libatk1.0-dbg vorbis-tools
  xulrunner-1.9.1-gnome-support libcvaux1 evince-dbg libpango1.0-0-dbg id3v2
  libftgl2 libatspi-dbg jhead frei0r-plugins libalut0 libx264-76
  libgsf-gnome-1-114-dbg gstreamer0.10-plugins-ugly-dbg libfltk1.1
  gstreamer0.10-plugins-good-dbg libgavl1 gnome-panel-dbg libcv1
  libsox-fmt-mp3 libnss3-1d-dbg libgtkhtml3.14-dbg python-setuptools
  libhighgui1 gnome-applets-dbg liboobs-1-4-dbg python-4suite-xml totem-dbg
  gstreamer0.10-gnonlin libmpeg3-1 libgstreamer0.10-0-dbg
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
marty@tux:~$

Revision history for this message
Martin G Miller (mgmiller) wrote :

I have found that adding any effect that has to do with sound, causes the app to crash. Here I have added the "Phaser" effect to a video clip and then right clicked the clip and selected "Properties". Openshot then crashed. Here is the terminal output:

marty@tux:~$ openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 0.9.43)
--------------------------------
/usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
on_mnuOpenProject_activate called with self.mnuOpenProject
A new frmOpenProject has been created
on_mnuClipProperties_activate
on_txtOut_value_changed
on_cboKeyFrame_changed
on_cboSimpleSpeed_changed
GenerateXML for an Effect
Segmentation fault
marty@tux:~$

Revision history for this message
Martin G Miller (mgmiller) wrote :

I have also noticed that all sound in Openshot no longer plays smoothly. Either from the video clip or on any .mp3's I add. The sound breaks up a little bit and seems to have dropouts.

Revision history for this message
Andy Finch (fincha) wrote :

I have the same problem on my main machine with any of the SOX effects.

But I don't get this on a new virtualbox install of Ubuntu using the PPA.

My main machine has had all kinds of package installs for Openshot - the original build wizard, the different versions of the .debs and now the PPA - somewhere there is a conflict cauing the SOX problem but I haven't figured it out yet.

Is the PPA the only install method of Openshot you have installed, or have you used any of the earlier installation methods?

Revision history for this message
Martin G Miller (mgmiller) wrote :

I had only used the .debs without problems up until a few days ago when I tried the PPA.

The PPA created problems in Totem and VLC where they would not play videos at all. It took some time to disable the PPA repository, trying to get the original packages sorted out and getting my Totem and VLC working again.

I have noticed other sound issues as well. A slight crackle plays in my speakers if I am listening to internet radio with rhythmbox and then click on a panel icon. This never used to happen. I also lost all sound in Unreal tournament 2004. This I fixed by sym linking /usr/lib/libopenal.so.1 to the ut2004/System directory as openal.so.

All the weird video and sound things occurred after using the PPA which uninstalled a bunch of things while "upgrading" the dependencies.

I am now back to having Openshot installed from the latest .deb and have disabled the PPA. I have tried reinstalling all the dependency .debs as well, even though they all said everything was already installed.

I don't mind the hassles if it means we finally get a good video editor.

I assume we will get this all sorted out and I will learn more about by audio and video subsystems in the process.

Revision history for this message
Andy Finch (fincha) wrote :

OK, here is what I have done which has fixed the crashing on the SOX effects for me:

NOTE: I am running the install from the PPA, so this is to clean-up the removal of the previous .deb installer.

1. Purge the previous .deb installations - sudo apt-get --purge remove openshot-mlt openshot-ffmpeg openshot-frei0r openshot-x264

2. Use these commands to remove the following files (if they exist):
  sudo rm /usr/lib/python2.6/dist-packages/mlt.py
  sudo rm /usr/lib/python2.6/dist-packages/_mlt.so
  sudo rm /usr/lib/python2.6/dist-packages/mlt_wrap.o

The above files could be under python2.5, this is system dependant.

The issue regarding VLC & Totem has been logged as bug #442761 (https://bugs.launchpad.net/openshot/+bug/442761)

Revision history for this message
Martin G Miller (mgmiller) wrote :

Once they get the PPA fixed so it doesn't kill Totem and VLC, I will try your method.
I have subscribed to bug 442761 so I will know when it's fixed.

Meanwhile, installed from the .debs, it will crash every time with with a SOX effect enabled.

Any chance of getting the .deb installed version fixed?

Thank you for the information.

Revision history for this message
Fernando Gutiérrez Ferrerías (ferguweb) wrote :

Hi all,
First of all my congratulations for the good work with OpenShot. It's becoming a really must have app!!
I'm getting this error when adding an audio effect to a video clip and then trying both to play it or access the effect properties:
on_mnuClipProperties_activate
on_txtOut_value_changed
Traceback (most recent call last):
  File "/usr/share/openshot/windows/ClipProperties.py", line 478, in on_txtOut_value_changed
    local_in = float(self.txtIn.get_text())
ValueError: invalid literal for float(): 0,00000000000
on_cboKeyFrame_changed
on_cboSimpleSpeed_changed
GenerateXML for an Effect
Fallo de segmentación
Thanks

Revision history for this message
Andy Finch (fincha) wrote :

Hi ferguweb,

Please can you log this as a separate bug - this looks like a locale problem which the original bug report is not.

Thanks,
Andy.

Changed in openshot:
status: New → Incomplete
Revision history for this message
Martin G Miller (mgmiller) wrote :

You have the status set as Incomplete.

Is there any other information you need from me to fix the .deb version?

Revision history for this message
Andy Finch (fincha) wrote :

I marked it as incomplete until I can confirm the problem you have with the .deb, and also until you can confirm if my fix works for you - which I know is dependant on a new PPA being released.

Revision history for this message
Alex Watson (alexfromapex) wrote :

I uninstalled everything and re-installed with the PPA and it still crashes on Lucid beta. However, it used to crash when I dragged the effect onto the timeline and dropped it. After I installed Sox as mentioned above it only crashed when I tried to hit play the preview with the new effect. All transitions work for me so it's only the effects.

Andy Finch (fincha)
Changed in openshot:
status: Incomplete → Invalid
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.