Reply to topic

Kdenlive stops responding

allianux
Registered Member
Posts
7
Karma
0

Kdenlive stops responding

Mon May 26, 2014 8:15 am
Hello,

I am struggling with Kdenlive which stops responding after a few minutes of work and would like to get this resolved if possible. I am using Opensuse 13.1 running KDE 4.11.5, Kdenlive 0.9.8 is from Packman with mlt 0.9.0 and ffmpeg 2.2-1.7. The footage is located on a local NAS mounted with CIFS the videos are all proxy clips.

On opening Kdenlive from the terminal I get
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
occuring on two lines. I am then able to proceed to use Kdenlive, everything seems to work. The project profile is HD 720p 25fps or DV/DVD PAL 4:3.

In this case I am editing video taken with a Nexus5 but experience the same application hanging issue with DV video (AVI type 2) captured through Kdenlive.
Kde gives the error
Application "kdenlive" is not responding
You tried to close window "HD-Test.kdenlive / HD 720p 25 fps [modified] – Kdenlive" from application "kdenlive" (Process ID: 16924) but the application is not responding.
Do you want to terminate this application?
Warning: Terminating the application will close all of its child windows. Any unsaved data will be lost.
, while the error in the terminal is
[swscaler @ 0x7f5cc83d5cc0] Warning: data is not aligned! This can lead to a speedloss
.

It seems to hang while scrolling through the clips in the side panel / project tree.

On a hang the proxy clips would continue being created or any other background task seems to continue. Only the Kdenlive GUI seems to hang.
User avatar Steve Guilford
Registered Member
Posts
180
Karma
0

Re: Kdenlive stops responding

Mon May 26, 2014 3:31 pm
Unfortunately, those error messages are unrelated to your problem.

Try moving your clips into a local directory/hard-drive and see if you can reproduce the problem.

Is there a 'number of clips' threshold at which the problem becomes evident?

You need to gather in some more 'evidence' that could point the way to the source of the problem.
allianux
Registered Member
Posts
7
Karma
0

Re: Kdenlive stops responding

Thu May 29, 2014 5:16 am
Hello,
I have taken your advice and placed the media into a local folder under the project directory. Oddly enough this time round Kdenlive crashes within minutes of adding the media into the timeline. Reproducing the hang seems to occur more while working with proxy clips on the NAS. So this time round there is no hanging, only an immediate crash. I'm of the opinion it is related to browsing and adding files.

Here is the info from each crash, the first is from KDE crash handler, the second is from the terminal, third is from the terminal and the forth is again from the crash handler.

kdenlive-20140528-063212.kcrash.txt
Application: Kdenlive (kdenlive), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1c8fca0900 (LWP 4339))]

Thread 24 (Thread 0x7f1c60b59700 (LWP 4351)):
#0 0x00007fff983fe987 in clock_gettime ()
#1 0x00007f1c8a5e4a0d in clock_gettime () from /lib64/libc.so.6
#2 0x00007f1c8c89de47 in ?? () from /usr/lib64/libQtCore.so.4
#3 0x00007f1c8c977405 in ?? () from /usr/lib64/libQtCore.so.4
#4 0x00007f1c8c975bac in ?? () from /usr/lib64/libQtCore.so.4
#5 0x00007f1c8c975c55 in ?? () from /usr/lib64/libQtCore.so.4
#6 0x00007f1c8779969d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#7 0x00007f1c87799f23 in ?? () from /usr/lib64/libglib-2.0.so.0
#8 0x00007f1c8779a10c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9 0x00007f1c8c975d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#10 0x00007f1c8c947d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#11 0x00007f1c8c948005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007f1c8c846fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#13 0x00007f1c8c929513 in ?? () from /usr/lib64/libQtCore.so.4
#14 0x00007f1c8c84968f in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#16 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7f1c4bbf5700 (LWP 4389)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7f1c4b3f4700 (LWP 4390)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

...continues...

Thread 1 (Thread 0x7f1c8fca0900 (LWP 4339)):
#0 0x00007f1c8c5b3502 in pthread_join () from /lib64/libpthread.so.0
#1 0x00007f1c8c399d30 in mlt_consumer_stop () from /usr/lib64/libmlt.so.6
#2 0x00000000006f401f in _start ()


The terminal output when repeating the steps is:

