← Back to team overview

openshot.bugs team mailing list archive

[Bug 1222067] Re: OpenShot crashes when editing then moving or playing clips

 

I'm seeing the same: very often (pretty much guaranteed after just a
couple cuts and moves when using AVI files of about 20-200 MB size,
although I couldn't reproduce it with an .avi file of just ~7.8 MB size)
it crashes with a segfault after having printed (at least the time when
I captured this particular output):

*** Error in `/usr/bin/python': corrupted double-linked list:
0x00007fffa0305b90 ***

More details about my configuration (openshot, library, OS version) plus
backtrace see attached file.

The segfault does *not* seem to happen when editing a (2.5 GB)  .mpeg
file that was written by OpenShot (it was created by merging together a
.ogg sound file that was generated by oggenc and a .dvd video file that
was generated by mencoder tv:// ... -nosound), but happens unavoidably
when editing .avi files that were generated directly by mencoder tv://
with sound. I think the mencoder command line for the latter was (sans
the newlines):

mencoder
tv:// -tv driver=v4l2:device="$VIDEODEV":alsa:adevice="$MANGLEDAUDIOINPUTDEV":amode=1:audiorate=48000:forceaudio:immediatemode=0
-really-quiet
-noskip
-of lavf -lavfopts format=avi
-oac lavc -lavcopts acodec=libmp3lame:abitrate=320
-ovc lavc -lavcopts vcodec=mpeg4:vqmin=1:vqmax=4:lmin=1.0:lmax=4.0:mblmin=1.0:mblmax=4.0:vrc_minrate=1:keyint=100:vmax_b_frames=1
-o "$VIDEOPATH"

Would it help to use matroska instead of avi? (I'll have to upgrade
mencoder to try that.)

I tested the video file that I used most to test the crashes with ffplay
(left and right arrow works fine), melt (h and l work fine), and:

$ ffmpeg -i "pool table-1.avi"
ffmpeg version 0.8.10-6:0.8.10-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
  built on Feb  6 2014 20:53:28 with gcc 4.8.1
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, avi, from 'pool table-1.avi':
  Metadata:
    encoder         : Lavf53.21.1
  Duration: 00:02:03.12, start: 0.000000, bitrate: 3053 kb/s
    Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 320 kb/s
At least one output file must be specified
$

Should I use matroska instead of avi, or should I install some other,
bleeding edge, OS? Or mpeg? (I didn't manage to get both sound and video
in the same mpeg video file directly from mencoder, but perhaps newer
versions of mencoder would do? Or does the mpeg work just because
OpenShot generated it itself?)

BTW here's the GUI program that I wrote to record the video files, from
old video tapes: https://github.com/pflanze/recordvideo

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1222067

Title:
  OpenShot crashes when editing then moving or playing clips

Status in OpenShot Video Editor:
  New

Bug description:
  I'm using OpenShot 1.4.3.  This occurs both in Ubuntu 12.10 and Ubuntu
  13.04.

  Often, if I edit a clip, either by cutting it or moving it, and then I
  try to move the cursor or I click play, OpenShot will crash.  This
  happens almost every single time.

  And every time it crashes, the error message on the console is:

  *** Error in `/usr/bin/python': corrupted double-linked list:
  0x00007f1c152181f0 ***

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1222067/+subscriptions


References