← Back to team overview

openshot.developers team mailing list archive

[Bug 784254] [NEW] openshot segfaults when changin video speed

 

Public bug reported:

Hi,

When I launch openshot, add a video, change its speed (using Properties
> Speed) and playback, openshot segfaults. The log is

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.3.1)
--------------------------------
Process no longer exists: 31680.  Creating new pid lock file.
[New Thread 0x7fffece3d700 (LWP 32014)]
There were some errors calling melt using os.Popen()
There were some errors calling melt using os.Popen()
There were some errors calling melt using os.Popen()
[New Thread 0x7fffd5865700 (LWP 32018)]
state saved
[New Thread 0x7fffd5064700 (LWP 32019)]
[New Thread 0x7fffd0761700 (LWP 32020)]
[New Thread 0x7fffcff60700 (LWP 32021)]
[New Thread 0x7fffcf75f700 (LWP 32022)]
[Thread 0x7fffd0761700 (LWP 32020) exited]
[Thread 0x7fffcf75f700 (LWP 32022) exited]
[Thread 0x7fffcff60700 (LWP 32021) exited]
[New Thread 0x7fffcff60700 (LWP 32024)]
[New Thread 0x7fffcf75f700 (LWP 32025)]
[New Thread 0x7fffd0761700 (LWP 32026)]
[New Thread 0x7fffd38c6700 (LWP 32027)]
[New Thread 0x7fffd1b97700 (LWP 32028)]
[Thread 0x7fffd1b97700 (LWP 32028) exited]
project modified:  Added file
state saved
project modified:  Added clip
state saved
on_mnuClipProperties_activate
[Thread 0x7fffcf75f700 (LWP 32025) exited]
[Thread 0x7fffd38c6700 (LWP 32027) exited]
[Thread 0x7fffcff60700 (LWP 32024) exited]
[Thread 0x7fffd0761700 (LWP 32026) exited]
on_txtOut_value_changed
on_cboKeyFrame_changed
on_txtHeight_value_changed
on_txtWidth_value_changed
on_txtAlpha_value_changed
on_cboSimpleSpeed_changed
[New Thread 0x7fffcf75f700 (LWP 32029)]
[New Thread 0x7fffd0761700 (LWP 32030)]
[New Thread 0x7fffcff60700 (LWP 32031)]
[Thread 0x7fffcf75f700 (LWP 32029) exited]
[Thread 0x7fffcff60700 (LWP 32031) exited]
[Thread 0x7fffd0761700 (LWP 32030) exited]
[New Thread 0x7fffd0761700 (LWP 32033)]
[New Thread 0x7fffcff60700 (LWP 32034)]
on_frmClipProperties_configure_event
on_frmClipProperties_configure_event
[New Thread 0x7fffcf75f700 (LWP 32035)]
[New Thread 0x7fffd38c6700 (LWP 32036)]
on_cboSimpleSpeed_changed
on_btnClose_clicked
project modified:  Modified clip properties
state saved
[Thread 0x7fffcff60700 (LWP 32034) exited]
[Thread 0x7fffd38c6700 (LWP 32036) exited]
[Thread 0x7fffd0761700 (LWP 32033) exited]
[Thread 0x7fffcf75f700 (LWP 32035) exited]
on_tlbPlay_clicked called with self.GtkToolButton
[New Thread 0x7fffcff60700 (LWP 32038)]
[New Thread 0x7fffcf75f700 (LWP 32039)]
[New Thread 0x7fffd0761700 (LWP 32040)]
[Thread 0x7fffcff60700 (LWP 32038) exited]
[Thread 0x7fffd0761700 (LWP 32040) exited]
[Thread 0x7fffcf75f700 (LWP 32039) exited]
[New Thread 0x7fffcf75f700 (LWP 32042)]
[New Thread 0x7fffd0761700 (LWP 32043)]

Program received signal SIGSEGV, Segmentation fault.

and the stacktrace is