richard@DV7:~> kdenlive
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
[NULL @ 0x7f0810908080] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f0810908080] No lock manager is set, please see av_lockmgr_register()
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f0810e0bf80] Failed to open codec in av_find_stream_info
[NULL @ 0x7f081130e180] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f081130e180] No lock manager is set, please see av_lockmgr_register()
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f0810e0bf80] Failed to open codec in av_find_stream_info
[NULL @ 0x7f081130e180] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f081130e180] No lock manager is set, please see av_lockmgr_register()
[h264 @ 0x3e7e920] Insufficient thread locking around avcodec_open/close()
[h264 @ 0x3e7e920] No lock manager is set, please see av_lockmgr_register()
[swscaler @ 0x7f07fe187da0] Warning: data is not aligned! This can lead to a speedloss
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f07fc7e5820] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f07fdb7fd60] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f07fdb82fe0] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f07fdcb5100] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f07fdb877e0] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f07fe20a000] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x657d6c0] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x664d4c0] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x650bb60] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x657d6c0] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f0811311f00] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[h264 @ 0x7f0810001260] Insufficient thread locking around avcodec_open/close()
[h264 @ 0x7f0810001260] No lock manager is set, please see av_lockmgr_register()
[aac @ 0x7f08100016c0] Insufficient thread locking around avcodec_open/close()
[aac @ 0x7f08100016c0] No lock manager is set, please see av_lockmgr_register()
Assertion ff_avcodec_locked failed at libavcodec/utils.c:3333
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f081182dfc0] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
[NULL @ 0x7f0810004820] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f0810004820] No lock manager is set, please see av_lockmgr_register()
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f081182dfc0] Failed to open codec in av_find_stream_info
[NULL @ 0x7f0810908740] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f0810908740] No lock manager is set, please see av_lockmgr_register()
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f081182dfc0] Failed to open codec in av_find_stream_info
[NULL @ 0x7f0810908740] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f0810908740] No lock manager is set, please see av_lockmgr_register()
[NULL @ 0x7f0810004820] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f0810004820] No lock manager is set, please see av_lockmgr_register()
[NULL @ 0x7f0810004820] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f0810004820] No lock manager is set, please see av_lockmgr_register()
[NULL @ 0x7f0810908740] Insufficient thread locking around avcodec_open/close()
[NULL @ 0x7f0810908740] No lock manager is set, please see av_lockmgr_register()
Assertion desc failed at libswscale/swscale_internal.h:660
Unable to start Dr. Konqi
richard@DV7:~>


While adding 5nr AVI type 2 clips (captured by firewire in Kdenlive) to the timeline I get this from the terminal.
KCrash: Application 'kdenlive' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/richard/.kde4/socket-DV7.site/kdeinit4__0

[1]+ Stopped kdenlive
richard@DV7:~> QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
Unable to start Dr. Konqi



The KDE crash handler provided the following output below. Sorry I did not know what is important or not.

Application: Kdenlive (kdenlive), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f54d4313900 (LWP 2537))]

