problem launching kdenlive after compiling

hello
i am under fedora 7 and i can't launch kdenlive
i posted a thread to the fedora 7 fr forum
http://forums.fedora-fr.org/viewtopic.php?id=23314&words=
i tried the script method in two computers without success
i used this script
kdenlive_builder.sh
i choose my project and i have a crash this is the report

is there a solution ?

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208834352 (LWP 5587)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x009e1d76 in mlt_properties_set () from /usr/lib/libmlt.so.0.2.2
#7  0x00000036 in ?? ()
#8  0xbfe039e0 in ?? ()
#9  0x6c9f11f2 in ?? ()
#10 0x009f2154 in ?? () from /usr/lib/libmlt.so.0.2.2
#11 0x00000040 in ?? ()
#12 0x09a9f448 in ?? ()
#13 0x000000a8 in ?? ()
#14 0x09a9f450 in ?? ()
#15 0x00238ebe in malloc () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Hi,

Exactly the same problem with Fedora 7 here. I have compiled everything from svn (mtl, mtl++, kdenlive, ...) Any ideas ?

Thanks,
-Mika

Hi,

More detailed backtrace for my Fedora 7 problem below.

Thank you very much for help,
-Mika

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912505153264 (LWP 27145)]
[KCrash handler]
#5  mlt_properties_set_int (this=0x0, name=0x2aaab0151fd4 "forced", value=3)
    at mlt_properties.c:275
#6  0x00002aaab0151655 in consumer_start (parent=0xd371e0)
    at consumer_sdl_still.c:158
#7  0x00002aaab014feb5 in consumer_start (parent=0xd30f90)
    at consumer_sdl_preview.c:208
#8  0x00002aaaaad0d93c in Mlt::Consumer::start ()
   from /usr/local/lib/libmlt++.so.0.2.5
#9  0x00000000004ed2a4 in KRender::start (this=0xd03090) at krender.cpp:647
#10 0x00000000004e1f48 in Gui::KMMScreen::startRenderer (this=0xd04050)
    at kmmscreen.cpp:85
#11 0x00000000004de14e in Gui::KMMMonitor::slotSetActive (this=0xd03680)
    at kmmmonitor.cpp:166
#12 0x000000000050afc0 in Gui::MonitorManager::activateMonitor (this=0x8d27e0, 
    monitor=0xd03680) at monitormanager.cpp:64
#13 0x00000000004ad104 in Gui::KdenliveApp::activateClipMonitor (this=0x8d23a0)
    at kdenlive.cpp:4175
#14 0x00000000004ba845 in Gui::KdenliveApp::initMonitors (this=0x8d23a0)
    at kdenlive.cpp:2369
#15 0x00000000004ce988 in KdenliveApp (this=0x8d23a0, newDoc=false, 
    parent=0x0, name=0x0) at kdenlive.cpp:294
#16 0x000000000050ad3c in main (argc=1, argv=0x7fff7d5decd8) at main.cpp:94

Same here. Only on Ubuntu Gutsy.

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234557248 (LWP 32433)]
[KCrash handler]
#6  mlt_properties_set_int (this=0x0, name=0xb62eb94c "forced", value=3)
    at mlt_properties.c:275
#7  0xb62eaa12 in consumer_start (parent=0x860c7d0)
    at consumer_sdl_still.c:158
#8  0xb69c8c3d in mlt_consumer_start (this=0x860c7d0) at mlt_consumer.c:283
#9  0xb62e8e44 in consumer_start (parent=0x86061c8)
    at consumer_sdl_preview.c:208
#10 0xb69c8c3d in mlt_consumer_start (this=0x86061c8) at mlt_consumer.c:283
#11 0xb6fa49c2 in Mlt::Consumer::start () from /usr/lib/libmlt++.so.0.2.5
#12 0x081a1dad in KRender::start ()
#13 0x08156f26 in Gui::KdenliveApp::activateClipMonitor ()
#14 0x081574f2 in Gui::KdenliveApp::initMonitors ()
#15 0x08181044 in Gui::KdenliveApp::KdenliveApp ()
#16 0x081c6745 in main ()

To all:
This line from your output indicates that *system* MLT library is used:
/usr/lib/libmlt.so.0.2.2

This version is probably incompatible (too old) for Kdenlive SVN, you need ffmpeg and mlt SVN verson s well.
If you use kdenlive_builder all should be in ~/build/kdenlive directory, all libs and executables all linked together.
Check if you really launch the right Kdenlive executable from the right directory.
Use ldd tool to discover library links.
How to use ldd? check this forum I have already written how-to.

after compiling from svn (compiled ffmpeg, mlt, mlt++ and kdenlive)..compilation reported no errors. but kdenlive crashes on launch with this:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234766144 (LWP 12838)]
[KCrash handler]
#6  mlt_properties_set_int (this=0x0, name=0xb62c59ea "forced", value=3)
    at mlt_properties.c:275