0x00007fffe15955ac in filter_line_sse2 (mode=0, dst=0x7fffc8629380 "", 
    prev=0x7fffc8429320 "\207\207\210\212\213\214\215\215\220\220\220\221\222\222\222\223\224\224\225\225\226\227\227\230\233\233\234\234\235\236\236\237\240\240\241\241\242\243\243\244\243\244\244\245\246\246\247\247\252\251\251\250\247\246\245\245\251\251\251\251\251\251\251\251\255\255\255\255\255\254\254\254\255\255\255\255\255\255\255\255\257\257\257\257\257\257\257\257\260\260\260\260\260\260\260\260\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\263\263\263\263\263\263\263\263\262\262\262\262\262\262\262\262\260\260\260\260\260\260\260\260\261\261\260\260\257\256\256\255\256\256\256\256\256\256\256\256\254\254\254\254\254\254\254\254\257\256\254\252\251\252\252\253\250\251\251\252\253\253\254\254\255\255\254\254\253\252\252\251\250\250\247\247\246\245\245\244"..., 
    cur=0x7fffc8369300 "\207\207\210\212\213\214\215\215\220\220\220\221\222\222\222\223\224\224\225\225\226\227\227\230\233\233\234\234\235\236\236\237\240\240\241\241\242\243\243\244\243\244\244\245\246\246\247\247\252\251\251\250\247\246\245\245\251\251\251\251\251\251\251\251\255\255\255\255\255\254\254\254\255\255\255\255\255\255\255\255\257\257\257\257\257\257\257\257\260\260\260\260\260\260\260\260\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\263\263\263\263\263\263\263\263\262\262\262\262\262\262
\262\262\260\260\260\260\260\260\260\260\261\261\260\260\257\256\256\255\256\256\256\256\256\256\256\256\254\254\254\254\254\254\254\254\257\256\254\252\251\252\252\253\250\251\251\252\253\253\254\254\255\255\254\254\253\252\252\251\250\250\247\247\246\245\245\244"..., 
    next=0x7fffc8529350 "\207\207\210\212\213\214\215\215\220\220\220\221\222\222\222\223\224\224\225\225\226\227\227\230\233\233\234\234\235\236\236\237\240\240\241\241\242\243\243\244\243\244\244\245\246\246\247\247\252\251\251\250\247\246\245\245\251\251\251\251\251\251\251\251\255\255\255\255\255\254\254\254\255\255\255\255\255\255\255\255\257\257\257\257\257\257\257\257\260\260\260\260\260\260\260\260\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\263\263\263\263\263\263\263\263\262\262\262\262\262\262\262\262\260\260\260\260\260\260\260\260\261\261\260\260\257\256\256\255\256\256\256\256\256\256\256\256\254\254\254\254\254\254\254\254\257\256\254\252\251\252\252\253\250\251\251\252\253\253\254\254\255\255\254\254\253\252\252\251\250\250\247\247\246\245\245\244"..., w=<value optimized out>, refs=640, parity=0)
    at vf_yadif_template.h:234
234	vf_yadif_template.h: No such file or directory.
	in vf_yadif_template.h

Interestingly, when I run "melt framebuffer:x.avi?2" I get the same
error (and stacktrace). However, if I specify a profile, for instance
"melt -profile square_ntsc framebuffer:x.avi?2", the video plays at
double speed as expected. I found this out by browsing on the net, but I
don't know much about melt internals. Isn't openshot supposed to specify
the profile when using framebuffer?

Thanks!

** Affects: openshot
     Importance: Undecided
         Status: New

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

Title:
  openshot segfaults when changin video speed

Status in OpenShot Video Editor:
  New

