linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #10602
[Bug 1299306] Re: destruction of unsaved data with segment fault in mlt
Attempted to run mlt.Producer in a separate Process:
Replacing in classes/video.py:
# Create the producer
self.p = mlt.Producer( self.profile, 'xml:%s' % self.file_name)
With these lines:
# Create the producer
def mlt_producer(q, profile, file_name):
result = mlt.Producer(profile, file_name)
q.put(result)
q = Queue()
p = Process(target=mlt_producer, args=(q, self.profile, 'xml:%s' % self.file_name))
p.start()
self.p = q.get()
p.join()
And received this error message:
PicklingError: Can't pickle <type 'SwigPyObject'>: attribute lookup
__builtin__.SwigPyObject failed
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1299306
Title:
destruction of unsaved data with segment fault in mlt
Status in OpenShot Video Editor:
New
Bug description:
OpenShot will crash and destroy any unsaved data when changing the
current position in the timeline, such as going forward, backward or
attempting to scrub through the timeline when there has been a change
in position of any clips that will reload them.
Architecture : 64 bits
Operating System & version: Ubuntu 12.04
Installation Method : Custom PPA from http://ppa.launchpad.net/openshot.developers/ppa/ubuntu precise main
Version of Openshot installed : 1.4.3
MLT/melt version: 0.7.7
FFmpeg (i.e.libavcodec) version :53.35.0
FFmpeg installation : /usr/bin/ffmpeg
Here is output during and just before the crash:
on_tlbNextMarker_clicked
[mp3 @ 0x1acfa3c0] max_analyze_duration reached
[mp3 @ 0x1584ea40] max_analyze_duration reached
[mp3 @ 0xc7a25a0] max_analyze_duration reached
[mp3 @ 0xc7a25a0] Estimating duration from bitrate, this may be inaccurate
[mp3 @ 0xc7a6160] max_analyze_duration reached
[mp3 @ 0xc7a6160] Estimating duration from bitrate, this may be inaccurate
[ogg @ 0x18afa940] max_analyze_duration reached
[ogg @ 0x11d7e920] max_analyze_duration reached
[ogg @ 0x18afd5e0] max_analyze_duration reached
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1434b6e0] max_analyze_duration reached
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x21f80d40] max_analyze_duration reached
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x21f87560] max_analyze_duration reached
[ogg @ 0x160a75a0] max_analyze_duration reached
[ogg @ 0x1433e8c0] max_analyze_duration reached
[ogg @ 0x1061d3a0] max_analyze_duration reached
[ogg @ 0x10621740] max_analyze_duration reached
[matroska,webm @ 0xf4fb000] Estimating duration from bitrate, this may be inaccurate
[matroska,webm @ 0xf524500] Estimating duration from bitrate, this may be inaccurate
[matroska,webm @ 0xf526620] Estimating duration from bitrate, this may be inaccurate
[matroska,webm @ 0xf527aa0] Estimating duration from bitrate, this may be inaccurate
Segmentation fault
I've been able to identify that this crash is happening in this route:
self.project.RefreshXML() in MainGTK.py
self.form.MyVideo.load_xml in project.py
mlt.Producer in load_xml in video.py
To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1299306/+subscriptions
References