Move tool / transition (SDL bug)

The move tool and transitions have obvious SDL bugs.
I broke Kdenlive 20 times in an hour.

The bugs are not reproducable.
But they only happen when moving several objects and moving cursors on transitions.

I don't think a trace will help much as it seems to be SDL based,
but I will do my best to provide a GDB trace log.

Kind regards,
Jean-Michel

Forums:

Happens when moving cursor by hand.

Quote:
[Thread 1082132816 (LWP 10190) exited]
[New Thread 1082132816 (LWP 10197)]
[New Thread 1115703632 (LWP 10200)]
[New Thread 1124096336 (LWP 10202)]
[New Thread 1132489040 (LWP 10204)]
[Thread 1132489040 (LWP 10204) exited]
[Thread 1082132816 (LWP 10197) exited]
[Thread 1124096336 (LWP 10202) exited]
[Thread 1115703632 (LWP 10200) exited]
[New Thread 1115703632 (LWP 10214)]
[Thread 1115703632 (LWP 10214) exited]
[Thread 1090525520 (LWP 10191) exited]
[New Thread 1090525520 (LWP 10223)]
[New Thread 1115703632 (LWP 10224)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090525520 (LWP 10223)]
0x00002b9e6fee9e08 in QImage::scanLine (this=0x970e40, i=210)
at kernel/qimage.h:400
400 kernel/qimage.h: No such file or directory.
in kernel/qimage.h
(gdb) trace
trace command requires an argument
(gdb) bt
#0 0x00002b9e6fee9e08 in QImage::scanLine (this=0x970e40, i=210)
at kernel/qimage.h:400
#1 0x00002b9e6ff64998 in pnmscale (src=@0x970e40, dst=@0x410002c0)
at kernel/qimage.cpp:2548
#2 0x00002b9e6ff7347c in QImage::smoothScale (this=0x970e40, s=@0x41000360,
mode=QImage::ScaleFree) at kernel/qimage.cpp:2802
#3 0x00002b9e6ff735c5 in QImage::smoothScale (this=0x970e40, w=604, h=528,
mode=QImage::ScaleFree) at kernel/qimage.cpp:2775
#4 0x00002aaab26b523c in refresh_qimage (frame=0x2aaab40588a0, width=604,
height=528) at qimage_wrapper.cpp:209
#5 0x00002aaab26b489d in producer_get_image (frame=0x2aaab40588a0,
buffer=0x41000970, format=0x410007e4, width=0x410005f0, height=0x410005f4,
writable=) at producer_qimage.c:81
#6 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab40588a0,
buffer=0x41000970, format=0x410007e4, width=0x410005f0, height=0x410005f4,
writable=1) at mlt_frame.c:257
#7 0x00002aaaabda3abd in filter_get_image (this=0x2aaab40588a0,
image=0x41000970, format=0x410007e4, width=0x410005f0, height=0x410005f4,
writable=1) at filter_deinterlace.c:45
#8 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab40588a0,
buffer=0x41000970, format=0x410007e4, width=0x410005f0, height=0x410005f4,
writable=1) at mlt_frame.c:257
#9 0x00002b9e7508899c in filter_get_image (this=0x2aaab40588a0,
---Type to continue, or q to quit---
image=0x41000970, format=0x410007e4, width=0x410006fc, height=0x410006f8,
writable=1) at filter_rescale.c:212
#10 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab40588a0,
buffer=0x41000970, format=0x410007e4, width=0x410006fc, height=0x410006f8,
writable=1) at mlt_frame.c:257
#11 0x00002b9e75088d65 in filter_get_image (this=0x2aaab40588a0,
image=0x41000970, format=0x410007e4, width=0x4100097c, height=0x41000978,
writable=1) at filter_resize.c:114
#12 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab40588a0,
buffer=0x41000970, format=0x410007e4, width=0x4100097c, height=0x41000978,
writable=1) at mlt_frame.c:257
#13 0x00002b9e7508a9da in get_b_frame_image (this=0x2aaaaec74460,
b_frame=0x2aaab40588a0, image=0x41000970, width=0x4100097c,
height=0x41000978, geometry=0x41000920) at transition_composite.c:788
#14 0x00002b9e7508c3c4 in transition_get_image (a_frame=0x2aaab4201b70,
image=0x41000bf0, format=0x41000a64, width=0x41000bfc, height=0x41000bf8,
writable=) at transition_composite.c:1092
#15 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab4201b70,
buffer=0x41000bf0, format=0x41000a64, width=0x41000bfc, height=0x41000bf8,
writable=1) at mlt_frame.c:257
#16 0x00002b9e7508a9da in get_b_frame_image (this=0x2aaaaec849f0,
b_frame=0x2aaab4201b70, image=0x41000bf0, width=0x41000bfc,
height=0x41000bf8, geometry=0x41000ba0) at transition_composite.c:788
---Type to continue, or q to quit---
#17 0x00002b9e7508c3c4 in transition_get_image (a_frame=0x2aaab4059b70,
image=0x410010c8, format=0x410010e0, width=0x410010d8, height=0x410010dc,
writable=) at transition_composite.c:1092
#18 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab4059b70,
buffer=0x410010c8, format=0x410010e0, width=0x410010d8, height=0x410010dc,
writable=0) at mlt_frame.c:257
#19 0x00002b9e6d44dfc3 in producer_get_image (this=0x2aaab4201040,
buffer=0x410010c8, format=0x410010e0, width=0x410010d8, height=0x410010dc,
writable=0) at mlt_tractor.c:215
#20 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab4201040,
buffer=0x410010c8, format=0x410010e0, width=0x410010d8, height=0x410010dc,
writable=0) at mlt_frame.c:257
#21 0x00002b9e76a69a04 in filter_get_image (this=0x2aaab4201040,
image=0x410010c8, format=0x410010e0, width=0x410010d8, height=0x410010dc,
writable=) at filter_avcolour_space.c:100
#22 0x00002b9e6d4406c1 in mlt_frame_get_image (this=0x2aaab4201040,
buffer=0x410010c8, format=0x410010e0, width=0x410010d8, height=0x410010dc,
writable=0) at mlt_frame.c:257
#23 0x00002b9e75aee373 in consumer_thread (arg=)
at consumer_sdl_still.c:454
#24 0x00002b9e72269317 in I��H�T$0��uH�r� () from /lib/libpthread.so.0
#25 0x00002b9e7351eafd in ���W���@�����H�.
() from /lib/libc.so.6