Bug description:
  Hi,

  When I launch openshot, add a video, change its speed (using
  Properties > Speed) and playback, openshot segfaults. The log is

  ------------------------- ERROR 1 ------------------------------
  Failed to import 'from openshot import main'
  Error Message: cannot import name main
  ----------------------------------------------------------------
  --------------------------------
     OpenShot (version 1.3.1)
  --------------------------------
  Process no longer exists: 31680.  Creating new pid lock file.
  [New Thread 0x7fffece3d700 (LWP 32014)]
  There were some errors calling melt using os.Popen()
  There were some errors calling melt using os.Popen()
  There were some errors calling melt using os.Popen()
  [New Thread 0x7fffd5865700 (LWP 32018)]
  state saved
  [New Thread 0x7fffd5064700 (LWP 32019)]
  [New Thread 0x7fffd0761700 (LWP 32020)]
  [New Thread 0x7fffcff60700 (LWP 32021)]
  [New Thread 0x7fffcf75f700 (LWP 32022)]
  [Thread 0x7fffd0761700 (LWP 32020) exited]
  [Thread 0x7fffcf75f700 (LWP 32022) exited]
  [Thread 0x7fffcff60700 (LWP 32021) exited]
  [New Thread 0x7fffcff60700 (LWP 32024)]
  [New Thread 0x7fffcf75f700 (LWP 32025)]
  [New Thread 0x7fffd0761700 (LWP 32026)]
  [New Thread 0x7fffd38c6700 (LWP 32027)]
  [New Thread 0x7fffd1b97700 (LWP 32028)]
  [Thread 0x7fffd1b97700 (LWP 32028) exited]
  project modified:  Added file
  state saved
  project modified:  Added clip
  state saved
  on_mnuClipProperties_activate
  [Thread 0x7fffcf75f700 (LWP 32025) exited]
  [Thread 0x7fffd38c6700 (LWP 32027) exited]
  [Thread 0x7fffcff60700 (LWP 32024) exited]
  [Thread 0x7fffd0761700 (LWP 32026) exited]
  on_txtOut_value_changed
  on_cboKeyFrame_changed
  on_txtHeight_value_changed
  on_txtWidth_value_changed
  on_txtAlpha_value_changed
  on_cboSimpleSpeed_changed
  [New Thread 0x7fffcf75f700 (LWP 32029)]
  [New Thread 0x7fffd0761700 (LWP 32030)]
  [New Thread 0x7fffcff60700 (LWP 32031)]
  [Thread 0x7fffcf75f700 (LWP 32029) exited]
  [Thread 0x7fffcff60700 (LWP 32031) exited]
  [Thread 0x7fffd0761700 (LWP 32030) exited]
  [New Thread 0x7fffd0761700 (LWP 32033)]
  [New Thread 0x7fffcff60700 (LWP 32034)]
  on_frmClipProperties_configure_event
  on_frmClipProperties_configure_event
  [New Thread 0x7fffcf75f700 (LWP 32035)]
  [New Thread 0x7fffd38c6700 (LWP 32036)]
  on_cboSimpleSpeed_changed
  on_btnClose_clicked
  project modified:  Modified clip properties
  state saved
  [Thread 0x7fffcff60700 (LWP 32034) exited]
  [Thread 0x7fffd38c6700 (LWP 32036) exited]
  [Thread 0x7fffd0761700 (LWP 32033) exited]
  [Thread 0x7fffcf75f700 (LWP 32035) exited]
  on_tlbPlay_clicked called with self.GtkToolButton
  [New Thread 0x7fffcff60700 (LWP 32038)]
  [New Thread 0x7fffcf75f700 (LWP 32039)]
  [New Thread 0x7fffd0761700 (LWP 32040)]
  [Thread 0x7fffcff60700 (LWP 32038) exited]
  [Thread 0x7fffd0761700 (LWP 32040) exited]
  [Thread 0x7fffcf75f700 (LWP 32039) exited]
  [New Thread 0x7fffcf75f700 (LWP 32042)]
  [New Thread 0x7fffd0761700 (LWP 32043)]

  Program received signal SIGSEGV, Segmentation fault.

  and the stacktrace is

  0x00007fffe15955ac in filter_line_sse2 (mode=0, dst=0x7fffc8629380 "", 
      prev=0x7fffc8429320 "\207\207\210\212\213\214\215\215\220\220\220\221\222\222\222\223\224\224\225\225\226\227\227\230\233\233\234\234\235\236\236\237\240\240\241\241\242\243\243\244\243\244\244\245\246\246\247\247\252\251\251\250\247\246\245\245\251\251\251\251\251\251\251\251\255\255\255\255\255\254\254\254\255\255\255\255\255\255\255\255\257\257\257\257\257\257\257\257\260\260\260\260\260\260\260\260\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\263\263\263\263\263\263\263\263\262\262\262\262\262\262\262\262\260\260\260\260\260\260\260\260\261\261\260\260\257\256\256\255\256\256\256\256\256\256\256\256\254\254\254\254\254\254\254\254\257\256\254\252\251\252\252\253\250\251\251\252\253\253\254\254\255\255\254\254\253\252\252\251\250\250\247\247\246\245\245\244"..., 
      cur=0x7fffc8369300 "\207\207\210\212\213\214\215\215\220\220\220\221\222\222\222\223\224\224\225\225\226\227\227\230\233\233\234\234\235\236\236\237\240\240\241\241\242\243\243\244\243\244\244\245\246\246\247\247\252\251\251\250\247\246\245\245\251\251\251\251\251\251\251\251\255\255\255\255\255\254\254\254\255\255\255\255\255\255\255\255\257\257\257\257\257\257\257\257\260\260\260\260\260\260\260\260\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\263\263\263\263\263\263\263\263\262\262\262\262\262\262
  \262\262\260\260\260\260\260\260\260\260\261\261\260\260\257\256\256\255\256\256\256\256\256\256\256\256\254\254\254\254\254\254\254\254\257\256\254\252\251\252\252\253\250\251\251\252\253\253\254\254\255\255\254\254\253\252\252\251\250\250\247\247\246\245\245\244"..., 
      next=0x7fffc8529350 "\207\207\210\212\213\214\215\215\220\220\220\221\222\222\222\223\224\224\225\225\226\227\227\230\233\233\234\234\235\236\236\237\240\240\241\241\242\243\243\244\243\244\244\245\246\246\247\247\252\251\251\250\247\246\245\245\251\251\251\251\251\251\251\251\255\255\255\255\255\254\254\254\255\255\255\255\255\255\255\255\257\257\257\257\257\257\257\257\260\260\260\260\260\260\260\260\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\261\263\263\263\263\263\263\263\263\262\262\262\262\262\262\262\262\260\260\260\260\260\260\260\260\261\261\260\260\257\256\256\255\256\256\256\256\256\256\256\256\254\254\254\254\254\254\254\254\257\256\254\252\251\252\252\253\250\251\251\252\253\253\254\254\255\255\254\254\253\252\252\251\250\250\247\247\246\245\245\244"..., w=<value optimized out>, refs=640, parity=0)
      at vf_yadif_template.h:234
  234	vf_yadif_template.h: No such file or directory.
  	in vf_yadif_template.h

  Interestingly, when I run "melt framebuffer:x.avi?2" I get the same
  error (and stacktrace). However, if I specify a profile, for instance
  "melt -profile square_ntsc framebuffer:x.avi?2", the video plays at
  double speed as expected. I found this out by browsing on the net, but
  I don't know much about melt internals. Isn't openshot supposed to
  specify the profile when using framebuffer?

  Thanks!


Follow ups

References