Very frequent crashes with v1.22 an Ubuntu 10.10

Bug #670305 reported by Mario B.
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Expired
Undecided
Unassigned

Bug Description

I start using OpenShot with a very fresh install of Ubuntu 10.10. I used the package manager to install OpenShot.

It is not possible to work properly because of very frequent crashes. I added a 640x480 avi video (from my photo camera) and some newly created SVG images. After that I added some fading effects ("left to right" and "right to left") and played with moving and resizing SVGs and effects. Just clicking around like that, OpenShot crashes in less than 2 minutes of working. The window just closes. If you start OpenShot within a terminal it just outputs "segmentation fault" when the crash happens. This behavior is 100% reproducible but one can't say when exactly the crash will happen. Sometimes it happens when you resize something, sometimes when you drag an effect or image to the timeline, sometimes when you start playing the preview.

First, I thought is was an issue with the zoom somehow because there are some more bugs when zooming to "1 second". Unfortunately the crashes happen with every zoom level.

I add an openshot.debug, if that helps.

Tags: segfault
Revision history for this message
Mario B. (boonekamp-deactivatedaccount-deactivatedaccount) wrote :
Revision history for this message
Olivier Girard (eolinwen) wrote :

Hi,
Very strange same if i have not yet installed Marverick. Openshot is the opposite, very stable and not crahsed all the time like you are describe here.
I have seen that you have the 0.5.6 version of MLT. I suppose that the official version in Marverick and You should update at the 0.5.10 either compile it, either using the sunab PPA. This version is certainly the best than the MLT team have produced and resolve a lot of problems. It is all benefits for you.
What is your version of libcairo2 ?
sudo apt-cache policy libcairo2
Have you all your dependencies like here (http://openshotusers.com/forum/viewtopic.php?f=12&t=372) I know it is for Lucid but there is not a lot of changing.

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

Hi cenwen,

thank you for the reply. I didn't check the dependencies, because I thought that's what a package manager is for. I followed your hint, added the sunab PPA and updated to libmlt2 0.5.10. After playing around a minute, I added two tracks and *hocuspocus* OpenShot crashed and the window disappeared silently.

The version of libcairo2 is 1.10.0-1ubuntu2.

Maybe there's no issue with prior Ubuntu versions. I see this behavior in a virtual machine (Maverick with VirtualBox) as well.

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

A small update: I figured out that the crashes happen with that avi files from my camera (> 600 MB). It doesn't seem to happen with a small mpeg1 file. But: I worked on that avi file for the last hour without a crash. Everything was ok since I disabled video for this track.

Any ideas what's going wrong here?

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

No, none idea. I have working with a AVCHD file (>1 Go) without problem but i am yet on Lucid. Perhaps, that can explain this.

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

I have had a feedback wh have given me an idea. It is so tiny but we could try it. Remove Openshot with synaptic, remove the secret folder (by rm .openshot) and install the PPA of the project (by sudo add-apt-repository ppa:jonoomph/openshot-edge => more explanations here if needed : sudo add-apt-repository ppa:jonoomph/openshot-edge). After an update, re-install Openshot with the help of the PPA and try again.
Thanks.

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

Nice try cenwen, but no, unfortunatly that doesn't help either. OpenShot crashed after 5 minutes of working. Meanwhile CPU went to 100% when I was working at a zoom level of 2 seconds.

At least I noticed a difference between this version and the original package: With the original package I had to wait 1-2 seconds after stopping playback before I could move the play-head to another position. This issue seems to be fixed.

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

At least I noticed a difference between this version and the original package: With the original package I had to wait 1-2 seconds after stopping playback before I could move the play-head to another position. This issue seems to be fixed.

Normally, no and like you see a difference between them i am a bit surprised. There are identical
Another thing about the zoom bar. On this version and on Marverick and Archlinux, a new bug is appear (in fact two ...... nasty bugs) One concern the zoom bar. Some modifications in MLT have done and need a modification of our code. And when you use it for increase (and decrease too for an user) cause a lot of things (display in the timeline, impossible to move some clips,..)

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

@Mario F - please follow the instructions here using one of the avi files that causes openshot to crash:

https://answers.launchpad.net/openshot/+faq/983

Revision history for this message
Mario B. (boonekamp-deactivatedaccount-deactivatedaccount) wrote :
Download full text (5.5 KiB)

1) Does the video play and seek correctly with "ffplay"?
Yes, it does. No problems at all while hacking the keyboard like a crazy woodpecker.

2) Does the video play and seek correctly with "melt"?
See 1).

3) Please include details on the video file (using the following command): ffmpeg -i 'MyVideo.mp4'
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct 5 2010 22:35:47 with gcc 4.4.5
  configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  WARNING: library configuration mismatch
  libavutil configuration: --extra-version=4:0.6-2ubuntu3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  libavcodec configuration: --extra-version=4:0.6-2ubuntu3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  libavformat configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  libavdevice configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov ...

Read more...

tags: added: segfault
Andy Finch (fincha)
Changed in openshot:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenShot Video Editor because there has been no activity for 60 days.]

Changed in openshot:
status: Incomplete → Expired
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.