Thread 28 (Thread 0x7f54a51e4700 (LWP 2543)):
#0 0x00007f54cbe4e6ca in ?? () from /usr/lib64/libglib-2.0.so.0
#1 0x00007f54cbe4e9d9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2 0x00007f54cbe0c6a9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3 0x00007f54cbe0cf23 in ?? () from /usr/lib64/libglib-2.0.so.0
#4 0x00007f54cbe0d10c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5 0x00007f54d0fe8d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6 0x00007f54d0fbad0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7 0x00007f54d0fbb005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8 0x00007f54d0eb9fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9 0x00007f54d0f9c513 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f54d0ebc68f in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 27 (Thread 0x7f548e7fb700 (LWP 2595)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 26 (Thread 0x7f548dffa700 (LWP 2596)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 25 (Thread 0x7f548d7f9700 (LWP 2597)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 24 (Thread 0x7f548cff8700 (LWP 2598)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7f547ffff700 (LWP 2599)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7f547f7fe700 (LWP 2600)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f54a23c1700 (LWP 2656)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f54767fc700 (LWP 2657)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f5493fff700 (LWP 2658)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f54757fa700 (LWP 2682)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f54937fe700 (LWP 2683)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f54927fc700 (LWP 2684)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f5491ffb700 (LWP 2690)):
#0 0x00007f54d0c2b89c in __lll_lock_wait () from /lib64/libpthread.so.0
#1 0x00007f54d0c274d7 in _L_lock_913 () from /lib64/libpthread.so.0
#2 0x00007f54d0c27300 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3 0x00007f54d0a0528f in mlt_service_get_frame () from /usr/lib64/libmlt.so.6
#4 0x00007f54d0a0b568 in mlt_consumer_get_frame () from /usr/lib64/libmlt.so.6
#5 0x00007f54d0a0ba96 in ?? () from /usr/lib64/libmlt.so.6
#6 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#7 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f5492ffd700 (LWP 2691)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f54917fa700 (LWP 2692)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f54907f8700 (LWP 2693)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f548fff7700 (LWP 2699)):
[KCrash Handler]
#5 0x00007f54d0a00079 in ?? () from /usr/lib64/libmlt.so.6
#6 0x00007f54d0a02016 in mlt_properties_set_int () from /usr/lib64/libmlt.so.6
#7 0x00007f54b56f0f87 in ?? () from /usr/lib64/mlt-6/libmltavformat.so
#8 0x00007f54b56f255f in ?? () from /usr/lib64/mlt-6/libmltavformat.so
#9 0x00007f54d0a06f11 in ?? () from /usr/lib64/libmlt.so.6
#10 0x00007f54d0a052eb in mlt_service_get_frame () from /usr/lib64/libmlt.so.6
#11 0x00007f54d0a052eb in mlt_service_get_frame () from /usr/lib64/libmlt.so.6
#12 0x00007f54d0a0b568 in mlt_consumer_get_frame () from /usr/lib64/libmlt.so.6
#13 0x00007f54d0a0ba96 in ?? () from /usr/lib64/libmlt.so.6
#14 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#15 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f5490ff9700 (LWP 2700)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f5475ffb700 (LWP 2701)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f5474ff9700 (LWP 2702)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f5477fff700 (LWP 2705)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f547cff9700 (LWP 2706)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f547d7fa700 (LWP 2707)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f547dffb700 (LWP 2708)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f547effd700 (LWP 2709)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f547e7fc700 (LWP 2710)):
#0 0x00007f54d0c290af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f54b469072b in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f54d4313900 (LWP 2537)):
#0 0x00007f54d0c26502 in pthread_join () from /lib64/libpthread.so.0
#1 0x00007f54d0a0cd30 in mlt_consumer_stop () from /usr/lib64/libmlt.so.6
#2 0x00000000006dc5a9 in _start ()



How to reproduce the hang or crash:
1) Start a new project in Kdenlive.
2) Add 1 clip and follow with updating the project profile to suite.
3) Add another 4 to 5 clips at once using the “add clip” from kdenlive.
4) Click on clips to get clip properties window (At times it hangs at this spot while providing thumbnails)
5) Then add all clips to the time line at the same time.
6) Kdenlive will either hang or crash at this point.

My thoughts on issue:
a) Crashes with profile (25fps) not matching HD clips
b) Hangs with profile (30fps) matching HD clips (taken with Nexus5), hang initiated by browsing, selecting or clicking on clips in project tree.
c) Project seems more stable with the correct profile i.e. matching fps with clip.
d) Repeated with local DV (AVI type-2) clips.
e) The hang or freeze seems to be related to generating thumbnails.
f) I've used PAL 4:3 and 1080i 24fps profiles.

Thank you.
User avatar Steve Guilford
Registered Member
Posts
180
Karma
0

Re: Kdenlive stops responding

Thu May 29, 2014 2:10 pm
Please post the entire contents of 'kdenlive-20140528-063212.kcrash.txt' - your first crash trace.

The other crash trace provided something useful -

Thread 11 (Thread 0x7f548fff7700 (LWP 2699)):
[KCrash Handler]
#5 0x00007f54d0a00079 in ?? () from /usr/lib64/libmlt.so.6
#6 0x00007f54d0a02016 in mlt_properties_set_int () from /usr/lib64/libmlt.so.6
#7 0x00007f54b56f0f87 in ?? () from /usr/lib64/mlt-6/libmltavformat.so
#8 0x00007f54b56f255f in ?? () from /usr/lib64/mlt-6/libmltavformat.so
#9 0x00007f54d0a06f11 in ?? () from /usr/lib64/libmlt.so.6
#10 0x00007f54d0a052eb in mlt_service_get_frame () from /usr/lib64/libmlt.so.6
#11 0x00007f54d0a052eb in mlt_service_get_frame () from /usr/lib64/libmlt.so.6
#12 0x00007f54d0a0b568 in mlt_consumer_get_frame () from /usr/lib64/libmlt.so.6
#13 0x00007f54d0a0ba96 in ?? () from /usr/lib64/libmlt.so.6
#14 0x00007f54d0c250db in start_thread () from /lib64/libpthread.so.0
#15 0x00007f54cec4a90d in clone () from /lib64/libc.so.6

The crash occurred in MLT. So, the next question is, what version of MLT are you using? Do you have multiple copies of MLT on your system?
allianux
Registered Member
Posts
7
Karma
0

Re: Kdenlive stops responding

