Bug 415299 - Crash when opening a project with Qt 5.14
Summary: Crash when opening a project with Qt 5.14
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 19.12.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 415840 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-17 20:44 UTC by Antonio Rojas
Modified: 2021-03-04 14:55 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2019-12-17 20:44:34 UTC
SUMMARY
kdenlive crashes immediately when trying to open or create a new project with Qt 5.14

bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff43c29b3 in non-virtual thunk to VDMAbstractItemModelDataType::rowCount(QQmlAdaptorModel const&) const ()
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/include/QtQml/5.14.0/QtQml/private/../../../../../src/qml/qml/qqmlguard_p.h:226
#2  0x00007ffff43c130d in QQmlAdaptorModel::rowCount() const (this=<optimized out>)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/src/qmlmodels/qqmladaptormodel.cpp:991
#3  0x00007ffff43c13e0 in QQmlAdaptorModel::columnAt(int) const (this=<optimized out>, index=-1)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/src/qmlmodels/qqmladaptormodel.cpp:1007
#4  0x00007ffff43c507c in non-virtual thunk to VDMAbstractItemModelDataType::modelIndex(QQmlAdaptorModel const&, int) const ()
    at /usr/include/qt/QtCore/qvariant.h:397
#5  0x00007ffff43cb96b in QQmlAdaptorModel::modelIndex(int) const (index=<optimized out>, this=<optimized out>)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/include/QtQmlModels/5.14.0/QtQmlModels/private/../../../../../src/qmlmodels/qqmladaptormodel_p.h:158
#6  0x00007ffff43cb96b in QQmlDelegateModel::modelIndex(int) const (this=this@entry=0x55555e7d7c70, idx=<optimized out>)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/src/qmlmodels/qqmldelegatemodel.cpp:559
#7  0x00007ffff43da64b in QQmlDelegateModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
    (_o=_o@entry=0x55555e7d7c70, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=15, _a=_a@entry=0x7fffffff9290)
    at .moc/moc_qqmldelegatemodel_p.cpp:209
#8  0x00007ffff43dab89 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**)
    (this=0x55555e7d7c70, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fffffff9290) at .moc/moc_qqmldelegatemodel_p.cpp:346
#9  0x00007ffff5fe238f in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const
    (this=this@entry=0x7fffffff95a0, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=25, argv=0x7fffffff9290)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/include/QtQml/5.14.0/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#10 0x00007ffff5e7c395 in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call)
    (object=..., index=<optimized out>, returnType=returnType@entry=41, argCount=<optimized out>, argTypes=<optimized out>, engine=engine@entry=0x555559144340, callArgs=<optimized out>, callType=<optimized out>) at /usr/include/qt/QtCore/qvarlengtharray.h:201
#11 0x00007ffff5e7cc57 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call)
--Type <RET> for more, q to quit, c to continue without paging--
    (object=..., data=..., engine=engine@entry=0x555559144340, callArgs=callArgs@entry=0x7fffae37f590, callType=callType@entry=QMetaObject::InvokeMetaMethod)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/include/QtQml/5.14.0/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:196
#12 0x00007ffff5e7d832 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const
    (this=0x7fffffff9698, thisObject=0x7fffae37f540, argv=0x7fffae37f558, argc=<optimized out>)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:2127
#13 0x00007ffff5e7dbff in QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int)
    (m=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/src/qml/jsruntime/qv4qobjectwrapper.cpp:2064
#14 0x00007ffff5ebe4ab in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const
    (argc=1, argv=0x7fffae37f558, thisObject=0x7fffae37f540, this=0x7fffffff9698)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/src/qml/jsruntime/qv4functionobject_p.h:172
#15 0x00007ffff5ebe4ab in QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int)
    (engine=0x555559144340, base=..., index=<optimized out>, argv=0x7fffae37f558, argc=1)
    at /build/qt5-declarative/src/qtdeclarative-everywhere-src-5.14.0/src/qml/jsruntime/qv4runtime.cpp:1452
#16 0x00007fff9a4accd6 in  ()
#17 0x0000000000000000 in  ()
Comment 1 emohr 2019-12-20 17:14:06 UTC
see: https://invent.kde.org/kde/kdenlive/issues/494
Comment 2 Pavel 2019-12-22 09:06:46 UTC
Okay, I'm also a victim of this disaster.
Now I'm forced to edit on a small laptop screen with non-updated Qt where Kdenlive controls hardly fit...
Comment 3 Antonio Rojas 2020-01-03 17:43:21 UTC
*** Bug 415840 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Sturmlechner 2020-01-16 17:40:16 UTC
Please add commit b20a7307368932b35ec0d7cdebb68a710cbbf8ba to release/19.12 branch, we certainly added it downstream.

Commit mentions 'Related to #494' but I'm not sure what that is supposed to reference.
Comment 5 Christoph Feck 2020-01-17 21:16:41 UTC
Those numbers are invent.kde.org (gitlab) issue numbers, see https://invent.kde.org/kde/kdenlive/issues/494
Comment 6 farid 2021-03-04 14:55:51 UTC
This seems to be fixed via: https://invent.kde.org/multimedia/kdenlive/-/commit/4493cbbcf2a3f4b82871f978fc9c7909d11f316a

Please reopen if you find any issues.

Thanks