Bug 355987 - continue crash on Ubuntu 15.10 in more situation (transform, title, move clips ....)
Summary: continue crash on Ubuntu 15.10 in more situation (transform, title, move clip...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 12:05 UTC by claudio
Modified: 2016-08-07 16:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description claudio 2015-11-27 12:05:10 UTC
excuse me for my terrible english.
Ubuntu 15.10  amd64
At now, i have installed repository version of kdenlive (15.08.1).
It is very very  unstable, for example when i click on same filter
(transform ecc), application go in crash.
I think is necessary a  test on this version of ubuntu.
On ubuntu 15.04 still ok (pc of my son)
Your binary repository for ubuntu 15.10 are empty (???)
I think that kdenlive  is better free software for video editing and,
when possible, i promote use  with link on my  presentations.
I still wait!!!
very very thank you !
claudio
Bologna, Italy


Reproducible: Always

Steps to Reproduce:
1.insert transform effect on timeline
2.move clips on timeline


Actual Results:  
crash

Expected Results:  
work ok
Comment 1 claudio 2015-11-27 12:08:34 UTC
in repository sunab/kdenlive there is no  version for ubuntu 15.10
Comment 2 smichal88 2015-12-04 21:32:14 UTC
I also have similar problem:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff1effd700 (LWP 9235)]
QFontEngineFT::shouldUseDesignMetrics (this=this@entry=0x7fff683a2c90, flags=...) at ../gui/text/qfontengine_ft.cpp:1597

(gdb) bt
#0  QFontEngineFT::shouldUseDesignMetrics (this=this@entry=0x7fff683a2c90, flags=...) at ../gui/text/qfontengine_ft.cpp:1597
#1  0x00007fffe5f54acb in QFontEngineFT::recalcAdvances (this=this@entry=0x7fff683a2c90, glyphs=glyphs@entry=0x7fff1eff9f60, flags=...) at ../gui/text/qfontengine_ft.cpp:1606
#2  0x00007ffff2bb7379 in _hb_qt_font_get_glyph_h_advance (font=<optimized out>, font_data=0x7fff683a2c90, glyph=48) at text/qharfbuzzng.cpp:401
#3  0x00007fffee003337 in ?? () from /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
#4  0x00007fffedfe65aa in hb_shape_plan_execute () from /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
#5  0x00007fffedfe5ad1 in hb_shape_full () from /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
#6  0x00007ffff2af81e6 in QTextEngine::shapeTextWithHarfbuzzNG (this=this@entry=0x7fff683a15b0, si=..., string=string@entry=0x7fff60002568, itemLength=itemLength@entry=14, fontEngine=fontEngine@entry=0x7fff683bfd10, itemBoundaries=..., kerningEnabled=true)
    at text/qtextengine.cpp:1170
#7  0x00007ffff2afb420 in QTextEngine::shapeText (this=this@entry=0x7fff683a15b0, item=item@entry=0) at text/qtextengine.cpp:1055
#8  0x00007ffff2afbfaf in QTextEngine::shape (this=this@entry=0x7fff683a15b0, item=item@entry=0) at text/qtextengine.cpp:1479
#9  0x00007ffff2b017c4 in QTextEngine::shapeLine (this=0x7fff683a15b0, line=...) at text/qtextengine.cpp:925
#10 0x00007ffff2b03f7f in QTextLineItemIterator::QTextLineItemIterator (this=0x7fff1effa760, _eng=<optimized out>, _lineNum=<optimized out>, pos=..., _selection=<optimized out>) at text/qtextengine.cpp:3532
#11 0x00007ffff2b098e2 in QTextLine::draw (this=this@entry=0x7fff1effae20, p=p@entry=0x7fff1effc4a0, pos=..., selection=selection@entry=0x0) at text/qtextlayout.cpp:2351
#12 0x00007ffff2b0ad5d in QTextLayout::draw (this=this@entry=0x7fff683a18b0, p=p@entry=0x7fff1effc4a0, pos=..., selections=..., clip=...) at text/qtextlayout.cpp:1192
#13 0x00007ffff2b4dc69 in QTextDocumentLayoutPrivate::drawBlock (this=this@entry=0x7fff683a1090, offset=..., painter=painter@entry=0x7fff1effc4a0, context=..., bl=..., inRootFrame=inRootFrame@entry=true) at text/qtextdocumentlayout.cpp:1353
#14 0x00007ffff2b56373 in QTextDocumentLayoutPrivate::drawFlow (this=this@entry=0x7fff683a1090, offset=..., painter=painter@entry=0x7fff1effc4a0, context=..., it=..., floats=..., cursorBlockNeedingRepaint=0x7fff1effb6b0) at text/qtextdocumentlayout.cpp:1251
#15 0x00007ffff2b55d9e in QTextDocumentLayoutPrivate::drawFrame (this=this@entry=0x7fff683a1090, offset=..., painter=painter@entry=0x7fff1effc4a0, context=..., frame=frame@entry=0x7fff683a1300) at text/qtextdocumentlayout.cpp:1079
#16 0x00007ffff2b588f2 in QTextDocumentLayout::draw (this=<optimized out>, painter=0x7fff1effc4a0, context=...) at text/qtextdocumentlayout.cpp:2878
#17 0x00007ffff3552c7c in QWidgetTextControl::drawContents (this=0x7fff6839ec90, p=p@entry=0x7fff1effc4a0, rect=..., widget=widget@entry=0x0) at widgets/qwidgettextcontrol.cpp:3189
#18 0x00007ffff366ef2a in QGraphicsTextItem::paint (this=0x7fff6839b0c0, painter=0x7fff1effc4a0, option=0x7fff6839add8, widget=<optimized out>) at graphicsview/qgraphicsitem.cpp:10022
#19 0x00007ffff36a9e50 in QGraphicsScenePrivate::draw (this=this@entry=0x7fff6839abc0, item=item@entry=0x7fff6839b0d0, painter=painter@entry=0x7fff1effc4a0, viewTransform=viewTransform@entry=0x7fff1effc150, transformPtr=transformPtr@entry=0x7fff1effbfa0, 
    exposedRegion=<optimized out>, widget=0x0, opacity=opacity@entry=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4906
