This forum has been archived. All content is frozen. Please use KDE Discuss instead.

End of timeline crash [fixed]

Tags: None
(comma "," separated)
jmpoure_drupal
Registered Member
Posts
735
Karma
0

End of timeline crash [fixed]

Fri Aug 31, 2007 10:31 am

Dear all,



I am working on a Hdv720p movie.

Segfaults happen when deleting a movie, either in the timeline OR in the project tree.



I will post several examples below.

As usual, this is always latest Debian SID with latest MLT + Kdenlive SVN.



Kind regards,

Jean-Michel

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Deleting sequences crash

Fri Aug 31, 2007 10:31 am

If I move timeline cursor to the end of the timeline, kdenlive segfauts.



project:




























































gdb trace



gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
kbuildsycoca running...
DCOP Cleaning up dead connections.
kdenlive: + + YOUR MLT INSTALL WAS FOUND IN: /usr
kdenlive: --------- close 1b
kdenlive: --------- close 2b
kdenlive: Mlt inited
kdenlive: Creating new document
kdenlive: deleting contents...
kdenlive: Creating new document DONE
kdenlive: --------- close 3b
kdenlive: WARNING: KdenliveDoc::loadFromXML() document element has unknown tagName : kdenlivedoc
kdenlive: // DOCUMENT: /home/jmpoure/.kde/share/apps/kdenlive/recovery.kdenlive, version: 0.6
kdenlive: --------- close 1b
kdenlive: --------- close 2b
kdenlive: Creating new document
kdenlive: deleting contents...
kdenlive: Creating new document DONE
kdenlive: --------- close 3b
kdenlive: **************** INIT DOCUMENT VIEW ***************
kdenlive: + + CREATING CONSUMER WITH PROFILE: hdv_720_25p
kdenlive: + + CREATING CONSUMER WITH PROFILE: hdv_720_25p
[New Thread 1082132816 (LWP 17934)]
[New Thread 1090525520 (LWP 17935)]
[Thread 1082132816 (LWP 17934) exited]
[Thread 1090525520 (LWP 17935) exited]
[New Thread 1090525520 (LWP 17936)]
[New Thread 1082132816 (LWP 17937)]
kdenlive: KdenliveDoc in closeDocument()
kdenlive: deleting contents...
kdenlive: *** DOCUMENT adding clip: mvi_2115.avi
[Thread 1090525520 (LWP 17936) exited]
[Thread 1082132816 (LWP 17937) exited]
[New Thread 1082132816 (LWP 17938)]
[New Thread 1090525520 (LWP 17939)]
[Thread 1082132816 (LWP 17938) exited]
[Thread 1090525520 (LWP 17939) exited]
ICE default IO error handler doing an exit(), pid = 17433, errno = 0
ICE default IO error handler doing an exit(), pid = 17468, errno = 0
kdenlive: *** DOCUMENT adding clip: mvi_2116.avi
kdenlive: *** DOCUMENT adding clip: mvi_2117.avi
kdenlive: *** DOCUMENT adding clip: mvi_2118.avi
kdenlive: *** DOCUMENT adding clip: mvi_2119.avi
kdenlive: *** DOCUMENT adding clip: mvi_2120.avi
kdenlive: *** DOCUMENT adding clip: mvi_2121.avi
kdenlive: *** DOCUMENT adding clip: mvi_2122.avi
kdenlive: *** DOCUMENT adding clip: mvi_2123.avi
kdenlive: *** DOCUMENT adding clip: mvi_2124.avi
kdenlive: *** DOCUMENT adding clip: Clip texte
[New Thread 1090525520 (LWP 17940)]
[New Thread 1082132816 (LWP 17941)]
kdenlive: + + + Loading Time : 2075ms
kdenlive: ********** FREED MEM FOR: mvi_2115.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2116.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2117.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2118.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2119.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2120.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2121.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2122.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2123.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2124.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2115.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2116.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2117.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2118.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2119.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2120.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2121.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2122.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2123.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2124.avi, COUNT: 0
[New Thread 1098918224 (LWP 17942)]
[New Thread 1107310928 (LWP 17943)]
[Thread 1090525520 (LWP 17940) exited]
[Thread 1082132816 (LWP 17941) exited]
[New Thread 1082132816 (LWP 17945)]
[New Thread 1090525520 (LWP 17946)]
kdenlive: ********** FREED MEM FOR: mvi_2115.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2116.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2117.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2118.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2119.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2120.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2121.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2122.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2123.avi, COUNT: 0
kdenlive: ********** FREED MEM FOR: mvi_2124.avi, COUNT: 0
[Thread 1082132816 (LWP 17945) exited]
[Thread 1090525520 (LWP 17946) exited]
[Thread 1098918224 (LWP 17942) exited]
[Thread 1107310928 (LWP 17943) exited]
[New Thread 1107310928 (LWP 17965)]
[New Thread 1098918224 (LWP 17966)]
kdenlive: / / / / / SAVING RECOVERY FILE
[Thread 1107310928 (LWP 17965) exited]
[Thread 1098918224 (LWP 17966) exited]
[New Thread 1098918224 (LWP 17969)]
[New Thread 1107310928 (LWP 17970)]
[Thread 1098918224 (LWP 17969) exited]
[Thread 1107310928 (LWP 17970) exited]
[New Thread 1107310928 (LWP 17971)]
[New Thread 1098918224 (LWP 17972)]
[Thread 1107310928 (LWP 17971) exited]
[Thread 1098918224 (LWP 17972) exited]
[New Thread 1098918224 (LWP 17973)]
[New Thread 1107310928 (LWP 17974)]
[New Thread 1090525520 (LWP 17975)]
[New Thread 1082132816 (LWP 17976)]
[Thread 1098918224 (LWP 17973) exited]
[Thread 1107310928 (LWP 17974) exited]
[Thread 1090525520 (LWP 17975) exited]
[Thread 1082132816 (LWP 17976) exited]
[New Thread 1082132816 (LWP 17981)]
[New Thread 1090525520 (LWP 17982)]
[Thread 1082132816 (LWP 17981) exited]
[Thread 1090525520 (LWP 17982) exited]
[New Thread 1090525520 (LWP 17991)]
[New Thread 1082132816 (LWP 17992)]
[Thread 1090525520 (LWP 17991) exited]
[Thread 1082132816 (LWP 17992) exited]
[New Thread 1082132816 (LWP 17993)]
[New Thread 1090525520 (LWP 17994)]
kdenlive: WARNING: Drag enter event
[Thread 1082132816 (LWP 17993) exited]
[Thread 1090525520 (LWP 17994) exited]
[New Thread 1090525520 (LWP 17995)]
[New Thread 1082132816 (LWP 17996)]
kdenlive: WARNING: Drag enter event
[Thread 1090525520 (LWP 17995) exited]
[Thread 1082132816 (LWP 17996) exited]
[New Thread 1082132816 (LWP 18001)]
[New Thread 1090525520 (LWP 18002)]
kdenlive: / / / / / SAVING RECOVERY FILE
[Thread 1082132816 (LWP 18001) exited]
[Thread 1090525520 (LWP 18002) exited]
[New Thread 1090525520 (LWP 18007)]
[New Thread 1082132816 (LWP 18008)]
[Thread 1090525520 (LWP 18007) exited]
[Thread 1082132816 (LWP 18008) exited]
[New Thread 1082132816 (LWP 18009)]
[New Thread 1090525520 (LWP 18010)]
[Thread 1082132816 (LWP 18009) exited]
[Thread 1090525520 (LWP 18010) exited]
[New Thread 1090525520 (LWP 18015)]
[New Thread 1082132816 (LWP 18016)]
[Thread 1090525520 (LWP 18015) exited]
[Thread 1082132816 (LWP 18016) exited]
[New Thread 1082132816 (LWP 18027)]
[New Thread 1090525520 (LWP 18028)]
[Thread 1082132816 (LWP 18027) exited]
[Thread 1090525520 (LWP 18028) exited]
[New Thread 1090525520 (LWP 18029)]
[New Thread 1082132816 (LWP 18030)]
[Thread 1090525520 (LWP 18029) exited]
[Thread 1082132816 (LWP 18030) exited]
[New Thread 1082132816 (LWP 18031)]
[New Thread 1090525520 (LWP 18032)]
kdenlive: / / / / / SAVING RECOVERY FILE
[Thread 1082132816 (LWP 18031) exited]
[Thread 1090525520 (LWP 18032) exited]
[New Thread 1090525520 (LWP 18033)]
[New Thread 1082132816 (LWP 18034)]
kdenlive: WARNING: Drag enter event
[Thread 1090525520 (LWP 18033) exited]
[Thread 1082132816 (LWP 18034) exited]
[New Thread 1082132816 (LWP 18052)]
[New Thread 1090525520 (LWP 18053)]
kdenlive: / / / / / SAVING RECOVERY FILE
[Thread 1082132816 (LWP 18052) exited]
[Thread 1090525520 (LWP 18053) exited]
[New Thread 1090525520 (LWP 18065)]
[New Thread 1082132816 (LWP 18066)]
[Thread 1090525520 (LWP 18065) exited]
[Thread 1082132816 (LWP 18066) exited]
[New Thread 1082132816 (LWP 18067)]
[New Thread 1090525520 (LWP 18068)]
[Thread 1082132816 (LWP 18067) exited]
[Thread 1090525520 (LWP 18068) exited]
[New Thread 1090525520 (LWP 18073)]
[New Thread 1082132816 (LWP 18074)]
[Thread 1090525520 (LWP 18073) exited]
[Thread 1082132816 (LWP 18074) exited]
[New Thread 1082132816 (LWP 18075)]
[New Thread 1090525520 (LWP 18076)]
kdenlive: / / / / / SAVING RECOVERY FILE
[Thread 1082132816 (LWP 18075) exited]
[Thread 1090525520 (LWP 18076) exited]
[New Thread 1090525520 (LWP 18077)]
[New Thread 1082132816 (LWP 18078)]
kdenlive: WARNING: Drag enter event
[Thread 1090525520 (LWP 18077) exited]
[Thread 1082132816 (LWP 18078) exited]
[New Thread 1082132816 (LWP 18083)]
[New Thread 1090525520 (LWP 18084)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082132816 (LWP 18083)]
0x00002aec48930aa2 in ?? () from /usr/lib/libswscale.so.0
(gdb) thread apply all bt