Hi Jean-Michel,

I saw this bug mentioned on the kdenlive developers list and thought I'd have a look at it. I havent been able to reproduce it yet though, so I need a bit more information. Does the bug only happen on transitions where one of the clips is an image? (The segfault happened when trying to get a image from the QT image producer from a transition). What size and file type was the image, and what profile have you got set in kdenlive (dv pal, dv ntsc etc)? How were you moving the cursor? (clicking on transitional areas, dragging the cursor etc).

Also, when configuring MLT for debugging, check the config.mak file before you run make. If the OPTIMISATIONS variable includes the -O4 flag, delete the -O4 bit from that variable. The MLT library includes compilation optimisations by default, and they can sometimes make debugging harder.

Ryan

Dear Effin,

Thanks for the compilation tips.
OPTIMISATIONS=-O4 -pipe -fomit-frame-pointer
So I should delete the -04

:arrow: The bug happens when moving the cursor. In my projects, I usually do not click on "Play" to see the resulting movie. I like to move the cursor around very quickly at different scales (1s, 10 frames, etc ...). Frm what I remember, the crash happened at transitions or between files, but I am not sure. Yesterday I was able to work one hour without crash, because I clicked on "Play" and did not touch the cursor.

:arrow: It also happened when using the move tool (to move groups of files). I moved and Kdenlive crashed several times. Also, after a successful move, I could not add a transition on a file, which implies that somehow the project got corrupted.

