Bug 414162 - Crash during save
Summary: Crash during save
Status: RESOLVED FIXED
Alias: None
Product: calligraplan
Classification: Applications
Component: general (show other bugs)
Version: 3.2.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-11-15 08:17 UTC by Dag Andersen
Modified: 2019-11-18 13:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dag Andersen 2019-11-15 08:17:33 UTC
Application: calligraplan (3.2.0)

Qt Version: 5.13.1
Frameworks Version: 5.63.0
Operating System: Linux 4.15.0-66-generic x86_64
Distribution: KDE neon User Edition 5.17

-- Information about the crash:
- What I was doing when the application crashed:

Activating "Use local taskmodules" in Project->Edit->TaskModules, OK, then close/save calligraplan quicly.

-- Backtrace:
Application: Plan (calligraplan), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9986017800 (LWP 11017))]

Thread 4 (Thread 0x7f9949aba700 (LWP 11035)):
#0  0x00007f9959ebf13c in pa_mainloop_dispatch () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#1  0x00007f9959ebf4de in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f9959ebf560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f9959ecd3c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f9959a6a318 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#5  0x00007f997f9176db in start_thread (arg=0x7f9949aba700) at pthread_create.c:463
#6  0x00007f998597a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f99625a4700 (LWP 11020)):
#0  0x00007f997e1ec664 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f997e1a5b18 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f997e1a64fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f997e1a66dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f99843d69db in QEventDispatcherGlib::processEvents (this=0x7f9954000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f9984376eaa in QEventLoop::exec (this=this@entry=0x7f99625a3d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f99841923ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007f997ff660e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f9984193b72 in QThreadPrivate::start (arg=0x7f99801ddd80) at thread/qthread_unix.cpp:360
#9  0x00007f997f9176db in start_thread (arg=0x7f99625a4700) at pthread_create.c:463
#10 0x00007f998597a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9963440700 (LWP 11019)):
#0  0x00007f997f91d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557cfb4f6eb0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557cfb4f6e60, cond=0x557cfb4f6e88) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557cfb4f6e88, mutex=0x557cfb4f6e60) at pthread_cond_wait.c:655
#3  0x00007f99686ada2b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
#4  0x00007f99686ad757 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
#5  0x00007f997f9176db in start_thread (arg=0x7f9963440700) at pthread_create.c:463
#6  0x00007f998597a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9986017800 (LWP 11017)):
[KCrash Handler]
#6  0x0000557cfe692450 in ?? ()
#7  0x00007f99855d78fa in KoDocument::isNativeFormat (this=0x557cfb63d6c0, mimetype=...) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:2173
#8  0x00007f99855cba20 in KoDocument::saveFile (this=0x557cfb63d6c0) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:577
#9  0x00007f99855d8e85 in KoDocument::save (this=0x557cfb63d6c0) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:2502
#10 0x00007f99855ee561 in KoMainWindow::saveDocument (this=0x557cfb69aad0, saveas=false, silent=false, specialOutputFlag=0) at /home/dev/cp/calligraplan/src/libs/main/KoMainWindow.cpp:1140
#11 0x00007f99855f0399 in KoMainWindow::slotFileSave (this=0x557cfb69aad0) at /home/dev/cp/calligraplan/src/libs/main/KoMainWindow.cpp:1359
#12 0x00007f9985623b88 in KoMainWindow::qt_static_metacall (_o=0x557cfb69aad0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7ffd477b0c90) at /home/dev/cp/build/src/libs/main/planmain_autogen/EWIEGA46WW/moc_KoMainWindow.cpp:273
#13 0x00007f99843a9715 in QMetaObject::activate (sender=sender@entry=0x557cfb5b4010, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=<optimized out>, argv@entry=0x7ffd477b0c90) at kernel/qobject.cpp:3809
#14 0x00007f99843a9dd7 in QMetaObject::activate (sender=sender@entry=0x557cfb5b4010, m=m@entry=0x7f998506d3c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd477b0c90) at kernel/qobject.cpp:3660
#15 0x00007f998498d7c2 in QAction::triggered (this=this@entry=0x557cfb5b4010, _t1=<optimized out>) at .moc/moc_qaction.cpp:381
#16 0x00007f998498fe7c in QAction::activate (this=0x557cfb5b4010, event=<optimized out>) at kernel/qaction.cpp:1166
#17 0x00007f99849907d1 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1092
#18 0x00007f9984993eac in QApplicationPrivate::notify_helper (this=this@entry=0x557cfb41e400, receiver=receiver@entry=0x557cfb5b4010, e=e@entry=0x7ffd477b1040) at kernel/qapplication.cpp:3703
#19 0x00007f998499b4b0 in QApplication::notify (this=0x7ffd477b3c40, receiver=0x557cfb5b4010, e=0x7ffd477b1040) at kernel/qapplication.cpp:3449
#20 0x00007f99855c3dd1 in KoApplication::notify (this=0x7ffd477b3c40, receiver=0x557cfb5b4010, event=0x7ffd477b1040) at /home/dev/cp/calligraplan/src/libs/main/KoApplication.cpp:619
#21 0x00007f9984378d48 in QCoreApplication::notifyInternal2 (receiver=0x557cfb5b4010, event=0x7ffd477b1040) at kernel/qcoreapplication.cpp:1095
#22 0x00007f998055ad02 in QShortcutMap::dispatchEvent (this=this@entry=0x557cfb41e4e0, e=e@entry=0x7ffd477b10f0) at kernel/qshortcutmap.cpp:700
#23 0x00007f998055adca in QShortcutMap::tryShortcut (this=this@entry=0x557cfb41e4e0, e=e@entry=0x7ffd477b10f0) at kernel/qshortcutmap.cpp:351
#24 0x00007f998050f003 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, window@entry=0x557cfb736c50, timestamp=4627948, keyCode=83, modifiers=..., nativeScanCode=39, nativeVirtualKey=115, nativeModifiers=4, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:465
#25 0x00007f998052ca87 in QGuiApplicationPrivate::processKeyEvent (e=0x557cfbb2a000) at kernel/qguiapplication.cpp:2216
#26 0x00007f99805313b5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x557cfbb2a000) at kernel/qguiapplication.cpp:1852
#27 0x00007f998050b71b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1148
#28 0x00007f99740e0eca in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#29 0x00007f997e1a6417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f997e1a6650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f997e1a66dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f99843d69bf in QEventDispatcherGlib::processEvents (this=0x557cfb48ced0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f99828543df in KoProgressUpdater::update (this=0x557cfb56e590) at /home/dev/cp/calligraplan/src/libs/widgetutils/KoProgressUpdater.cpp:167
#34 0x00007f9982856bd2 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KoProgressUpdater::*)()>::call(void (KoProgressUpdater::*)(), KoProgressUpdater*, void**) (f=(void (KoProgressUpdater::*)(KoProgressUpdater * const)) 0x7f9982854388 <KoProgressUpdater::update()>, o=0x557cfb56e590, arg=0x7ffd477b15b0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#35 0x00007f9982856a97 in QtPrivate::FunctionPointer<void (KoProgressUpdater::*)()>::call<QtPrivate::List<>, void>(void (KoProgressUpdater::*)(), KoProgressUpdater*, void**) (f=(void (KoProgressUpdater::*)(KoProgressUpdater * const)) 0x7f9982854388 <KoProgressUpdater::update()>, o=0x557cfb56e590, arg=0x7ffd477b15b0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#36 0x00007f9982856423 in QtPrivate::QSlotObject<void (KoProgressUpdater::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x557cfc4d02b0, r=0x557cfb56e590, a=0x7ffd477b15b0, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:414
#37 0x00007f99843a982f in QtPrivate::QSlotObjectBase::call (a=0x7ffd477b15b0, r=0x557cfb56e590, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#38 QMetaObject::activate (sender=0x557cfbb7dd50, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#39 0x00007f998285ecad in KoUpdaterPrivate::sigUpdated (this=0x557cfbb7dd50) at /home/dev/cp/build/src/libs/widgetutils/planwidgetutils_autogen/EWIEGA46WW/moc_KoUpdaterPrivate_p.cpp:160
#40 0x00007f9982858475 in KoUpdaterPrivate::setProgress (this=0x557cfbb7dd50, percent=5) at /home/dev/cp/calligraplan/src/libs/widgetutils/KoUpdaterPrivate_p.cpp:46
#41 0x00007f99828581b5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<int>, void, void (KoUpdaterPrivate::*)(int)>::call (f=(void (KoUpdaterPrivate::*)(KoUpdaterPrivate * const, int)) 0x7f9982858444 <KoUpdaterPrivate::setProgress(int)>, o=0x557cfbb7dd50, arg=0x7ffd477b1810) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#42 0x00007f9982857ff0 in QtPrivate::FunctionPointer<void (KoUpdaterPrivate::*)(int)>::call<QtPrivate::List<int>, void> (f=(void (KoUpdaterPrivate::*)(KoUpdaterPrivate * const, int)) 0x7f9982858444 <KoUpdaterPrivate::setProgress(int)>, o=0x557cfbb7dd50, arg=0x7ffd477b1810) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#43 0x00007f9982857db3 in QtPrivate::QSlotObject<void (KoUpdaterPrivate::*)(int), QtPrivate::List<int>, void>::impl (which=1, this_=0x557cfca09aa0, r=0x557cfbb7dd50, a=0x7ffd477b1810, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:414
#44 0x00007f99843a982f in QtPrivate::QSlotObjectBase::call (a=0x7ffd477b1810, r=0x557cfbb7dd50, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#45 QMetaObject::activate (sender=0x557cfb4bc110, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#46 0x00007f998285e9c5 in KoUpdater::sigProgress (this=0x557cfb4bc110, _t1=5) at /home/dev/cp/build/src/libs/widgetutils/planwidgetutils_autogen/EWIEGA46WW/moc_KoUpdater.cpp:164
#47 0x00007f9982856f06 in KoUpdater::setProgress (this=0x557cfb4bc110, percent=5) at /home/dev/cp/calligraplan/src/libs/widgetutils/KoUpdater.cpp:57
#48 0x00007f9960edb699 in KPlato::MainDocument::loadXML (this=0x557cfee00250, document=...) at /home/dev/cp/calligraplan/src/kptmaindocument.cpp:363
#49 0x00007f99855d4c07 in KoDocument::loadNativeFormatFromStoreInternal (this=0x557cfee00250, store=0x557cfca09a30) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:1847
#50 0x00007f99855d46e6 in KoDocument::loadNativeFormatFromStore (this=0x557cfee00250, file=...) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:1780
#51 0x00007f99855d444c in KoDocument::loadNativeFormat (this=0x557cfee00250, file_=...) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:1760
#52 0x00007f99855d2d13 in KoDocument::openFile (this=0x557cfee00250) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:1561
#53 0x00007f99855dc899 in KoDocument::Private::openFile (this=0x557cfcc0beb0) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:273
#54 0x00007f99855dc9ef in KoDocument::Private::openLocalFile (this=0x557cfcc0beb0) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:295
#55 0x00007f99855d9c78 in KoDocument::openUrlInternal (this=0x557cfee00250, url=...) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:2679
#56 0x00007f99855d12ff in KoDocument::openUrl (this=0x557cfee00250, _url=...) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:1243
#57 0x00007f9960ee3447 in KPlato::MainDocument::slotInsertSharedProject (this=0x557cfb63d6c0) at /home/dev/cp/calligraplan/src/kptmaindocument.cpp:1155
#58 0x00007f9960ee26d5 in KPlato::MainDocument::insertResourcesFileCompleted (this=0x557cfb63d6c0) at /home/dev/cp/calligraplan/src/kptmaindocument.cpp:1069
#59 0x00007f9960ed5cdc in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KPlato::MainDocument::*)()>::call(void (KPlato::MainDocument::*)(), KPlato::MainDocument*, void**) (f=(void (KPlato::MainDocument::*)(KPlato::MainDocument * const)) 0x7f9960ee2570 <KPlato::MainDocument::insertResourcesFileCompleted()>, o=0x557cfb63d6c0, arg=0x7ffd477b21e0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#60 0x00007f9960ed5c5f in QtPrivate::FunctionPointer<void (KPlato::MainDocument::*)()>::call<QtPrivate::List<>, void>(void (KPlato::MainDocument::*)(), KPlato::MainDocument*, void**) (f=(void (KPlato::MainDocument::*)(KPlato::MainDocument * const)) 0x7f9960ee2570 <KPlato::MainDocument::insertResourcesFileCompleted()>, o=0x557cfb63d6c0, arg=0x7ffd477b21e0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#61 0x00007f9960ed5bc9 in QtPrivate::QSlotObject<void (KPlato::MainDocument::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x557cfe1aa0b0, r=0x557cfb63d6c0, a=0x7ffd477b21e0, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:414
#62 0x00007f99843a982f in QtPrivate::QSlotObjectBase::call (a=0x7ffd477b21e0, r=0x557cfb63d6c0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#63 QMetaObject::activate (sender=0x557cff0bf130, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#64 0x00007f99855daa3b in KoDocument::completed (this=0x557cff0bf130) at /home/dev/cp/build/src/libs/main/planmain_autogen/include/moc_KoDocument.cpp:405
#65 0x00007f99855dca07 in KoDocument::Private::openLocalFile (this=0x557cff066da0) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:297
#66 0x00007f99855d9c78 in KoDocument::openUrlInternal (this=0x557cff0bf130, url=...) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:2679
#67 0x00007f99855d12ff in KoDocument::openUrl (this=0x557cff0bf130, _url=...) at /home/dev/cp/calligraplan/src/libs/main/KoDocument.cpp:1243
#68 0x00007f9960ee254c in KPlato::MainDocument::insertResourcesFile (this=0x557cfb63d6c0, url=..., projects=...) at /home/dev/cp/calligraplan/src/kptmaindocument.cpp:1056
#69 0x00007f9960f07334 in KPlato::View::slotInsertResourcesFile (this=0x557cfbda22d0, file=..., projects=...) at /home/dev/cp/calligraplan/src/kptview.cpp:1512
#70 0x00007f9960f22843 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<QString const&, QUrl const&>, void, void (KPlato::View::*)(QString const&, QUrl const&)>::call (f=(void (KPlato::View::*)(KPlato::View * const, const QString &, const QUrl &)) 0x7f9960f072d6 <KPlato::View::slotInsertResourcesFile(QString const&, QUrl const&)>, o=0x557cfbda22d0, arg=0x7ffd477b2680) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#71 0x00007f9960f1f9cf in QtPrivate::FunctionPointer<void (KPlato::View::*)(QString const&, QUrl const&)>::call<QtPrivate::List<QString const&, QUrl const&>, void> (f=(void (KPlato::View::*)(KPlato::View * const, const QString &, const QUrl &)) 0x7f9960f072d6 <KPlato::View::slotInsertResourcesFile(QString const&, QUrl const&)>, o=0x557cfbda22d0, arg=0x7ffd477b2680) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#72 0x00007f9960f1dba7 in QtPrivate::QSlotObject<void (KPlato::View::*)(QString const&, QUrl const&), QtPrivate::List<QString const&, QUrl const&>, void>::impl (which=1, this_=0x557cfe1a0620, r=0x557cfbda22d0, a=0x7ffd477b2680, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:414
#73 0x00007f99843a982f in QtPrivate::QSlotObjectBase::call (a=0x7ffd477b2680, r=0x557cfbda22d0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#74 QMetaObject::activate (sender=0x557cfbcc8ff0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#75 0x00007f9960b885cb in KPlato::MainProjectDialog::sigLoadSharedResources (this=0x557cfbcc8ff0, _t1=..., _t2=..., _t3=true) at /home/dev/cp/build/src/libs/ui/planui_autogen/EWIEGA46WW/moc_kptmainprojectdialog.cpp:194
#76 0x00007f9960b0ecf7 in KPlato::MainProjectDialog::slotOk (this=0x557cfbcc8ff0) at /home/dev/cp/calligraplan/src/libs/ui/kptmainprojectdialog.cpp:76
#77 0x00007f9960b0f507 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KPlato::MainProjectDialog::*)()>::call(void (KPlato::MainProjectDialog::*)(), KPlato::MainProjectDialog*, void**) (f=(void (KPlato::MainProjectDialog::*)(KPlato::MainProjectDialog * const)) 0x7f9960b0eb58 <KPlato::MainProjectDialog::slotOk()>, o=0x557cfbcc8ff0, arg=0x7ffd477b2870) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#78 0x00007f9960b0f445 in QtPrivate::FunctionPointer<void (KPlato::MainProjectDialog::*)()>::call<QtPrivate::List<>, void>(void (KPlato::MainProjectDialog::*)(), KPlato::MainProjectDialog*, void**) (f=(void (KPlato::MainProjectDialog::*)(KPlato::MainProjectDialog * const)) 0x7f9960b0eb58 <KPlato::MainProjectDialog::slotOk()>, o=0x557cfbcc8ff0, arg=0x7ffd477b2870) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#79 0x00007f9960b0f2d3 in QtPrivate::QSlotObject<void (KPlato::MainProjectDialog::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x557cfbbbf0a0, r=0x557cfbcc8ff0, a=0x7ffd477b2870, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:414
#80 0x00007f99843a982f in QtPrivate::QSlotObjectBase::call (a=0x7ffd477b2870, r=0x557cfbcc8ff0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#81 QMetaObject::activate (sender=sender@entry=0x557cfbcc8ff0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=<optimized out>, argv@entry=0x0) at kernel/qobject.cpp:3789
#82 0x00007f99843a9dd7 in QMetaObject::activate (sender=sender@entry=0x557cfbcc8ff0, m=m@entry=0x7f99850828c0 <QDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3660
#83 0x00007f9984b879a3 in QDialog::accepted (this=this@entry=0x557cfbcc8ff0) at .moc/moc_qdialog.cpp:236
#84 0x00007f9984b87ddc in QDialogPrivate::finalize (this=<optimized out>, resultCode=1, dialogCode=<optimized out>) at dialogs/qdialog.cpp:176
#85 0x00007f9983b2b45b in KoDialog::slotButtonClicked (this=0x557cfbcc8ff0, button=4) at /home/dev/cp/calligraplan/src/libs/widgets/KoDialog.cpp:919
#86 0x00007f9983b2beda in KoDialog::qt_static_metacall (_o=0x557cfbcc8ff0, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0x7ffd477b2b80) at /home/dev/cp/build/src/libs/widgets/planwidgets_autogen/include/moc_KoDialog.cpp:279
#87 0x00007f99843a9715 in QMetaObject::activate (sender=sender@entry=0x557cfefdb0d8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=<optimized out>, argv@entry=0x7ffd477b2b80) at kernel/qobject.cpp:3809
#88 0x00007f99843a9dd7 in QMetaObject::activate (sender=sender@entry=0x557cfefdb0d8, m=m@entry=0x7f998482eb60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd477b2b80) at kernel/qobject.cpp:3660
#89 0x00007f99843b407e in QSignalMapper::mapped (this=this@entry=0x557cfefdb0d8, _t1=<optimized out>) at .moc/moc_qsignalmapper.cpp:179
#90 0x00007f99843b55f0 in QSignalMapper::map (this=0x557cfefdb0d8, sender=0x557cfbf0f040) at kernel/qsignalmapper.cpp:264
#91 0x00007f99843a9715 in QMetaObject::activate (sender=sender@entry=0x557cfbf0f040, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=<optimized out>, argv@entry=0x7ffd477b2cf0) at kernel/qobject.cpp:3809
#92 0x00007f99843a9dd7 in QMetaObject::activate (sender=sender@entry=0x557cfbf0f040, m=m@entry=0x7f9985072760 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd477b2cf0) at kernel/qobject.cpp:3660
#93 0x00007f9984a7e162 in QAbstractButton::clicked (this=this@entry=0x557cfbf0f040, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:313
#94 0x00007f9984a7e37a in QAbstractButtonPrivate::emitClicked (this=0x557d00c3d2f0) at widgets/qabstractbutton.cpp:414
#95 0x00007f9984a7f75a in QAbstractButtonPrivate::click (this=0x557d00c3d2f0) at widgets/qabstractbutton.cpp:407
#96 0x00007f9984a7f94d in QAbstractButton::mouseReleaseEvent (this=0x557cfbf0f040, e=0x7ffd477b32f0) at widgets/qabstractbutton.cpp:1011
#97 0x00007f99849d4bf8 in QWidget::event (this=0x557cfbf0f040, event=0x7ffd477b32f0) at kernel/qwidget.cpp:9339
#98 0x00007f9984993eac in QApplicationPrivate::notify_helper (this=this@entry=0x557cfb41e400, receiver=receiver@entry=0x557cfbf0f040, e=e@entry=0x7ffd477b32f0) at kernel/qapplication.cpp:3703
#99 0x00007f998499c388 in QApplication::notify (this=<optimized out>, receiver=0x557cfbf0f040, e=0x7ffd477b32f0) at kernel/qapplication.cpp:3163
#100 0x00007f99855c3dd1 in KoApplication::notify (this=0x7ffd477b3c40, receiver=0x557cfbf0f040, event=0x7ffd477b32f0) at /home/dev/cp/calligraplan/src/libs/main/KoApplication.cpp:619
#101 0x00007f9984378d48 in QCoreApplication::notifyInternal2 (receiver=0x557cfbf0f040, event=0x7ffd477b32f0) at kernel/qcoreapplication.cpp:1095
#102 0x00007f9984378f2e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x557cfbf0f040, event=event@entry=0x7ffd477b32f0) at kernel/qcoreapplication.cpp:1502
#103 0x00007f998499a97f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x557cfbf0f040, event=event@entry=0x7ffd477b32f0, alienWidget=0x557cfbf0f040, nativeWidget=0x557cfbcc8ff0, buttonDown=buttonDown@entry=0x7f998509c8b0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2649
#104 0x00007f99849ef591 in QWidgetWindow::handleMouseEvent (this=this@entry=0x557cfe19c850, event=event@entry=0x7ffd477b3810) at kernel/qwidgetwindow.cpp:662
#105 0x00007f99849f23ea in QWidgetWindow::event (this=0x557cfe19c850, event=0x7ffd477b3810) at kernel/qwidgetwindow.cpp:281
#106 0x00007f9984993eac in QApplicationPrivate::notify_helper (this=this@entry=0x557cfb41e400, receiver=receiver@entry=0x557cfe19c850, e=e@entry=0x7ffd477b3810) at kernel/qapplication.cpp:3703
#107 0x00007f998499b4b0 in QApplication::notify (this=0x7ffd477b3c40, receiver=0x557cfe19c850, e=0x7ffd477b3810) at kernel/qapplication.cpp:3449
#108 0x00007f99855c3dd1 in KoApplication::notify (this=0x7ffd477b3c40, receiver=0x557cfe19c850, event=0x7ffd477b3810) at /home/dev/cp/calligraplan/src/libs/main/KoApplication.cpp:619
#109 0x00007f9984378d48 in QCoreApplication::notifyInternal2 (receiver=0x557cfe19c850, event=0x7ffd477b3810) at kernel/qcoreapplication.cpp:1095
#110 0x00007f9984378f2e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x557cfe19c850, event=event@entry=0x7ffd477b3810) at kernel/qcoreapplication.cpp:1502
#111 0x00007f9980530285 in QGuiApplicationPrivate::processMouseEvent (e=0x557cfc7e8120) at kernel/qguiapplication.cpp:2111
#112 0x00007f99805313d5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x557cfc7e8120) at kernel/qguiapplication.cpp:1846
#113 0x00007f998050b71b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1148
#114 0x00007f99740e0eca in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#115 0x00007f997e1a6417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#116 0x00007f997e1a6650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#117 0x00007f997e1a66dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#118 0x00007f99843d69bf in QEventDispatcherGlib::processEvents (this=0x557cfb48ced0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#119 0x00007f9984376eaa in QEventLoop::exec (this=this@entry=0x7ffd477b3bb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#120 0x00007f9984380220 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1403
#121 0x00007f9985c4c212 in kdemain (argc=1, argv=0x7ffd477b3da8) at /home/dev/cp/calligraplan/src/main.cpp:57
#122 0x0000557cfafaa94c in main (argc=1, argv=0x7ffd477b3da8) at /home/dev/cp/build/src/calligraplan_dummy.cpp:3