Thread 61 (Thread 1090525520 (LWP 18084)):
#0 0x00002aec42a597a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002aec46c34d28 in consumer_thread (arg=) at consumer_sdl_preview.c:381
#2 0x00002aec42a55317 in start_thread () from /lib/libpthread.so.0
#3 0x00002aec43e0ab1d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 60 (Thread 1082132816 (LWP 18083)):
#0 0x00002aec48930aa2 in ?? () from /usr/lib/libswscale.so.0
#1 0x0000000000000300 in ?? ()
#2 0x00000000407ff940 in ?? ()
#3 0x00002aec4892adad in sws_scale () from /usr/lib/libswscale.so.0
#4 0x00002aec47badeed in producer_get_image (frame=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=) at producer_avformat.c:415
#5 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=1) at mlt_frame.c:257
#6 0x00002aaaaafeeabd in filter_get_image (this=0x2aaaac002c60, image=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=1) at filter_deinterlace.c:45
#7 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=0) at mlt_frame.c:257
#8 0x00002aec461cf99c in filter_get_image (this=0x2aaaac002c60, image=0x408000c8, format=0x408000e0, width=0x407ffbfc, height=0x407ffbf8, writable=0) at filter_rescale.c:212
#9 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffbfc, height=0x407ffbf8, writable=0) at mlt_frame.c:257
#10 0x00002aec461cfd65 in filter_get_image (this=0x2aaaac002c60, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at filter_resize.c:114
#11 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
#12 0x00002aec3d4defc3 in producer_get_image (this=0x2aaaac076ca0, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_tractor.c:215
#13 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac076ca0, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
#14 0x00002aec47bb0a04 in filter_get_image (this=0x2aaaac076ca0, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=) at filter_avcolour_space.c:100
#15 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac076ca0, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
#16 0x00002aec46c35373 in consumer_thread (arg=) at consumer_sdl_still.c:454
#17 0x00002aec42a55317 in start_thread () from /lib/libpthread.so.0
#18 0x00002aec43e0ab1d in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 47194253947952 (LWP 17908)):
#0 0x00002aec43e03e62 in select () from /lib/libc.so.6
#1 0x00002aec405c6376 in QEventLoop::processEvents (this=0x8ba080, flags=4) at kernel/qeventloop_x11.cpp:291
#2 0x00002aec40638e27 in QEventLoop::enterLoop (this=0x8ba080) at kernel/qeventloop.cpp:198
#3 0x00002aec40638c2f in QEventLoop::exec (this=0x8ba080) at kernel/qeventloop.cpp:145
#4 0x00002aec40621324 in QApplication::exec (this=0x7fff6d800b60) at kernel/qapplication.cpp:2758
#5 0x0000000000510bf6 in main (argc=1, argv=0x7fff6d800fa8) at main.cpp:107
#0 0x00002aec48930aa2 in ?? () from /usr/lib/libswscale.so.0
(gdb) where full
#0 0x00002aec48930aa2 in ?? () from /usr/lib/libswscale.so.0
No symbol table info available.
#1 0x0000000000000300 in ?? ()
No symbol table info available.
#2 0x00000000407ff940 in ?? ()
No symbol table info available.
#3 0x00002aec4892adad in sws_scale () from /usr/lib/libswscale.so.0
No symbol table info available.
#4 0x00002aec47badeed in producer_get_image (frame=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=) at producer_avformat.c:415
context = (struct SwsContext *) 0xf7fb50
output = {data = {0x22699d0 "\020\200\020\200\020\200\020\200\001", 0x0, 0x0, 0x2aec3d4e15a4 "image_count"}, linesize = {2048, 0, 1028474843, 10988}}
frame_properties =
position = 736
properties = (mlt_properties) 0x2aaab41d8570
context = (AVFormatContext *) 0x2aaab4280480
index = 0
expected =
stream = (AVStream *) 0x2aaab41d8a10
codec_context = (AVCodecContext *) 0x2aaab42814d0
pkt = {pts = 47194129176293, dts = 47194129175972, data = 0x24
, size = 0, stream_index = 0, flags = 1082130656, duration = 0, destruct = 0x2aec3d4d6e87 , priv = 0x2aec3d4e1b34, pos = 46912519868768}
av_frame = (AVFrame *) 0xc9fe00
paused =
source_fps = 15.000150001500016
req_position = 442
seekable =
size = 1574912
av_bypass = 0
must_decode = 0
current_position =
got_picture = 1
#5 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=1) at mlt_frame.c:257
position = 1529
properties =
get_image = (mlt_get_image) 0x2aec47bad7f0
error =
#6 0x00002aaaaafeeabd in filter_get_image (this=0x2aaaac002c60, image=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=1) at filter_deinterlace.c:45
error =
deinterlace =
#7 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffaf0, height=0x407ffaf4, writable=0) at mlt_frame.c:257
position = 1529
properties =
get_image = (mlt_get_image) 0x2aaaaafeea40
error =
#8 0x00002aec461cf99c in filter_get_image (this=0x2aaaac002c60, image=0x408000c8, format=0x408000e0, width=0x407ffbfc, height=0x407ffbf8, writable=0) at filter_rescale.c:212
iwidth = 1024
iheight = 768
interps = 0xb9b7a0 "nearest"
properties =
filter_properties = (mlt_properties) 0x2aaab4607ce0
#9 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x407ffbfc, height=0x407ffbf8, writable=0) at mlt_frame.c:257
position = 1529
properties =
get_image = (mlt_get_image) 0x2aec461cf800
error =
#10 0x00002aec461cfd65 in filter_get_image (this=0x2aaaac002c60, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at filter_resize.c:114
error =
properties =
aspect_ratio = 6.3240402667679558e-321
owidth = 1050
oheight = 720
rescale =
#11 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac002c60, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
position = 1529
properties =
get_image = (mlt_get_image) 0x2aec461cfc40
error =
#12 0x00002aec3d4defc3 in producer_get_image (this=0x2aaaac076ca0, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_tractor.c:215
data =
properties =
frame = (mlt_frame) 0x1f285a0
frame_properties =
#13 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac076ca0, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
position = 1529
properties =
get_image = (mlt_get_image) 0x2aec3d4dee80
error =
#14 0x00002aec47bb0a04 in filter_get_image (this=0x2aaaac076ca0, image=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=) at filter_avcolour_space.c:100
properties =
output_format =
forced = mlt_image_none
error = 1082129920
#15 0x00002aec3d4d16c1 in mlt_frame_get_image (this=0x2aaaac076ca0, buffer=0x408000c8, format=0x408000e0, width=0x408000d8, height=0x408000dc, writable=0) at mlt_frame.c:257
position = 1529
properties =
get_image = (mlt_get_image) 0x2aec47bb09a0
error =
#16 0x00002aec46c35373 in consumer_thread (arg=) at consumer_sdl_still.c:454
this = (consumer_sdl) 0xcf42c0
consumer =
properties =
frame = (mlt_frame) 0x2aaaac076ca0
vfmt = mlt_image_rgb24a
height = 720
width = 1280
image = (uint8_t *) 0x0
preview_off = 0
#17 0x00002aec42a55317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#18 0x00002aec43e0ab1d in clone () from /lib/libc.so.6
No symbol table info available.
#19 0x0000000000000000 in ?? ()
No symbol table info available.


valgrind log

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: End of timeline crash

Fri Aug 31, 2007 11:00 am

Upload of the project is in progress. Wait a few hours ...

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: End of timeline crash [fixed]

Tue Sep 04, 2007 12:34 pm

Bug fixed with today's ffmpeg update.



Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]