[Kdenlive-devel] little bug

reinhard amersberger Amersberger at t-online.de
Tue Apr 18 10:18:08 UTC 2006


On Monday 17 April 2006 02:09 pm, Marco Gittler wrote:
> i found also a little bug:
>
> move a mp3 onto a sound track and release them.
> move the same mp3  to the same track befor the other (left before) and
> release then.
>
> then kdenlive would crash
>
>

hhmmm, I did the same test, but no crash on my machine, but I have two other 
examples:
But maybe it is better to reproduce the second example at first, since the 
first one sometimes freezing my x server!!

In this first case I also added a mp3 file onto a audio track and dragged the 
same 
file again before the other, but instead of releasing the mouse button I 
dragged the file back to the project list - please don't ask me why I did it, 
I just did it :)) 


here is the second example when a crash happen:

drag a mp3 file onto audio track, drag the clip from the timeline back to 
project list and finally drag the mp3 file again onto an audio track.

below is the complete gdb output of the second example:

ra at linux:/prog/cvs/mlt/mlt++> gdb /opt/kde3/bin/kdenlive
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /opt/kde3/bin/kdenlive
[Thread debugging using libthread_db enabled]
[New Thread 1095516448 (LWP 4773)]
kdenlive: Mlt inited
kdenlive: +++++++++++  Generating scenelist start...  ++++++++++++++++++
kdenlive: Creating new document
kdenlive: deleting contents...
QObject::connect: No such slot QWidget::showPreview(const KURL&)
QObject::connect:  (sender name:   'preview')
QObject::connect:  (receiver name: 'blank')
QObject::connect: No such slot QWidget::clearPreview()
QObject::connect:  (sender name:   'preview')
QObject::connect:  (receiver name: 'blank')
kdenlive: WARNING: Got a request for a changed clip that is not in the 
document : divamp3.mp3
kdenlive: *** DOCUMENT adding clip: divamp3.mp3
kdenlive: WARNING: ================================
kdenlive: WARNING: Creating Clip : <clip name="divamp3.mp3" ><avfile 
url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="0.0000000000" trackend="10.0400000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: WARNING: DocClipRef::createClip() tag = avfile
kdenlive: WARNING: DocClipRef::createClip() tag = position
kdenlive: WARNING: DocClipRef::createClip() tag = markers
kdenlive: *************MONITOR Clip Monitor
kdenlive: SET SCENE: <producer id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
kdenlive:

************************************
[New Thread 1116998576 (LWP 4776)]
[New Thread 1119099824 (LWP 4777)]
kdenlive: WARNING: XML is <clip name="divamp3.mp3" ><avfile 
url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="0.0000000000" trackend="10.0400000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: WARNING: Drag enter event
kdenlive: DRAG INSIDE-----------------------------------------
kdenlive: <clip name="divamp3.mp3" >
 <avfile url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="0.0000000000" trackend="10.0400000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: DRAG INSIDE-----------------------------------------
kdenlive: WARNING: ================================
kdenlive: WARNING: Creating Clip : <clip name="divamp3.mp3" >
 <avfile url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="0.0000000000" trackend="10.0400000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: WARNING: DocClipRef::createClip() tag = avfile
kdenlive: WARNING: DocClipRef::createClip() tag = position
kdenlive: WARNING: DocClipRef::createClip() tag = markers
kdenlive: WARNING: ================================
kdenlive: WARNING: Creating Clip : <clip name="divamp3.mp3" ><avfile 
url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="19.5600000000" trackend="29.6000000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: WARNING: DocClipRef::createClip() tag = avfile
kdenlive: WARNING: DocClipRef::createClip() tag = position
kdenlive: WARNING: DocClipRef::createClip() tag = markers
kdenlive: *************MONITOR Clip Monitor
kdenlive: SET SCENE: <producer id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
kdenlive:

************************************
[Thread 1116998576 (LWP 4776) exited]
[Thread 1119099824 (LWP 4777) exited]
[New Thread 1119099824 (LWP 4778)]
[New Thread 1116998576 (LWP 4779)]
kdenlive: +++++++++++  Generating scenelist start...  ++++++++++++++++++
kdenlive: +++++++++++  Generating scenelist end...  ++++++++++++++++++
kdenlive: + + + PROJECT SCENE: <westley>
<producer mlt_service="colour" id="black" />
<producer hide="video" id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
 <tractor>
  <multitrack>
   <playlist>
    <entry in="0" out="890" producer="black" />
   </playlist>
   <playlist id="playlist2" />
   <playlist id="playlist3" />
   <playlist id="playlist4" />
<playlist hide="video" id="playlist0" />
<playlist hide="video" id="playlist1" >
 <blank length="639" />
 <entry in="0" out="250" producer="producer0" />
</playlist>
  </multitrack>
  <clipTransitions>
  </clipTransitions>
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="2" 
out="890" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="3" 
out="890" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="4" 
out="890" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="5" 
out="890" />
 </tractor>
</westley>
kdenlive:
kdenlive: *************MONITOR Document
kdenlive: SET SCENE: <westley>
<producer mlt_service="colour" id="black" />
<producer hide="video" id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
 <tractor>
  <multitrack>
   <playlist>
    <entry in="0" out="890" producer="black" />
   </playlist>
   <playlist id="playlist2" />
   <playlist id="playlist3" />
   <playlist id="playlist4" />
<playlist hide="video" id="playlist0" />
<playlist hide="video" id="playlist1" >
 <blank length="639" />
 <entry in="0" out="250" producer="producer0" />
</playlist>
  </multitrack>
  <clipTransitions>
  </clipTransitions>
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="2" 
out="890" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="3" 
out="890" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="4" 
out="890" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="5" 
out="890" />
 </tractor>
</westley>
kdenlive:

************************************
kdenlive: WARNING: XML is <element>
 <clip master="true" name="divamp3.mp3" ><avfile 
url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
  <position cropstart="0.0000000000" track="3" cropduration="10.0400000000" 
trackstart="25.5600000000" trackend="35.6000000000" />
  <markers/>
 </clip>
</element>
kdenlive:
kdenlive: WARNING: Drag enter event
kdenlive: +++++++++++  Generating scenelist start...  ++++++++++++++++++
kdenlive: +++++++++++  Generating scenelist end...  ++++++++++++++++++
kdenlive: + + + PROJECT SCENE: <westley>
<producer mlt_service="colour" id="black" />
<producer hide="video" id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
 <tractor>
  <multitrack>
   <playlist>
    <entry in="0" out="722" producer="black" />
   </playlist>
   <playlist id="playlist2" />
   <playlist id="playlist3" />
   <playlist id="playlist4" >
    <blank length="471" />
    <entry in="0" out="250" producer="producer0" />
   </playlist>
<playlist hide="video" id="playlist0" />
<playlist hide="video" id="playlist1" />
  </multitrack>
  <clipTransitions>
  </clipTransitions>
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="2" 
out="722" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="3" 
out="722" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="4" 
out="722" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="5" 
out="722" />
 </tractor>
</westley>
kdenlive:
kdenlive: *************MONITOR Document
kdenlive: SET SCENE: <westley>
<producer mlt_service="colour" id="black" />
<producer hide="video" id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
 <tractor>
  <multitrack>
   <playlist>
    <entry in="0" out="722" producer="black" />
   </playlist>
   <playlist id="playlist2" />
   <playlist id="playlist3" />
   <playlist id="playlist4" >
    <blank length="471" />
    <entry in="0" out="250" producer="producer0" />
   </playlist>
<playlist hide="video" id="playlist0" />
<playlist hide="video" id="playlist1" />
  </multitrack>
  <clipTransitions>
  </clipTransitions>
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="2" 
out="722" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="3" 
out="722" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="4" 
out="722" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="5" 
out="722" />
 </tractor>
</westley>
kdenlive:

************************************
kdenlive: DRAG INSIDE-----------------------------------------
kdenlive: <element>
 <clip master="true" name="divamp3.mp3" >
  <avfile url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
  <position cropstart="0.0000000000" track="3" cropduration="10.0400000000" 
trackstart="25.5600000000" trackend="35.6000000000" />
  <markers/>
 </clip>
