Bug 440436 - Kdenlive crash (SIGABRT) on creating a project
Summary: Kdenlive crash (SIGABRT) on creating a project
Status: RESOLVED NOT A BUG
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 21.04.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-30 22:29 UTC by Anna
Modified: 2021-08-01 09:54 UTC (History)
0 users

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 Anna 2021-07-30 22:29:20 UTC
Application: kdenlive (21.04.3)
 (Compiled from sources)
Qt Version: 5.15.3 (KDE Qt5 Patch Collection)
Frameworks Version: 5.84.0
Operating System: Linux 5.12.0-pf4 x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
I tried to create a project with default options.

The crash can be reproduced every time. Removing ~/.config/kdenlive*, ~/.cache/kdenlive and ~/.local/share/kdenlive didn't help.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007f3882402536 in __GI_abort () at abort.c:79
#6  0x00007f388277496e in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/libstdc++.so.6
#7  0x00007f38827a2daa in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/libstdc++.so.6
#8  0x00007f38827a2e15 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/libstdc++.so.6
#9  0x00007f38827a3b43 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/libstdc++.so.6
#10 0x00007f3882bcafd2 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0x555d2441c3b0, parent=..., first=3, last=3) at ../../../qtcore-5.15.9999/src/corelib/itemmodels/qabstractitemmodel.cpp:2815
#11 0x0000555d205daac3 in operator() (__closure=<optimized out>) at ../kdenlive-21.04.3/src/timeline2/model/timelinemodel.cpp:3627
#12 std::__invoke_impl<bool, TimelineModel::deregisterTrack_lambda(int)::<lambda()>&> (__f=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/invoke.h:61
#13 std::__invoke_r<bool, TimelineModel::deregisterTrack_lambda(int)::<lambda()>&> (__fn=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/invoke.h:142
#14 std::_Function_handler<bool(), TimelineModel::deregisterTrack_lambda(int)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/std_function.h:291
#15 0x0000555d205dadec in std::function<bool ()>::operator()() const (this=0x7ffc7392eb20) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/std_function.h:556
#16 TimelineModel::~TimelineModel() (this=this@entry=0x555d2441c3b0, __in_chrg=<optimized out>) at ../kdenlive-21.04.3/src/timeline2/model/timelinemodel.cpp:168
#17 0x0000555d205b1d85 in TimelineItemModel::~TimelineItemModel() (this=0x555d2441c3b0, __in_chrg=<optimized out>) at ../kdenlive-21.04.3/src/timeline2/model/timelineitemmodel.cpp:80
#18 TimelineItemModel::~TimelineItemModel() (this=0x555d2441c3b0, __in_chrg=<optimized out>) at ../kdenlive-21.04.3/src/timeline2/model/timelineitemmodel.cpp:80
#19 std::_Sp_counted_ptr<TimelineItemModel*, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/shared_ptr_base.h:348
#20 0x0000555d2056ad02 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (this=0x555d25964590) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/shared_ptr_base.h:168
#21 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (this=<optimized out>, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/shared_ptr_base.h:702
#22 std::__shared_ptr<TimelineItemModel, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (this=<optimized out>, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/shared_ptr_base.h:1149
#23 std::__shared_ptr<TimelineItemModel, (__gnu_cxx::_Lock_policy)2>::reset() (this=0x555d2159a308) at /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/shared_ptr_base.h:1267
#24 ProjectManager::closeCurrentDocument(bool, bool) (this=this@entry=0x555d2159a2f0, saveChanges=saveChanges@entry=true, quit=quit@entry=false) at ../kdenlive-21.04.3/src/project/projectmanager.cpp:295
#25 0x0000555d2056ee5c in ProjectManager::newFile(QString, bool) (this=0x555d2159a2f0, profileName=..., showProjectSettings=<optimized out>) at ../kdenlive-21.04.3/src/project/projectmanager.cpp:181
#26 0x0000555d2056f94d in ProjectManager::newFile(bool) (this=0x555d2159a2f0, showProjectSettings=<optimized out>) at ../kdenlive-21.04.3/src/project/projectmanager.cpp:140
#27 0x00007f3882c48e98 in doActivate<false>(QObject*, int, void**) (sender=0x555d21573910, signal_index=4, argv=0x7ffc7392ee60) at ../../../qtcore-5.15.9999/src/corelib/kernel/qobject.cpp:3898
#28 0x00007f3882c42787 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x555d21573910, m=m@entry=0x7f388430dd60 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc7392ee60) at ../../../qtcore-5.15.9999/src/corelib/kernel/qobject.cpp:3946
#29 0x00007f3883d9f7ea in QAction::triggered(bool) (this=this@entry=0x555d21573910, _t1=<optimized out>) at .moc/moc_qaction.cpp:379
#30 0x00007f3883da25a8 in QAction::activate(QAction::ActionEvent) (this=0x555d21573910, event=<optimized out>) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qaction.cpp:1161
#31 0x00007f3883e9ed82 in QAbstractButtonPrivate::click() (this=0x555d23d27e00) at ../../../qtwidgets-5.15.9999/src/widgets/widgets/qabstractbutton.cpp:398
#32 0x00007f3883e9eed7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x555d23d27dc0, e=0x7ffc7392f3d0) at ../../../qtwidgets-5.15.9999/src/widgets/widgets/qabstractbutton.cpp:1044
#33 0x00007f3883f9b4ba in QToolButton::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, e=<optimized out>) at ../../../qtwidgets-5.15.9999/src/widgets/widgets/qtoolbutton.cpp:622
#34 0x00007f3883dea5ce in QWidget::event(QEvent*) (this=0x555d23d27dc0, event=0x7ffc7392f3d0) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qwidget.cpp:9020
#35 0x00007f3883da660f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x555d20eb8d20, receiver=receiver@entry=0x555d23d27dc0, e=e@entry=0x7ffc7392f3d0) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qapplication.cpp:3632
#36 0x00007f3883dae04e in QApplication::notify(QObject*, QEvent*) (this=0x7ffc7392f090, receiver=0x555d23d27dc0, e=0x7ffc7392f3d0) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qapplication.cpp:3076
#37 0x00007f3882c12fd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555d23d27dc0, event=0x7ffc7392f3d0) at ../../../qtcore-5.15.9999/src/corelib/kernel/qcoreapplication.cpp:1064
#38 0x00007f3883dacbe3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=receiver@entry=0x555d23d27dc0, event=event@entry=0x7ffc7392f3d0, alienWidget=<optimized out>, alienWidget@entry=0x555d23d27dc0, nativeWidget=0x555d212d7cc0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qapplication.cpp:2614
#39 0x00007f3883e044e6 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x555d2342c720, event=0x7ffc7392f680) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qwidgetwindow.cpp:683
#40 0x00007f3883e075cd in QWidgetWindow::event(QEvent*) (this=0x555d2342c720, event=0x7ffc7392f680) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qwidgetwindow.cpp:300
#41 0x00007f3883da660f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555d2342c720, e=0x7ffc7392f680) at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qapplication.cpp:3632
#42 0x00007f3882c12fd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555d2342c720, event=0x7ffc7392f680) at ../../../qtcore-5.15.9999/src/corelib/kernel/qcoreapplication.cpp:1064
#43 0x00007f38837696d8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7ffc7392f7d0) at ../../../qtgui-5.15.9999/src/gui/kernel/qguiapplication.cpp:2282
#44 0x00007f388376a243 in QGuiApplicationPrivate::processTabletEvent(QWindowSystemInterfacePrivate::TabletEvent*) (e=0x7f3878018e00) at ../../../qtgui-5.15.9999/src/gui/kernel/qguiapplication.cpp:2735
#45 0x00007f3883748b13 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at ../../../qtgui-5.15.9999/src/gui/kernel/qwindowsysteminterface.cpp:1169
#46 0x00007f387e3797ea in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at ../../../../../qtgui-5.15.9999/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#47 0x00007f3880c4219a in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#48 0x00007f3880c42430 in  () at /usr/lib64/libglib-2.0.so.0
#49 0x00007f3880c424df in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#50 0x00007f3882c687cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555d20f25430, flags=...) at ../../../qtcore-5.15.9999/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#51 0x00007f3882c115eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc7392fb20, flags=..., flags@entry=...) at ../../include/QtCore/../../../qtcore-5.15.9999/src/corelib/global/qflags.h:69
#52 0x00007f3882c1a0a5 in QCoreApplication::exec() () at ../../include/QtCore/../../../qtcore-5.15.9999/src/corelib/global/qflags.h:121
#53 0x00007f388375df3c in QGuiApplication::exec() () at ../../../qtgui-5.15.9999/src/gui/kernel/qguiapplication.cpp:1867
#54 0x00007f3883da6585 in QApplication::exec() () at ../../../qtwidgets-5.15.9999/src/widgets/kernel/qapplication.cpp:2824
#55 0x0000555d20212097 in main(int, char**) (argc=<optimized out>, argv=0x7ffc7392fc38) at ../kdenlive-21.04.3/src/main.cpp:277
[Inferior 1 (process 14468) detached]

Possible duplicates by query: bug 440257, bug 429344, bug 427384, bug 424911, bug 423951.
Comment 1 Anna 2021-08-01 09:54:02 UTC
I had this problem because qtcore was build with `CONFIG+=debug` on my machine so
it had extra asserts that crashed Kdenlive. Solved.