← Back to team overview

openshot.developers team mailing list archive

Segmentation Fault: any ideas?

 

I'm getting a SEGFAULT when MyVideo.start() tries to
_start_new_thread(). Any ideas on what the cause might be?

I'm guessing it *may* be the python-mlt wrapper.

I've refactored things so it is using "~/.openshot/westley.xml" which
contains:

<?xml version="1.0" encoding="UTF8"?>
<mlt>
 <tractor id="tractor0">
  <multitrack>
   <playlist id="Background Track">
    <producer id="Background Clip" in="0.0" out="6.0">
     <property name="resource">/usr/share/openshot/images/black.png</property>
    </producer>
   </playlist>
   <playlist id="Track 1"/>
   <playlist id="Track 2"/>
  </multitrack>
  <filter gain="1" in="0" mlt_service="volume" out="7.0" track="0"/>
 </tractor>
</mlt>

"usr/share/openshot/images/black.png" exists.

Here's the debugger's output from stepping:

> /usr/share/openshot/openshot/classes/project.py(202)RefreshXML()
-> self.form.MyVideo.start()
(Pdb) s
--Call--
> /usr/lib/python2.6/threading.py(461)start()
-> def start(self):
(Pdb) n
> /usr/lib/python2.6/threading.py(462)start()
-> if not self.__initialized:
(Pdb) n
> /usr/lib/python2.6/threading.py(464)start()
-> if self.__started.is_set():
(Pdb) n
> /usr/lib/python2.6/threading.py(467)start()
-> self._note("%s.start(): starting thread", self)
(Pdb) n
> /usr/lib/python2.6/threading.py(468)start()
-> _active_limbo_lock.acquire()
(Pdb) n
> /usr/lib/python2.6/threading.py(469)start()
-> _limbo[self] = self
(Pdb) n
> /usr/lib/python2.6/threading.py(470)start()
-> _active_limbo_lock.release()
(Pdb) n
> /usr/lib/python2.6/threading.py(471)start()
-> _start_new_thread(self.__bootstrap, ())
(Pdb) s
Segmentation fault





Follow ups