Possible duplicates by query: bug 321100, bug 297822.

Reported using DrKonqi
Comment 1 Dag Andersen 2019-11-15 08:53:38 UTC
Due to a race condition.
It takes some time to load taskmodules and closing plan while this is running leads to crash.
Comment 2 Dag Andersen 2019-11-18 13:16:20 UTC
Git commit 06726096f8fd9603477e039ed21459a33f57a5ef by Dag Andersen.
Committed on 18/11/2019 at 13:03.
Pushed by danders into branch '3.2'.

Bug 414162 - Crash during save

Actually crash during loading of e.g. task modules or resource file.
For now: Just disabled close during loading.
Future: Implement a delayed close.
FIXED-IN: 3.2.1

M  +15   -0    src/kptmaindocument.cpp
M  +7    -0    src/kptmaindocument.h
M  +1    -1    src/libs/main/KoDocument.h

https://commits.kde.org/calligraplan/06726096f8fd9603477e039ed21459a33f57a5ef
Comment 3 Dag Andersen 2019-11-18 13:18:21 UTC
Git commit 107eba9c919aac7a73aaf7f258849f88ea7a8b5d by Dag Andersen.
Committed on 18/11/2019 at 13:17.
Pushed by danders into branch 'master'.

Bug 414162 - Crash during save

Actually crash during loading of e.g. task modules or resource file.
For now: Just disabled close during loading.
Future: Implement a delayed close.
FIXED-IN: 3.2.1

M  +15   -0    src/kptmaindocument.cpp
M  +7    -0    src/kptmaindocument.h
M  +1    -1    src/libs/main/KoDocument.h

https://commits.kde.org/calligraplan/107eba9c919aac7a73aaf7f258849f88ea7a8b5d