#7  0xb62c4a22 in consumer_start (parent=0x85fc918) at consumer_sdl_still.c:165
#8  0xb6c03b44 in mlt_consumer_start (this=0x85fc918) at mlt_consumer.c:230
#9  0xb62c2e24 in consumer_start (parent=0x85ee5e0)
    at consumer_sdl_preview.c:208
#10 0xb6c03b44 in mlt_consumer_start (this=0x85ee5e0) at mlt_consumer.c:230
#11 0xb6c169c2 in Mlt::Consumer::start () from /usr/lib/libmlt++.so.0.2.3
#12 0x081a6b0d in KRender::start ()
#13 0x08156916 in Gui::KdenliveApp::activateClipMonitor ()
#14 0x08156952 in Gui::KdenliveApp::initMonitors ()
#15 0x08180b1c in Gui::KdenliveApp::KdenliveApp ()
#16 0x081c5335 in main ()

what does this suggest..any clues please?

The Kdenlive development version requires MLT 0.2.5 or svn. In your error messages, Kdenlive seems to be linked against MLT 0.2.3:

#11 0xb6c169c2 in Mlt::Consumer::start () from /usr/lib/libmlt++.so.0.2.3

I don't know how you installed your MLT and MLT++, but you probably have several versions installed. If you previously installed from a package, you should uninstall it.

Otherwise, I would recommand that you do the following:

go to /usr/lib and delete all mlt libraries ( rm libmlt* )
then go to /usr/include and delete folders mlt and mlt++
Finally in /usr/share, remove folder mlt

After that, recompile and reinstall your mlt and mlt++, make clean in kdenlive and recompile it.

regards

thank you.

i did as advised..removed all previous mlt and mlt++.

then started afresh to build from svn.

mlt built correctly and is in as /usr/local/lib/libmlt.so.0.2.5
had difficulty building mlt++, had to edit the congig.make file.

kdenlive got built and strangely installed in /bin.. ( a result my struggle and tinkering with directories perhaps)

Launching it, it crashed with this report

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234577728 (LWP 18551)]
[KCrash handler]
#6  0xb7b84133 in QMenuData::insertAny () from /usr/lib/libqt-mt.so.3
#7  0xb7b8491d in QMenuData::insertItem () from /usr/lib/libqt-mt.so.3
#8  0x081821b7 in Gui::KdenliveApp::KdenliveApp ()
#9  0x081c48d1 in main ()

Seem so close to getting it....pl suggest..thanks for you help....

I think the best is to delete all Kdenlive related files and reinstall in a standard location.

When installing, Kdenlive does copy 2 binaries: kdenlive and kdenlive_renderer in $PREFIX/bin and several important config & effects files in $PREFIX/share/apps/kdenlive/

If you previously installed Kdenlive in another place there might be conflicts. Please check if you have a kdenlive folder in /usr/share/apps, /usr/local/share/apps and $HOME/.kde/share/apps and remove all of them. Same for kdenlive binaries in /usr/bin, /usr/local/bin

Then, delete your kdenlive files in /bin and all files in /share/apps/kdenlive.
Finally, try installing in a standard location, like /usr/local. Before recompiling Kdenlive, delete the file CMakeCache.txt, then:

cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
make
sudo make install

That should install in /usr/local.
Good luck.

i did a fresh compile and this seems to be the problem..

Failed to load plugin: /usr/local/lib/libavformat.so.52: undefined symbol: av_strlcatf

i have ffmpeg version from svn.

[New Thread -1234848064 (LWP 14642)]
[KCrash handler]
#6  mlt_properties_set_int (this=0x0, name=0xb62cb94c "forced", value=3)
    at mlt_properties.c:275
#7  0xb62caa12 in consumer_start (parent=0x85c9d20) at consumer_sdl_still.c:158
#8  0xb6befc3d in mlt_consumer_start (this=0x85c9d20) at mlt_consumer.c:283
#9  0xb62c8e44 in consumer_start (parent=0x85ce1a8)
    at consumer_sdl_preview.c:208
#10 0xb6befc3d in mlt_consumer_start (this=0x85ce1a8) at mlt_consumer.c:283
#11 0xb6c029c2 in Mlt::Consumer::start () from /usr/local/lib/libmlt++.so.0.2.5
#12 0x081a774d in KRender::start ()
#13 0x08157556 in Gui::KdenliveApp::activateClipMonitor ()
#14 0x08157592 in Gui::KdenliveApp::initMonitors ()
#15 0x0818175c in Gui::KdenliveApp::KdenliveApp ()
#16 0x081c5f85 in main ()

I think i will just wait for the 0.6 version of kdenlive for ubuntu Gutsy ..Installing from svn is full of pitfalls. For now 0.5 is fine... Thanks for the efforts .. kdenlive is the best video editor for linux...

Success at last!!

The script version by JM worked for me. see this thread for the pitfalls i went thru...before getting it right..:-)

http://www.kdenlive.org/bbforum/viewtopic.php?f=8&t=339&st=0&sk=t&sd=a&start=10