These bugs do not seem very important.
Maybe it is high time to release MLT and Kdenlive and debugg in next SVN version.

Today, I will not be able to debug. Only maybe tonight, French time.
Thank you again very much for your help Effin, I will write you later.

Kind regards,
Jean-Michel

Sorry, effin, after removing the optimization, Kdenlive display became very slow.
So I compiled MLT with the normal optimization parameters.

I could reproduce another bug. As it seems to be SDL based, I answer this post.
I did not use the Move tool in this bug, only titles and transitions :

In the beginning of the movie, I display a title using two Gimp files : title.xcf and title2.xcf.
Transitions display the titles progressively.

When moving the cursor by hand on title.xcf and title2.xcf and the transitions in the edit monitor, Kdenlive crashes.

Here is a GDB bracktrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082132816 (LWP 12180)]
0x00002b0986394e08 in QImage::scanLine (this=0x2aaaac03c210, i=390) at kernel/qimage.h:400
400     kernel/qimage.h: No such file or directory.
        in kernel/qimage.h
(gdb) thread apply all bt

Thread 15 (Thread 1090525520 (LWP 12181)):
#0  0x00002b09838f005f in mlt_properties_set_position (this=0x2aaaac3d3300, name=0x2b09838fbd28 "out", value=1041) at mlt_properties.c:283
#1  0x00002b09838f1e6a in mlt_service_get_frame (this=0xbd1e50, frame=0xa21278, index=) at mlt_service.c:383
#2  0x00002b09838f860d in transition_get_frame (service=, frame=0xb4f528, index=1) at mlt_transition.c:231
#3  0x00002b09838f1de4 in mlt_service_get_frame (this=0xd515d0, frame=0xb4f528, index=1) at mlt_service.c:374
#4  0x00002b09838f860d in transition_get_frame (service=, frame=0xc22bc8, index=1) at mlt_transition.c:231
#5  0x00002b09838f1de4 in mlt_service_get_frame (this=0xc274a0, frame=0xc22bc8, index=1) at mlt_service.c:374
#6  0x00002b09838f860d in transition_get_frame (service=, frame=0x41000e88, index=0) at mlt_transition.c:231
#7  0x00002b09838f1de4 in mlt_service_get_frame (this=0xd45dd0, frame=0x41000e88, index=0) at mlt_service.c:374
#8  0x00002b09838f929c in producer_get_frame (parent=0xc17e70, frame=0x410010b8, track=) at mlt_tractor.c:323
#9  0x00002b09838f2e51 in producer_get_frame (service=0xc17e70, frame=0x410010b8, index=0) at mlt_producer.c:437
#10 0x00002b09838f1de4 in mlt_service_get_frame (this=0xc17e70, frame=0x410010b8, index=0) at mlt_service.c:374
#11 0x00002b09838f2fb1 in producer_get_frame (service=, frame=0x410010b8, index=0) at mlt_producer.c:489
#12 0x00002b09838f1de4 in mlt_service_get_frame (this=0xb84330, frame=0x410010b8, index=0) at mlt_service.c:374
#13 0x00002b09838f1de4 in mlt_service_get_frame (this=0x2aaaac0fd170, frame=0x410010b8, index=0) at mlt_service.c:374
#14 0x00002b09838f7207 in mlt_consumer_get_frame (this=0x2aaaac0fd170) at mlt_consumer.c:309
#15 0x00002b098bf98916 in consumer_thread (arg=) at consumer_sdl_preview.c:284
#16 0x00002b0988714317 in I��H�T$0��uH�r�  () from /lib/libpthread.so.0
#17 0x00002b09899c9afd in ���W���@�����H�.
 () from /lib/libc.so.6
Current language:  auto; currently c