Fri May 30, 2014 4:39 am
The multimedia packages used are all from the Packman repository (http://packman.links2linux.org/) and all dependant on each other.
kdenlive-0.9.8-9.1.x86_64.rpm
melt-0.9.0-9.11.x86_64.rpm
libmlt6-modules-0.9.0-9.11.x86_64.rpm
melt6-0.9.0-9.11.x86_64.rpm
libmlt++3-0.9.0-9.11.x86_64.rpm
ffmpeg 2.2-1.7.x86_64.rpm


This is the full contents of 'kdenlive-20140528-063212.kcrash.txt'

Application: Kdenlive (kdenlive), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1c8fca0900 (LWP 4339))]

Thread 24 (Thread 0x7f1c60b59700 (LWP 4351)):
#0 0x00007fff983fe987 in clock_gettime ()
#1 0x00007f1c8a5e4a0d in clock_gettime () from /lib64/libc.so.6
#2 0x00007f1c8c89de47 in ?? () from /usr/lib64/libQtCore.so.4
#3 0x00007f1c8c977405 in ?? () from /usr/lib64/libQtCore.so.4
#4 0x00007f1c8c975bac in ?? () from /usr/lib64/libQtCore.so.4
#5 0x00007f1c8c975c55 in ?? () from /usr/lib64/libQtCore.so.4
#6 0x00007f1c8779969d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#7 0x00007f1c87799f23 in ?? () from /usr/lib64/libglib-2.0.so.0
#8 0x00007f1c8779a10c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9 0x00007f1c8c975d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#10 0x00007f1c8c947d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#11 0x00007f1c8c948005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007f1c8c846fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#13 0x00007f1c8c929513 in ?? () from /usr/lib64/libQtCore.so.4
#14 0x00007f1c8c84968f in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#16 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7f1c4bbf5700 (LWP 4389)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7f1c4b3f4700 (LWP 4390)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f1c4abf3700 (LWP 4391)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f1c493f0700 (LWP 4392)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f1c48bef700 (LWP 4393)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f1c33fff700 (LWP 4394)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f1c32ffd700 (LWP 4396)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f1c327fc700 (LWP 4397)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f1c31ffb700 (LWP 4398)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f1c13fff700 (LWP 4400)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f1c137fe700 (LWP 4401)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f1c12ffd700 (LWP 4402)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f1c11ffb700 (LWP 4403)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f1c117fa700 (LWP 4404)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f1c10ff9700 (LWP 4405)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f1c0fff7700 (LWP 4406)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f1c0f7f6700 (LWP 4407)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f1c0eff5700 (LWP 4408)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f1c6287f700 (LWP 4413)):
[KCrash Handler]
#5 0x00007f1c8a525849 in raise () from /lib64/libc.so.6
#6 0x00007f1c8a526cd8 in abort () from /lib64/libc.so.6
#7 0x00007f1c700c5e8c in ?? () from /usr/lib64/libavcodec.so.55
#8 0x00007f1c700c62f0 in avcodec_open2 () from /usr/lib64/libavcodec.so.55
#9 0x00007f1c7107b078 in ?? () from /usr/lib64/mlt-6/libmltavformat.so
#10 0x00007f1c7107f66e in ?? () from /usr/lib64/mlt-6/libmltavformat.so
#11 0x00007f1c8c393f11 in ?? () from /usr/lib64/libmlt.so.6
#12 0x00007f1c8c3922eb in mlt_service_get_frame () from /usr/lib64/libmlt.so.6
#13 0x00007f1c8c3922eb in mlt_service_get_frame () from /usr/lib64/libmlt.so.6
#14 0x00007f1c8c398568 in mlt_consumer_get_frame () from /usr/lib64/libmlt.so.6
#15 0x00007f1c8c398939 in ?? () from /usr/lib64/libmlt.so.6
#16 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#17 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1c5f559700 (LWP 4414)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1c6207e700 (LWP 4415)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1c4ffff700 (LWP 4416)):
#0 0x00007f1c8c5b60af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f1c7001c2a6 in ?? () from /usr/lib64/libavcodec.so.55
#2 0x00007f1c8c5b20db in start_thread () from /lib64/libpthread.so.0
#3 0x00007f1c8a5d790d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1c8fca0900 (LWP 4339)):
#0 0x00007f1c8c5b3502 in pthread_join () from /lib64/libpthread.so.0
#1 0x00007f1c8c399d30 in mlt_consumer_stop () from /usr/lib64/libmlt.so.6
#2 0x00000000006f401f in _start ()
User avatar Steve Guilford
Registered Member
Posts
180
Karma
0

Re: Kdenlive stops responding

