Registered Member
|
OS: Opensuse 11.3 with KDE 4.4 x86_64 on AMD
Nvidia graphics with nvidia-driver everything working very well Kdenlive Version 0.7.8 with mlt 0.5.10 from Packman I could make a new project with 66 HD 720/30-files (about 6Gbyte) and HD 720/30 project-properties. Could edit some minutes and saved that project. Today I tried to resume editing - kdenlive loads and after some seconds it crashes with "segmentation fault" Output from gdb: File given: true QWidget::insertAction: Attempt to insert null action QWidget::insertAction: Attempt to insert null action Missing separate debuginfo for /lib64/libnss_files.so.2 Try: zypper install -C "debuginfo(build-id)=3c394385f320f548f286d584dfe412a593874bda" [New Thread 0x7fffdbf2e710 (LWP 19361)] [New Thread 0x7fffdb72d710 (LWP 19362)] [Thread 0x7fffdbf2e710 (LWP 19361) exited] [Thread 0x7fffdb72d710 (LWP 19362) exited] [New Thread 0x7fffdb72d710 (LWP 19363)] [New Thread 0x7fffdbf2e710 (LWP 19364)] [Thread 0x7fffdb72d710 (LWP 19363) exited] [Thread 0x7fffdbf2e710 (LWP 19364) exited] [New Thread 0x7fffdbf2e710 (LWP 19365)] [New Thread 0x7fffdb72d710 (LWP 19366)] [Thread 0x7fffdbf2e710 (LWP 19365) exited] [Thread 0x7fffdb72d710 (LWP 19366) exited] [New Thread 0x7fffdb72d710 (LWP 19367)] [New Thread 0x7fffdbf2e710 (LWP 19368)] [Thread 0x7fffdb72d710 (LWP 19367) exited] [Thread 0x7fffdbf2e710 (LWP 19368) exited] [New Thread 0x7fffdbf2e710 (LWP 19369)] [New Thread 0x7fffdb72d710 (LWP 19370)] Missing separate debuginfo for /lib64/libnss_compat.so.2 Try: zypper install -C "debuginfo(build-id)=131fc800003a4275443f0cb7c9e9eb28e3b702e3" Missing separate debuginfo for /lib64/libnsl.so.1 Try: zypper install -C "debuginfo(build-id)=14435e6aee08e56dd62ad44bb6726c92da1dbc21" Missing separate debuginfo for /lib64/libnss_nis.so.2 Try: zypper install -C "debuginfo(build-id)=70284dfc19dd6de044b8ca8ff90a42ff7b2b8599" [Thread 0x7fffdbf2e710 (LWP 19369) exited] [Thread 0x7fffdb72d710 (LWP 19370) exited] [New Thread 0x7fffdb72d710 (LWP 19371)] [New Thread 0x7fffdbf2e710 (LWP 19372)] [Thread 0x7fffdb72d710 (LWP 19371) exited] [Thread 0x7fffdbf2e710 (LWP 19372) exited] [New Thread 0x7fffdbf2e710 (LWP 19373)] [New Thread 0x7fffdb72d710 (LWP 19374)] [Thread 0x7fffdbf2e710 (LWP 19373) exited] [Thread 0x7fffdb72d710 (LWP 19374) exited] [New Thread 0x7fffdb72d710 (LWP 19391)] [New Thread 0x7fffdbf2e710 (LWP 19392)] [New Thread 0x7fffd9d8a710 (LWP 19417)] [New Thread 0x7fffd9589710 (LWP 19418)] [Thread 0x7fffdb72d710 (LWP 19391) exited] [Thread 0x7fffdbf2e710 (LWP 19392) exited] Missing separate debuginfo for /usr/lib64/libvdpau.so Try: zypper install -C "debuginfo(build-id)=9d6abde24a807174aa27b304c7ff7ec3b984a951" [Thread 0x7fffd9d8a710 (LWP 19417) exited] [Thread 0x7fffd9589710 (LWP 19418) exited] [New Thread 0x7fffd9589710 (LWP 19419)] [New Thread 0x7fffd9d8a710 (LWP 19420)] [New Thread 0x7fffdbf2e710 (LWP 19421)] [Thread 0x7fffdbf2e710 (LWP 19421) exited] [New Thread 0x7fffdbf2e710 (LWP 19422)] [New Thread 0x7fffdb72d710 (LWP 19426)] [New Thread 0x7fff97608710 (LWP 19427)] [New Thread 0x7fff96e07710 (LWP 19428)] [New Thread 0x7fff96606710 (LWP 19429)] [New Thread 0x7fff95e05710 (LWP 19430)] [New Thread 0x7fff95604710 (LWP 19431)] [New Thread 0x7fff94e03710 (LWP 19432)] [New Thread 0x7fff94602710 (LWP 19433)] [New Thread 0x7fff93e01710 (LWP 19434)] [New Thread 0x7fff93600710 (LWP 19435)] [New Thread 0x7fff92dff710 (LWP 19436)] [New Thread 0x7fff925fe710 (LWP 19437)] [New Thread 0x7fff91dfd710 (LWP 19438)] [New Thread 0x7fff915fc710 (LWP 19439)] [New Thread 0x7fff90dfb710 (LWP 19440)] [New Thread 0x7fff905fa710 (LWP 19441)] [New Thread 0x7fff8fdf9710 (LWP 19442)] [New Thread 0x7fff8f5f8710 (LWP 19443)] [New Thread 0x7fff8edf7710 (LWP 19444)] [New Thread 0x7fff8e5f6710 (LWP 19445)] [New Thread 0x7fff8ddf5710 (LWP 19446)] [New Thread 0x7fff8d5f4710 (LWP 19447)] [New Thread 0x7fff8cdf3710 (LWP 19448)] [New Thread 0x7fff8c5f2710 (LWP 19449)] [New Thread 0x7fff8bdf1710 (LWP 19450)] [New Thread 0x7fff8b5f0710 (LWP 19451)] [New Thread 0x7fff8adef710 (LWP 19452)] [New Thread 0x7fff8a5ee710 (LWP 19453)] QCoreApplication::postEvent: Unexpected null receiver ..... about 30 times more .... QCoreApplication::postEvent: Unexpected null receiver Maximum number of clients reachedQCoreApplication::postEvent: Unexpected null receiver QCoreApplication::postEvent: Unexpected null receiver Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients ........about 30 times more ........... reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reached Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffdb72d710 (LWP 19426)] 0x00007fffe743ed44 in av_find_stream_info () from /usr/lib64/libavformat.so.52 (gdb) My observation: kdenlive tries to start numerous child-processes kdenlive tries to hold everything within memory and the mashine is running out of memory (4GB) I can not even load old projects which I could edit without any crash. Can anyone help? Hartmut |
Registered Member
|
The error message you are receiving is "Maximum number of clients reached." This is a redundant post
http://www.kdenlive.org/forum/working-many-gb-data-one-project "kdenlive tries to hold everything within memory" As the MLT developer, I can tell you that is not correct because I implemented a MRU cache and painstakingly reworked the ffmpeg and image loading plugins to use it. It only holds 10 of the most recently used resources (per plugin class) and automatically restores them on demand. Please test if disabling vdpau makes a difference. Run kdenlive from a terminal like this: 'MLT_NO_VDPAU=1 kdenlive' VDPAU needs to do something with X, according to the other thread this appears related to Xlib, and I see you are using vdpau. |
Registered Member
|
I tried that command:
the memory did not fill without end, it took about 1G kdenlive did crash in the same way How do I use this command line with gdb? Hartmut PS have a look at the "hightlights" in http://www.nvidia.com/object/linux-display-amd64-260.19.21-driver.html My driver is 260.19.12 |
Registered Member
|
I changed back to nvidia driver 256.53 (this time on Opensuse 11.1 where the same things happened), and compiled kdenlive once more to make shure everthing uses the same sources.
***** starting kdenlive: the program starts open a project-file: the program opens the project and indexes the clips, after some indexing kdenlive crashes with segmetation fault. Memory is not abused - everything normal ***** starting MLT_NO_VDPAU=1 kdenlive The same as above ***** starting gdb kdenlive result is the same ***** output from gdb: Starting program: /usr/bin/kdenlive [Thread debugging using libthread_db enabled] File given: true Color mode changed to 0 File given: true QWidget::insertAction: Attempt to insert null action QWidget::insertAction: Attempt to insert null action [New Thread 0x7fffdaa41950 (LWP 7513)] [New Thread 0x7fffda240950 (LWP 7514)] [Thread 0x7fffdaa41950 (LWP 7513) exited] [Thread 0x7fffda240950 (LWP 7514) exited] .........about 30 times more ....... [New Thread 0x7fffc37ee950 (LWP 7580)] [New Thread 0x7fffc2fed950 (LWP 7581)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffca7fc950 (LWP 7566)] 0x00007ffff7bccb20 in mlt_properties_get_int () from /usr/lib64/libmlt.so.2 (gdb) backtrace #0 0x00007ffff7bccb20 in mlt_properties_get_int () from /usr/lib64/libmlt.so.2 #1 0x00007fffeac8ec12 in ?? () from /usr/lib64/mlt/libmltavformat.so #2 0x00007ffff7bd026a in ?? () from /usr/lib64/libmlt.so.2 #3 0x00007ffff7bcea87 in mlt_service_get_frame () from /usr/lib64/libmlt.so.2 #4 0x00007ffff79b41d6 in Mlt::Service::get_frame(int) () from /usr/lib64/libmlt++.so.3 #5 0x000000000054bafd in MyThread::run (this=0x13770e0) at /usr/src/debug/kdenlive-0.7.8/src/kthumb.cpp:90 #6 0x00007ffff4368e05 in ?? () from /usr/lib64/libQtCore.so.4 #7 0x00007ffff40d9070 in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff27bf11d in clone () from /lib64/libc.so.6 #9 0x0000000000000000 in ?? () (gdb) What can I do else? Hartmut |
Registered Member
|
Looks like the crash stems from kthumb.cpp.
Try turning off thumbnailing in the Settings > Timeline, restart Kdenlive (just to be sure), and then loading the project. |
Registered Member
|
Thats it. Kdenlive works without thumbnailing.
Hartmut |
Registered Member
|
jbm recently made a change to thumbnailing to prevent launching a thumbnailing thread for each clip in parallel - limits it to at most # cores. This may help prevent the bug in the future.
|
Registered Member
|
I tried opening a project with preview-audio=no and preview-video=yes ---> no crash
The same vice versa ---> crash First try again, but checked the box preview-audio=yes ---> crash The statusline shows something like "vdpau is off, because the system has not enough resources". Vdpau is ok with Nvidia GT 210 and CPU is AMD-Phenon X2 550. Once again: kdenlive is 0.7.8 and melt 0.5.10 (newest yesterday from packman Hartmut |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]