Thread 14 (Thread 1082132816 (LWP 12180)):
#0  0x00002b0986394e08 in QImage::scanLine (this=0x2aaaac03c210, i=390) at kernel/qimage.h:400
#1  0x00002b098640f998 in pnmscale (src=@0x2aaaac03c210, dst=@0x407ff2c0) at kernel/qimage.cpp:2548
#2  0x00002b098641e47c in QImage::smoothScale (this=0x2aaaac03c210, s=@0x407ff360, mode=QImage::ScaleFree) at kernel/qimage.cpp:2802
#3  0x00002b098641e5c5 in QImage::smoothScale (this=0x2aaaac03c210, w=604, h=528, mode=QImage::ScaleFree) at kernel/qimage.cpp:2775
#4  0x00002aaab26b523c in refresh_qimage (frame=0x2aaaac0f1cd0, width=604, height=528) at qimage_wrapper.cpp:209
#5  0x00002aaab26b489d in producer_get_image (frame=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=) at producer_qimage.c:81
#6  0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=1) at mlt_frame.c:257
#7  0x00002aaaabd68abd in filter_get_image (this=0x2aaaac0f1cd0, image=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=1) at filter_deinterlace.c:45
#8  0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=1) at mlt_frame.c:257
#9  0x00002b098b53399c in filter_get_image (this=0x2aaaac0f1cd0, image=0x407ff970, format=0x407ff7e4, width=0x407ff6fc, height=0x407ff6f8, writable=1) at filter_rescale.c:212
#10 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff6fc, height=0x407ff6f8, writable=1) at mlt_frame.c:257
#11 0x00002b098b533d65 in filter_get_image (this=0x2aaaac0f1cd0, image=0x407ff970, format=0x407ff7e4, width=0x407ff97c, height=0x407ff978, writable=1) at filter_resize.c:114
#12 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff97c, height=0x407ff978, writable=1) at mlt_frame.c:257
#13 0x00002b098b5359da in get_b_frame_image (this=0xd28da0, b_frame=0x2aaaac0f1cd0, image=0x407ff970, width=0x407ff97c, height=0x407ff978, geometry=0x407ff920) at transition_composite.c:788
#14 0x00002b098b5373c4 in transition_get_image (a_frame=0x2aaaac288ab0, image=0x407ffbf0, format=0x407ffa64, width=0x407ffbfc, height=0x407ffbf8, writable=) at transition_composite.c:1092
#15 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac288ab0, buffer=0x407ffbf0, format=0x407ffa64, width=0x407ffbfc, height=0x407ffbf8, writable=1) at mlt_frame.c:257
#16 0x00002b098b5359da in get_b_frame_image (this=0xc5b2e0, b_frame=0x2aaaac288ab0, image=0x407ffbf0, width=0x407ffbfc, height=0x407ffbf8, geometry=0x407ffba0) at transition_composite.c:788
#17 0x00002b098b5373c4 in transition_get_image (a_frame=0x2aaaac057150, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=) at transition_composite.c:1092
#18 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac057150, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
#19 0x00002b09838f8fc3 in producer_get_image (this=0x2aaaac288a10, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_tractor.c:215
#20 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac288a10, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
#21 0x00002b098cf14a04 in filter_get_image (this=0x2aaaac288a10, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=) at filter_avcolour_space.c:100
#22 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac288a10, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
#23 0x00002b098bf99373 in consumer_thread (arg=) at consumer_sdl_still.c:454
#24 0x00002b0988714317 in I��H�T$0��uH�r�  () from /lib/libpthread.so.0
#25 0x00002b09899c9afd in ���W���@�����H�.
 () from /lib/libc.so.6
Current language:  auto; currently c++

