Bug 361272 - git Applications/16.04: floating point crash / setMinimumSitze: negative sizes are note possible
Summary: git Applications/16.04: floating point crash / setMinimumSitze: negative size...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR grave
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-01 11:59 UTC by Wegwerf
Modified: 2016-04-01 12:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wegwerf 2016-04-01 11:59:33 UTC
Kdenlive crashes during startup (without any command line parameters):

Application: Kdenlive (kdenlive), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2867dd5800 (LWP 14862))]

Thread 1 (Thread 0x7f2867dd5800 (LWP 14862)):
[KCrash Handler]
#6  0x0000000000715871 in CustomRuler::setPixelPerMark(int, bool) ()
#7  0x0000000000786954 in Timeline::slotChangeZoom(int, int) ()
#8  0x0000000000782a59 in Timeline::loadTimeline() ()
#9  0x00000000006de9c5 in ProjectManager::newFile(bool, bool) ()
#10 0x00000000006dd8ec in ProjectManager::slotLoadOnOpen() ()
#11 0x0000000000af0d46 in ProjectManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#12 0x00007f2873f8d7b1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f28755169dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f287551bea6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f2873f5dd7b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f2873f60176 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f2873fb40e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f287055eff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f287055f250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f287055f2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f2873fb44ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f2873f5b50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f2873f635ec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x0000000000a77d70 in main ()

Console output is:
Removing cache at "/home/harald/.cache/kdenlive-thumbs.kcache"
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
QWidget::setMinimumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (150,-1) are not possible
QWidget::setMaximumSize: (TrackHeader_UI/HeaderTrack) Negative sizes (16777215,-1) are not possible
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /home/harald/kdenlive-local/kdenlive/build/src pid = 14862
KCrash: Arguments: /home/harald/kdenlive-local/kdenlive/build/src/kdenlive 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit

Reproducible: Always

Steps to Reproduce:
1. Start Kdenlive (version Applications/16.04)

Actual Results:  
Floating point signal/crash.

Expected Results:  
Kdenlive starts without crashing ;)
Comment 1 Wegwerf 2016-04-01 12:05:15 UTC
Deleting kdenliverc avoids the crash; but I'm now loosing all my detailed setup, such as the ShuttlePro configuration.
Comment 2 Jean-Baptiste Mardelle 2016-04-01 12:06:22 UTC
Git commit ef1c830958cad2ec1e43cd3a73de4c02404e69c9 by Jean-Baptiste Mardelle.
Committed on 01/04/2016 at 12:06.
Pushed by mardelle into branch 'Applications/16.04'.

Fix startup crash

M  +7    -4    src/mainwindow.cpp

http://commits.kde.org/kdenlive/ef1c830958cad2ec1e43cd3a73de4c02404e69c9
Comment 3 Wegwerf 2016-04-01 12:23:33 UTC
Okay, I managed to copy over some of my important configuration settings from the old kdenliverc into the new kdenliverc and got Kdenlive 16.04 correctly starting. Could the crash be related to the new Clip properties pane?
Comment 4 Jean-Baptiste Mardelle 2016-04-01 12:26:24 UTC
No, it was caused by a change in the default timeline track height. I reproduced and fixed it a few minutes ago, so shouldn't happen anymore.
Comment 5 Wegwerf 2016-04-01 12:26:43 UTC
Jean-Baptiste, you're rockin'! Yes, this also fixes my crashes over here; I've tested with my old kdenliverc that caused the crash previously. Thank you very much for this incredible quick fix!
Comment 6 Jean-Baptiste Mardelle 2016-04-01 12:36:18 UTC
Git commit ba32cad12335f67bc8cb265a22bf50ffa0b4de2c by Jean-Baptiste Mardelle.
Committed on 01/04/2016 at 12:33.
Pushed by mardelle into branch 'Applications/16.04'.

Make default track height slightly smaller

M  +1    -1    src/mainwindow.cpp

http://commits.kde.org/kdenlive/ba32cad12335f67bc8cb265a22bf50ffa0b4de2c