Fri May 30, 2014 2:46 pm
Another crash w/ MLT in the mix.

Can you try building Kdenlive using the build script from the MLT website? Here's the link: http://www.mltframework.org/bin/view/MLT/BuildScripts
allianux
Registered Member
Posts
7
Karma
0

Re: Kdenlive stops responding

Thu Jun 05, 2014 8:49 pm
Hi, apologies for not posting an update; I have not had a chance to be compile MLT as yet. But have tried out another build from the Opensuse Extra and Multimedia repositories. Unfortunately these reproduce the same issue. Ii will need to give this some time on the weekend.
User avatar google01103
Manager
Posts
5827
Karma
20
OS

Re: Kdenlive stops responding

Thu Jun 05, 2014 8:56 pm
allianux - in the future please use code tags when placing large amounts of text (see https://www.phpbb.com/community/faq.php?mode=bbcode)


OpenSuse 13.2 x64, KDE 4.14.x & Plasma 5.x

allianux
Registered Member
Posts
7
Karma
0

Re: Kdenlive stops responding

Sat Jun 14, 2014 7:05 am
I had difficulty in compiling MLT and KDENLIVE on Opensuse 13.1 as I had to compile FFMPEG and other dependancies too. In so doing I would have broken all the multimedia RPM based on those.

I then tried this same on Manjaro (Based on Arch) with the same package versions and was unable to reproduce the crash. In fact I was unable to crash Kdenlive no matter what I tried.

Therefore I think this has something to do with the packaging of MLT on Opensuse.

I'll go back to the package managers and post back here once it is resolved or proven otherwise.
allianux
Registered Member
Posts
7
Karma
0

Re: Kdenlive stops responding

Sat Jun 21, 2014 6:18 am
To summarise the above posts:
The reason for looking into rebuilding the SRPM’s for Kdenlive, MLT and Frei0r-plugins is to get a stable and reliable Kdenlive build on Opensuse 13.1 and to retain the RPM package management. The repositories used are Opensuse 13.1 official x86 and updates with KDE Extra and Packman. When using Kdenlive I use numerous media files with various video and photo formats which would test the application and my hardware limits. After using Kdenlive 0.9.8 on an Arch based system it became apparent there was something wrong with my Opensuse 13.1 installation.

The instabilities encountered were:
1) Not all the Frei0r-plugins worked and some caused Kdenlive to instantly crash. I have never been able to reliably use Kdenlive from the Opensuse repositories or from Packman with frei0r-plugin 1.4 from the OS13.1 Official repos. Also, I use the KDE Extra repos which provide an updated Opencv from 2.4.6.1 to 2.4.9. I rebuilt frei0r-plugins-1.4-2.1.1.src.rpm from the Official Opensuse SRPM 1.4 to solve the issue.

2) MLT would intermittently crash when using different media types and also when the profile did not match the media type. I have no suggestion as to what caused this issue. I merely rebuilt the SRPM from Packman MLT 0.9.0 against the new Frei0r-plugins rpm. All my multimedia requirements come from Packman i.e. FFMPEG, SOX, LAME etc. I rebuilt libmlt-0.9.0-9.12.src.rpm from Packman. As a tip, install all dependencies as normal and libkdecore4-devel-debuginfo (Debug repository). Ladspa is required but not installed as a dependency when installing Kdenlive, this is provided from the Official 13.1 update repository.

3.1) Kdenlive would intermittently hang requiring me to force the application to close and restart.
3.2) Kdenlive would reject MLT vstab files (Kdenlive ERROR message “Clip is invalid, will be removed from project”) while MLT would play them from the command line.
Again I have no suggestion for the cause of the issues. I rebuilt kdenlive-0.9.8-9.9.src.rpm against the newly built MLT rpm.

Lastly, Looking at the Packman build service its now noted “Olaf Hering (olh) committed 24 days ago (revision 4) revert last change, link to OBS:KDE:Extra instead” - This should resolve the Kdenlive build issue.

The only issue remaining is the Kdenlive error message
Clip is invalid, will be removed from project videoname.avi.mlt

which I believe to be related to the FFmpeg build or perhaps its a bug? From Googling it this appears on a few installations over the years and therefore think it is more than likely a build issue? So far I've been unable to rebuild the Packman FFMPEG SRPM.

 
Reply to topic

Bookmarks



Who is online

Registered users: andreas_k, Baidu [Spider], bgh251f2, Bing [Bot], davidemme, Exabot [Bot], Google [Bot], google01103, howardcohl, Majestic-12 [Bot], metzman, nharmony, TheraHedwig, wolfi323, Yahoo [Bot]