#20 0x00007ffff36aaf23 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x7fff6839abc0, item=0x7fff6839b0d0, painter=painter@entry=0x7fff1effc4a0, viewTransform=viewTransform@entry=0x7fff1effc150, exposedRegion=exposedRegion@entry=0x0, 
    widget=widget@entry=0x0, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4799
#21 0x00007ffff36ab6aa in QGraphicsScene::drawItems (this=<optimized out>, painter=0x7fff1effc4a0, numItems=<optimized out>, items=<optimized out>, options=<optimized out>, widget=0x0) at graphicsview/qgraphicsscene.cpp:5332
#22 0x00007ffff3699713 in QGraphicsScene::render (this=0x7fff68355660, painter=0x7fff1effc4a0, target=..., source=..., aspectRatioMode=<optimized out>) at graphicsview/qgraphicsscene.cpp:1813
#23 0x00007fffc7266a76 in drawKdenliveTitle () from /usr/lib/x86_64-linux-gnu/mlt/libmltqt.so
#24 0x00007fffc725bec8 in ?? () from /usr/lib/x86_64-linux-gnu/mlt/libmltqt.so
#25 0x00007ffff6fde9a7 in mlt_frame_get_image () from /usr/lib/x86_64-linux-gnu/libmlt.so.6
#26 0x00007fffb2e3ce91 in ?? () from /usr/lib/x86_64-linux-gnu/mlt/libmltxine.so
#27 0x00007ffff6fde9a7 in mlt_frame_get_image () from /usr/lib/x86_64-linux-gnu/libmlt.so.6
#28 0x00007fffc703d5e7 in ?? () from /usr/lib/x86_64-linux-gnu/mlt/libmltcore.so
#29 0x00007ffff6fde9a7 in mlt_frame_get_image () from /usr/lib/x86_64-linux-gnu/libmlt.so.6
#30 0x00007fffc703c1be in ?? () from /usr/lib/x86_64-linux-gnu/mlt/libmltcore.so
#31 0x00007ffff6fde9a7 in mlt_frame_get_image () from /usr/lib/x86_64-linux-gnu/libmlt.so.6
#32 0x00007fffc7041842 in ?? () from /usr/lib/x86_64-linux-gnu/mlt/libmltcore.so
#33 0x00007ffff6fde9a7 in mlt_frame_get_image () from /usr/lib/x86_64-linux-gnu/libmlt.so.6
#34 0x00007fffc7041d8a in ?? () from /usr/lib/x86_64-linux-gnu/mlt/libmltcore.so
#35 0x00007ffff6fde9a7 in mlt_frame_get_image () from /usr/lib/x86_64-linux-gnu/libmlt.so.6
#36 0x00007ffff6dc750d in Mlt::Frame::get_image(mlt_image_format&, int&, int&, int) () from /usr/lib/x86_64-linux-gnu/libmlt++.so.3
#37 0x00000000007f4edc in KThumb::getFrame (frame=frame@entry=0x7fff60001ce0, width=width@entry=267, height=height@entry=150) at ../../src/doc/kthumb.cpp:211
#38 0x00000000007ecd1d in ProjectClip::slotExtractImage (this=0x27bc310, frames=...) at ../../src/bin/projectclip.cpp:725
#39 0x00000000005b788f in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, ProjectClip, QList<int>, QList<int> >::runFunctor (this=0x77cd0c0) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:402
#40 0x0000000000557e95 in QtConcurrent::RunFunctionTask<void>::run (this=0x77cd0c0) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentrunbase.h:130
#41 0x00007ffff2523e73 in QThreadPoolThread::run (this=0x22e09a0) at thread/qthreadpool.cpp:93
#42 0x00007ffff25272be in QThreadPrivate::start (arg=0x22e09a0) at thread/qthread_unix.cpp:337
#43 0x00007ffff0a506aa in start_thread (arg=0x7fff1effd700) at pthread_create.c:333
#44 0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109


kdenlive version: 4:15.08.2.1~really15.08.1-0ubuntu2

qt version: 
5.4.2+dfsg-2ubuntu9

Thank you.
Comment 3 Vincent PINON 2015-12-28 20:58:31 UTC
all crashes in QFontEngineFT::shouldUseDesignMetrics come from our titler module in MLT that is not thread safe, and we haven't found a solution for long.
as a workaround, you should try to reduce the number of processing threads in Kdenlive settings/ Environment (and maybe same for encoding threads in render dialog), or avoid using Kdenlive titles and rather prepare SVG/PNG from graphics editors.
Comment 4 Jean-Baptiste Mardelle 2016-03-12 08:21:37 UTC
Good news, this was finally fixed in MLT's recent GIT, waiting for feedback but this should fix this crash!