</element>
kdenlive:
kdenlive: DRAG INSIDE-----------------------------------------
kdenlive: WARNING: XML is <clip name="divamp3.mp3" ><avfile 
url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="0.0000000000" trackend="10.0400000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: WARNING: Drag enter event
kdenlive: DRAG INSIDE-----------------------------------------
kdenlive: <clip name="divamp3.mp3" >
 <avfile url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="0.0000000000" trackend="10.0400000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: DRAG INSIDE-----------------------------------------
kdenlive: WARNING: ================================
kdenlive: WARNING: Creating Clip : <clip name="divamp3.mp3" >
 <avfile url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="0.0000000000" trackend="10.0400000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: WARNING: DocClipRef::createClip() tag = avfile
kdenlive: WARNING: DocClipRef::createClip() tag = position
kdenlive: WARNING: DocClipRef::createClip() tag = markers
[Thread 1119099824 (LWP 4778) exited]
[Thread 1116998576 (LWP 4779) exited]
[New Thread 1116998576 (LWP 4780)]
[New Thread 1119099824 (LWP 4781)]
kdenlive: WARNING: ================================
kdenlive: WARNING: Creating Clip : <clip name="divamp3.mp3" ><avfile 
url="file:///cap/avfiles/mp3/divamp3.mp3" type="1" id="0" />
 <position cropstart="0.0000000000" track="-1" cropduration="10.0400000000" 
trackstart="15.4400000000" trackend="25.4800000000" />
 <markers/>
</clip>
kdenlive:
kdenlive: WARNING: DocClipRef::createClip() tag = avfile
kdenlive: WARNING: DocClipRef::createClip() tag = position
kdenlive: WARNING: DocClipRef::createClip() tag = markers
kdenlive: *************MONITOR Clip Monitor
kdenlive: SET SCENE: <producer id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
kdenlive:

************************************
[Thread 1116998576 (LWP 4780) exited]
[Thread 1119099824 (LWP 4781) exited]
[New Thread 1119099824 (LWP 4782)]
[New Thread 1116998576 (LWP 4783)]
kdenlive: +++++++++++  Generating scenelist start...  ++++++++++++++++++
kdenlive: +++++++++++  Generating scenelist end...  ++++++++++++++++++
kdenlive: + + + PROJECT SCENE: <westley>
<producer mlt_service="colour" id="black" />
<producer hide="video" id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
 <tractor>
  <multitrack>
   <playlist>
    <entry in="0" out="753" producer="black" />
   </playlist>
   <playlist id="playlist2" />
   <playlist id="playlist3" />
   <playlist id="playlist4" />
<playlist hide="video" id="playlist0" />
<playlist hide="video" id="playlist1" >
 <blank length="502" />
 <entry in="0" out="250" producer="producer0" />
</playlist>
  </multitrack>
  <clipTransitions>
  </clipTransitions>
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="2" 
out="753" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="3" 
out="753" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="4" 
out="753" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="5" 
out="753" />
 </tractor>
</westley>
kdenlive:
kdenlive: *************MONITOR Document
kdenlive: SET SCENE: <westley>
<producer mlt_service="colour" id="black" />
<producer hide="video" id="producer0" 
resource="/cap/avfiles/mp3/divamp3.mp3" />
 <tractor>
  <multitrack>
   <playlist>
    <entry in="0" out="753" producer="black" />
   </playlist>
   <playlist id="playlist2" />
   <playlist id="playlist3" />
   <playlist id="playlist4" />
<playlist hide="video" id="playlist0" />
<playlist hide="video" id="playlist1" >
 <blank length="502" />
 <entry in="0" out="250" producer="producer0" />
</playlist>
  </multitrack>
  <clipTransitions>
  </clipTransitions>
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="2" 
out="753" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="3" 
out="753" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="4" 
out="753" />
  <transition combine="1" in="0" a_track="1" mlt_service="mix" b_track="5" 
out="753" />
 </tractor>
</westley>
kdenlive:

************************************

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1095516448 (LWP 4773)]
0x080abfa6 in DocClipRef::fileURL ()
(gdb) fg
Continuing.
KCrash: Application 'kdenlive' crashing...

Program exited with code 0375.



greetings
reinhard




More information about the Kdenlive mailing list