Thread 1 (Thread 47319977947280 (LWP 12137)):
#0  0x00002b09899c0bc6 in �s\I1�M       �I��uQH�H�H�H�I��M�s;I1�M    �I��u0H�H�H�H�I��M�sI1�M    �I��uH�H��s��� () from /lib/libc.so.6
#1  0x00002b098812ad6f in _XWaitForReadable (dpy=0x8685d0) at ../../src/XlibInt.c:498
#2  0x00002b098812b182 in _XRead (dpy=0x8685d0, data=0x7fff273e5840 "]", size=32) at ../../src/XlibInt.c:1087
#3  0x00002b098812bbc1 in _XReply (dpy=0x8685d0, rep=0x7fff273e5840, extra=0, discard=1) at ../../src/XlibInt.c:1714
#4  0x00002b0988125073 in XTranslateCoordinates (dpy=0x8685d0, src_win=99, dest_win=39846217, src_x=306, src_y=658, dst_x=0x7fff273e58cc, dst_y=0x7fff273e58c8, child=0x7fff273e58c0) at ../../src/TrCoords.c:51
#5  0x00002b09863ac9b1 in QWidget::mapFromGlobal (this=0xa2a3f0, pos=@0x7fff273e5e58) at kernel/qwidget_x11.cpp:943
#6  0x00002b0986599d1f in QTipManager::eventFilter (this=0x8c8da0, obj=0xa2a3f0, e=0x7fff273e5e40) at widgets/qtooltip.cpp:420
#7  0x00002b09863de641 in QApplication::internalNotify (this=0x7fff273e6740, receiver=0xa2a3f0, e=0x7fff273e5e40) at kernel/qapplication.cpp:2568
#8  0x00002b09863e09c5 in QApplication::notify (this=0x7fff273e6740, receiver=0xa2a3f0, e=0x7fff273e5e40) at kernel/qapplication.cpp:2421
#9  0x00002b09852543f8 in KApplication::notify (this=0x7fff273e6740, receiver=0xa2a3f0, event=0x7fff273e5e40) at /build/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550
#10 0x00002b0986371864 in QApplication::sendSpontaneousEvent (receiver=0xa2a3f0, event=0x7fff273e5e40) at kernel/qapplication.h:523
#11 0x00002b098637048b in QETWidget::translateMouseEvent (this=0xa2a3f0, event=0x7fff273e63e0) at kernel/qapplication_x11.cpp:4301
#12 0x00002b098636e7e7 in QApplication::x11ProcessEvent (this=0x7fff273e6740, event=0x7fff273e63e0) at kernel/qapplication_x11.cpp:3478
#13 0x00002b098638493f in QEventLoop::processEvents (this=0x892f10, flags=4) at kernel/qeventloop_x11.cpp:192
#14 0x00002b09863f7e27 in QEventLoop::enterLoop (this=0x892f10) at kernel/qeventloop.cpp:198
#15 0x00002b09863f7c2f in QEventLoop::exec (this=0x892f10) at kernel/qeventloop.cpp:145
#16 0x00002b09863e0324 in QApplication::exec (this=0x7fff273e6740) at kernel/qapplication.cpp:2758
#17 0x0000000000503e36 in main (argc=1, argv=0x7fff273e6b88) at main.cpp:107
0x00002b0986394e08      400     in kernel/qimage.h
(gdb) where full
#0  0x00002b0986394e08 in QImage::scanLine (this=0x2aaaac03c210, i=390) at kernel/qimage.h:400
No locals.
#1  0x00002b098640f998 in pnmscale (src=@0x2aaaac03c210, dst=@0x407ff2c0) at kernel/qimage.cpp:2548
        a = 0
        xelrow = (QRgb *) 0x2aaaaccb3590
        tempxelrow = (QRgb *) 0x111f5e0
        xP = (QRgb *) 0x2aaaaccb40d0
        nxP = (QRgb *) 0x15dc36c
        rows = 576
        cols = 720
        rowsread = 391
        newrows = 528
        newcols = 604
        row = 357
        col = 720
        needtoreadrow = 1
        maxval = 255 '�'
        xscale = 0.83888888888888891
        yscale = 0.91666666666666663
        sxscale = 2416
        syscale = 2640
        fracrowtofill = 1440
        fracrowleft = 2640
        as = (long int *) 0xd937a0
        rs = (long int *) 0xefa0f0
        gs = (long int *) 0xefb780
        bs = (long int *) 0xefce10
        rowswritten = 357
        SCALE = 2880
        HALFSCALE = 1440
