[Kdenlive-devel] Compile problems.....Crashes....HELP!
Peter Savage
silentkeystroke at googlemail.com
Wed May 7 23:46:20 UTC 2008
Hi Guys
I'm desperate to get the next version of my video cast out, pr0g80X.vid,
however the kdenlive package in ubuntu hardy is well and truly screwed. So,
I tried to compile from source using the script to do so. This didn't work
straight out. This is what I tried.
Ok, I got it built. I had to make two small hacks.
1) I hacked up the script, line 287 becomes
export CFLAGS="$CFLAGS -I$DEST_DIR/include/libavcodec/
-I$DEST_DIR/include/libavformat/ -I$DEST_DIR/include/libswscale/
-I$DEST_DIR/include/libavdevice/ -I$DEST_DIR/include/"
else it complains that it can't find the avcodec.h
2) Hack up a file in mlt source dir mlt/src/modules/avformat/Makefile
Change line 18, to read
LDFLAGS+=-L/home/pete/build/lib
However, even after doing this, it builds, but as soon as it starts, it
segfaults, with this.
Continuing.
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
kbuildsycoca running...
kio (KMimeType): WARNING: KServiceType::offers : servicetype
ThumbCreator not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype
ThumbCreator not found
kdenlive: // INIT EFFECT SEARCH
kdenlive: --------- close 1b
kdenlive: --------- close 2b
Program received signal SIGSEGV, Segmentation fault.
mlt_properties_set (this=0x0, name=0x829fb1c "resource",
value=0x852a7b8 "/usr/share/apps/kdenlive/profiles/metadata.properties")
at mlt_properties.c:277
277 property_list *list = this->local;
Current language: auto; currently c
(gdb) bt
#0 mlt_properties_set (this=0x0, name=0x829fb1c "resource",
value=0x852a7b8 "/usr/share/apps/kdenlive/profiles/metadata.properties")
at mlt_properties.c:277
#1 0xb6ce2bd8 in Mlt::Properties::set ()
from /home/pete/build/lib/libmlt++.so.0
#2 0x081af929 in KRender::KRender ()
#3 0x081b0948 in KRenderManager::createRenderer ()
#4 0x081b0cd0 in KRenderManager::findRenderer ()
#5 0x08192dc6 in KdenliveDoc::KdenliveDoc ()
#6 0x0817c715 in Gui::KdenliveApp::initDocument ()
#7 0x0818a987 in Gui::KdenliveApp::KdenliveApp ()
#8 0x081d0781 in main ()
(gdb)
When I was running on Ubuntu Hardy I got these back traces...
Program received signal SIGSEGV, Segmentation fault.
0xb7d09019 in QString::QString () from /usr/lib/libqt-mt.so.3
(gdb) bt
#0 0xb7d09019 in QString::QString () from /usr/lib/libqt-mt.so.3
#1 0x081f54c2 in Gui::TrackViewNameDecorator::paintClip ()
#2 0x081bb75d in Gui::KTrackPlacer::drawToBackBuffer ()
#3 0x081ba3af in Gui::KTrackPanel::drawToBackBuffer ()
#4 0x081bd436 in Gui::KTrackView::drawBackBuffer ()
#5 0x081bdb2b in Gui::KTrackView::paintEvent ()
#6 0xb7a2722b in QWidget::event () from /usr/lib/libqt-mt.so.3
#7 0xb7984c36 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#8 0xb7987564 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#9 0xb6ef7672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#10 0xb7915301 in QApplication::sendSpontaneousEvent ()
from /usr/lib/libqt-mt.so.3
#11 0xb790415a in QETWidget::translatePaintEvent () from
/usr/lib/libqt-mt.so.3
#12 0xb79121c3 in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.3
#13 0xb7929943 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#14 0xb799ff90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#15 0xb799fc8e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#16 0xb79867df in QApplication::exec () from /usr/lib/libqt-mt.so.3
#17 0x081c5a9e in main ()
kdenlive: ERROR: Trying to move selected clips, master clip is not set.
kdenlive: ERROR: Trying to move selected clips, master clip is not set.
kdenlive: -- CURRENT MULTIOTRACK HAS: 5 tracks
kdenlive: / / /DURATON FOR TRACK 4 = -1
kdenlive: / / /DURATON FOR TRACK 3 = 1573
kdenlive: / / /DURATON FOR TRACK 2 = -1
kdenlive: / / /DURATON FOR TRACK 1 = -1
kdenlive: / / /DURATON FOR TRACK 0 = 1574
kdenlive: // + +INSERTING CLIP: <westley><producer mlt_service="colour"
colour="black" in="0" out="1573" /></westley> AT: 0 on track: 0, DURATION:
1575
kdenlive: ////// LENGTH: 1574
kdenlive: // SCREEN length update: 1574
kdenlive: // FOUND EXISTING TRANS, IN: 0, OUT: 786, TRACK: 4
kdenlive: // OLD IN: 108 // OLD OUT: 895, TRACK: 1, MID POS: 501
kdenlive: // FOUND EXISTING TRANS, IN: 0, OUT: 786, TRACK: 3
kdenlive: // OLD IN: 108 // OLD OUT: 895, TRACK: 1, MID POS: 501
kdenlive: // FOUND EXISTING TRANS, IN: 0, OUT: 786, TRACK: 2
kdenlive: // OLD IN: 108 // OLD OUT: 895, TRACK: 1, MID POS: 501
Program received signal SIGSEGV, Segmentation fault.
0x08114687 in DocTrackBase::projectClip ()
(gdb) bt
#0 0x08114687 in DocTrackBase::projectClip ()
#1 0x08199498 in Command::KMoveClipsCommand::execute ()
#2 0xb72281ea in KCommandHistory::addCommand () from /usr/lib/libkdeui.so.4
#3 0x081e7e03 in TrackPanelClipMoveFunction::dragDropped ()
#4 0x081bb8e6 in Gui::KTrackView::dropEvent ()
#5 0xb7b10311 in QWidget::event () from /usr/lib/libqt-mt.so.3
#6 0xb7a6dc36 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#7 0xb7a70564 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#8 0xb6fe0672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#9 0xb79fe28d in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#10 0xb7a0bd30 in qt_handle_xdnd_drop () from /usr/lib/libqt-mt.so.3
#11 0xb7a0bfce in QDragManager::drop () from /usr/lib/libqt-mt.so.3
#12 0xb7a0f0b9 in QDragManager::eventFilter () from /usr/lib/libqt-mt.so.3
#13 0xb7a6da24 in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#14 0xb7a6fde5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#15 0xb6fe0672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#16 0xb79fe301 in QApplication::sendSpontaneousEvent ()
from /usr/lib/libqt-mt.so.3
#17 0xb79fcf8d in QETWidget::translateMouseEvent () from
/usr/lib/libqt-mt.so.3
#18 0xb79fb12f in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.3
#19 0xb7a12943 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#20 0xb7a88f90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#21 0xb7a6f75d in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#22 0xb7a0ee3f in QDragManager::drag () from /usr/lib/libqt-mt.so.3
#23 0xb7a8230a in QDragObject::drag () from /usr/lib/libqt-mt.so.3
#24 0xb7a7f45a in QDragObject::dragCopy () from /usr/lib/libqt-mt.so.3
#25 0x081e7325 in TrackPanelClipMoveFunction::initiateDrag ()
#26 0x081e75a0 in TrackPanelClipMoveFunction::mouseMoved ()
#27 0x081bbd4a in Gui::KTrackView::mouseMoveEvent ()
#28 0xb7b0fdb9 in QWidget::event () from /usr/lib/libqt-mt.so.3
#29 0xb7a6dc36 in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#30 0xb7a6fde5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#31 0xb6fe0672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#32 0xb79fe301 in QApplication::sendSpontaneousEvent ()
from /usr/lib/libqt-mt.so.3
#33 0xb79fcf8d in QETWidget::translateMouseEvent () from
/usr/lib/libqt-mt.so.3
#34 0xb79fb12f in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.3
#35 0xb7a12943 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#36 0xb7a88f90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#37 0xb7a88c8e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#38 0xb7a6f7df in QApplication::exec () from /usr/lib/libqt-mt.so.3
#39 0x081c5a9e in main ()
kdenlive: // + +INSERTING CLIP: <westley>
<producer id="24" resource="/home/pete/technuts/ep3/encsound/3.2.wav" />
</westley>
kdenlive: AT: 249 on track: 4, DURATION: 2008
kdenlive: Cannot add clip at 13.36 to 83.68
kdenlive: Because of clip 13.36 to 83.68
kdenlive: // CLIP PRJECT LENGTH IS: 2092
Program received signal SIGSEGV, Segmentation fault.
0x08114687 in DocTrackBase::projectClip ()
(gdb) bt
#0 0x08114687 in DocTrackBase::projectClip ()
#1 0x08199498 in Command::KMoveClipsCommand::execute ()
#2 0xb71421ea in KCommandHistory::addCommand () from /usr/lib/libkdeui.so.4
#3 0x081e7e03 in TrackPanelClipMoveFunction::dragDropped ()
#4 0x081bb8e6 in Gui::KTrackView::dropEvent ()
#5 0xb7a2a311 in QWidget::event () from /usr/lib/libqt-mt.so.3
#6 0xb7987c36 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#7 0xb798a564 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#8 0xb6efa672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#9 0xb791828d in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#10 0xb7925d30 in qt_handle_xdnd_drop () from /usr/lib/libqt-mt.so.3
#11 0xb7925fce in QDragManager::drop () from /usr/lib/libqt-mt.so.3
#12 0xb79290b9 in QDragManager::eventFilter () from /usr/lib/libqt-mt.so.3
#13 0xb7987a24 in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#14 0xb7989de5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#15 0xb6efa672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#16 0xb7918301 in QApplication::sendSpontaneousEvent () from
/usr/lib/libqt-mt.so.3
#17 0xb7916f8d in QETWidget::translateMouseEvent () from
/usr/lib/libqt-mt.so.3
#18 0xb791512f in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.3
#19 0xb792c943 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#20 0xb79a2f90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#21 0xb798975d in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#22 0xb7928e3f in QDragManager::drag () from /usr/lib/libqt-mt.so.3
#23 0xb799c30a in QDragObject::drag () from /usr/lib/libqt-mt.so.3
#24 0xb799945a in QDragObject::dragCopy () from /usr/lib/libqt-mt.so.3
#25 0x081e7325 in TrackPanelClipMoveFunction::initiateDrag ()
#26 0x081e75a0 in TrackPanelClipMoveFunction::mouseMoved ()
#27 0x081bbd4a in Gui::KTrackView::mouseMoveEvent ()
#28 0xb7a29db9 in QWidget::event () from /usr/lib/libqt-mt.so.3
#29 0xb7987c36 in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#30 0xb7989de5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#31 0xb6efa672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#32 0xb7918301 in QApplication::sendSpontaneousEvent () from
/usr/lib/libqt-mt.so.3
#33 0xb7916f8d in QETWidget::translateMouseEvent () from
/usr/lib/libqt-mt.so.3
#34 0xb791512f in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.3
#35 0xb792c943 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#36 0xb79a2f90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#37 0xb79a2c8e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#38 0xb79897df in QApplication::exec () from /usr/lib/libqt-mt.so.3
#39 0x081c5a9e in main ()
(gdb)
kdenlive: -- CURRENT MULTIOTRACK HAS: 5 tracks
kdenlive: / / /DURATON FOR TRACK 4 = 1017
kdenlive: / / /DURATON FOR TRACK 3 = -1
kdenlive: / / /DURATON FOR TRACK 2 = 3190
kdenlive: / / /DURATON FOR TRACK 1 = 770
kdenlive: / / /DURATON FOR TRACK 0 = 3191
kdenlive: // + +INSERTING CLIP: <westley><producer mlt_service="colour"
colour="black" in="0" out="3190" /></westley> AT: 0 on track: 0, DURATION:
3192
kdenlive: ////// LENGTH: 3191
kdenlive: // SCREEN length update: 3191
kdenlive: // FOUND EXISTING TRANS, IN: 367, OUT: 770, TRACK: 2
kdenlive: // OLD IN: 162 // OLD OUT: 1017, TRACK: 3, MID POS: 589
kdenlive: // CLIP PRJECT LENGTH IS: 3190
kdenlive: ////// LENGTH: 3191
kdenlive: // SCREEN length update: 3191
kdenlive: // CLIP PRJECT LENGTH IS: 3190
kdenlive: ///////// WARNING, TRYING TO DELETE DEAD CLIP AT 619 ON TRACK: 3
kdenlive: +++++++++++ Generating scenelist start... ++++++++++++++++++
Program received signal SIGSEGV, Segmentation fault.
0x080fbbac in DocClipRef::clipType ()
(gdb) bt
#0 0x080fbbac in DocClipRef::clipType ()
#1 0x08100f8b in DocClipRef::generateXMLTransition ()
#2 0x080f981f in DocClipProject::generateSceneList ()
#3 0x08102db4 in DocClipRef::generateSceneList ()
#4 0x081908a6 in Gui::KMMMonitor::doCommonSetClip ()
#5 0x08191637 in Gui::KMMMonitor::slotSetClip ()
#6 0x08215a2b in Gui::KMMMonitor::qt_invoke ()
#7 0xb7a18704 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#8 0x08211980 in KdenliveDoc::documentChanged ()
#9 0x08185421 in KdenliveDoc::hasBeenModified ()
#10 0x082112d5 in KdenliveDoc::qt_invoke ()
#11 0xb7a18704 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb7a191e9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0xb7daa320 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#14 0xb7a3fd0e in QTimer::event () from /usr/lib/libqt-mt.so.3
#15 0xb79acc36 in QApplication::internalNotify () from
/usr/lib/libqt-mt.so.3
#16 0xb79aea5f in QApplication::notify () from /usr/lib/libqt-mt.so.3
#17 0xb6f1f672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#18 0xb793d28d in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#19 0xb799fb19 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#20 0xb795264b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#21 0xb79c7f90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#22 0xb79c7c8e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#23 0xb79ae7df in QApplication::exec () from /usr/lib/libqt-mt.so.3
#24 0x081c5a9e in main ()
(gdb)
Please can someone help me ;)
--
Pete Savage - cbx33::silentk
wiki.ubuntu.com/PeteSavage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20080508/bfbc3a84/attachment.html>
More information about the Kdenlive
mailing list