← Back to team overview

openshot.developers team mailing list archive

Re: Segmentation Fault: any ideas?

 

Hi TJ,

I've been running through the code I have for version 0.9.25

The only thing that has occurred to me is this:

When you refactored to use ~/.openhot/westley.xml the original location
was ~/openshot/main/westley.xml

Did you create the ~/.openshot/main directory?

The pid.lock file goes in ~/openshot/main/pid.lock in the version I am
using. If you have not refactored this location then it might be causing
problems.

Also the access to the sub-directories that OpenShot writes to such as
thumbnail titles etc

Only things I can think of at the moment.

Best wishes, Helen



On Sat, 2009-08-29 at 16:13 +0100, TJ wrote:
> 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
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers
> Post to     : openshot.developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openshot.developers
> More help   : https://help.launchpad.net/ListHelp
> 





Follow ups

References