#2  0x00002b098641e47c in QImage::smoothScale (this=0x2aaaac03c210, s=@0x407ff360, mode=QImage::ScaleFree) at kernel/qimage.cpp:2802
        img = {data = 0xd16970}
        newSize = {wd = 604, ht = 528}
#3  0x00002b098641e5c5 in QImage::smoothScale (this=0x2aaaac03c210, w=604, h=528, mode=QImage::ScaleFree) at kernel/qimage.cpp:2775
No locals.
#4  0x00002aaab26b523c in refresh_qimage (frame=0x2aaaac0f1cd0, width=604, height=528) at qimage_wrapper.cpp:209
        interps = 0x6567616d6971 
scaled = {data = 0x20} temp = {data = 0x2b09838fb6e5} qimage = (QImage *) 0x2aaaac03c210 self = (producer_qimage) 0xbf5ad0 producer_props = use_cache = 0 cache = (mlt_properties) 0x0 update_cache = current_image = (uint8_t *) 0x0 current_alpha = (uint8_t *) 0x0 current_width = current_height = 576 position = image_idx = image_key = "0\000\217\203\t+\000\000��" #5 0x00002aaab26b489d in producer_get_image (frame=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=) at producer_qimage.c:81 properties = image_size = 0 alpha_size = 0 #6 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=1) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2aaab26b4830 error = #7 0x00002aaaabd68abd in filter_get_image (this=0x2aaaac0f1cd0, image=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=1) at filter_deinterlace.c:45 error = deinterlace = #8 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff5f0, height=0x407ff5f4, writable=1) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2aaaabd68a40 error = #9 0x00002b098b53399c in filter_get_image (this=0x2aaaac0f1cd0, image=0x407ff970, format=0x407ff7e4, width=0x407ff6fc, height=0x407ff6f8, writable=1) at filter_rescale.c:212 iwidth = 604 iheight = 528 interps = 0xc643b0 "hyper" properties = filter_properties = (mlt_properties) 0xc44ff0 #10 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff6fc, height=0x407ff6f8, writable=1) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2b098b533800 error = #11 0x00002b098b533d65 in filter_get_image (this=0x2aaaac0f1cd0, image=0x407ff970, format=0x407ff7e4, width=0x407ff97c, height=0x407ff978, writable=1) at filter_resize.c:114 error = properties = aspect_ratio = 2.9841565008811291e-321 owidth = 604 oheight = 528 rescale = #12 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac0f1cd0, buffer=0x407ff970, format=0x407ff7e4, width=0x407ff97c, height=0x407ff978, writable=1) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2b098b533c40 error = #13 0x00002b098b5359da in get_b_frame_image (this=0xd28da0, b_frame=0x2aaaac0f1cd0, image=0x407ff970, width=0x407ff97c, height=0x407ff978, geometry=0x407ff920) at transition_composite.c:788 ret = format = mlt_image_yuv422 b_props = properties = resize_alpha = 0 '\0' #14 0x00002b098b5373c4 in transition_get_image (a_frame=0x2aaaac288ab0, image=0x407ffbf0, format=0x407ffa64, width=0x407ffbfc, height=0x407ffbf8, writable=) at transition_composite.c:1092 dest = progressive = luma_softness = luma_bitmap = operator = line_fn = field = b_props = width_b = 604 height_b = 576 alpha_b = (uint8_t *) 0x0 rescale = 0x9b1c30 "hyper" a_props = result = {item = {key = 0, frame = 14, distort = 0, x = 30.5, y = 0, w = 720, h = 576, mix = 71.4285736, f = {72, 0, -1407210992, 10922, 0}}, nw = 720, nh = 576, sw = 659, sh = 576, halign = 1, valign = 1} image_b = (uint8_t *) 0x0 alpha_a = (uint8_t *) 0x14889c0 "" b_frame = (mlt_frame) 0x2aaaac0f1cd0 this = (mlt_transition) 0xd28da0 position = 14 out = in = properties = #15 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac288ab0, buffer=0x407ffbf0, format=0x407ffa64, width=0x407ffbfc, height=0x407ffbf8, writable=1) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2b098b5365c0 error = #16 0x00002b098b5359da in get_b_frame_image (this=0xc5b2e0, b_frame=0x2aaaac288ab0, image=0x407ffbf0, width=0x407ffbfc, height=0x407ffbf8, geometry=0x407ffba0) at transition_composite.c:788 ret = format = mlt_image_yuv422 b_props = properties = resize_alpha = 0 '\0' #17 0x00002b098b5373c4 in transition_get_image (a_frame=0x2aaaac057150, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=) at transition_composite.c:1092 dest = progressive = luma_softness = luma_bitmap = operator = line_fn = field = b_props = width_b = 660 height_b = 576 alpha_b = (uint8_t *) 0x0 rescale = 0xae4a90 "hyper" a_props = result = {item = {key = 0, frame = 14, distort = 0, x = 30.5, y = 0, w = 720, h = 576, mix = 100, f = {0, 0, 0, 0, 0}}, nw = 720, nh = 576, sw = 659, sh = 576, halign = 1, valign = 1} image_b = (uint8_t *) 0x13889b0 "�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200�\200"... alpha_a = (uint8_t *) 0x12f8ab0 "" b_frame = (mlt_frame) 0x2aaaac288ab0 this = (mlt_transition) 0xc5b2e0 position = 14 out = in = properties = #18 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac057150, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2b098b5365c0 error = #19 0x00002b09838f8fc3 in producer_get_image (this=0x2aaaac288a10, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_tractor.c:215 data = properties = frame = (mlt_frame) 0x2aaaac03c210 frame_properties = #20 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac288a10, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2b09838f8e80 error = #21 0x00002b098cf14a04 in filter_get_image (this=0x2aaaac288a10, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=) at filter_avcolour_space.c:100 properties = output_format = forced = 1634560369 error = 1082129920 #22 0x00002b09838eb6c1 in mlt_frame_get_image (this=0x2aaaac288a10, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257 position = 139 properties = get_image = (mlt_get_image) 0x2b098cf149a0 error = #23 0x00002b098bf99373 in consumer_thread (arg=) at consumer_sdl_still.c:454 this = (consumer_sdl) 0x2aaaac1182e0 consumer = properties = frame = (mlt_frame) 0x2aaaac288a10 vfmt = mlt_image_rgb24a height = 576 width = 720 image = (uint8_t *) 0x0 preview_off = 0 #24 0x00002b0988714317 in I��H�T$0��uH�r� () from /lib/libpthread.so.0 No symbol table info available. #25 0x00002b09899c9afd in ���W���@�����H�. () from /lib/libc.so.6 No symbol table info available.

Using valgrind, I wasn't able to reproduce the crash.
But here is the log :

hmmm.. both of these backtraces seem to be imply that there is a problem getting the images from the qimage_producer for the transitions. Looking at your project file, I see you are using xcf files. I tried a modified version of your project with my own xcf files, but wasnt able to reproduce the crash unfortunately. Do you still get the same crashes if you create a project with just the two titles and the transitions between them? If you export your xcf files to jpeg, and try with them, do you still get the same crashes?

Also, what type of cpu do you have? I'm running on an older single core cpu, so some threading issues dont effect my computer.

Ryan

Dear effin,

Thanks for your remarks.
I made a shorter project and added a seperate post.

Could you follow this thread:

viewtopic.php?f=16&t=170