Bug 385873 - Calligra Words crashes on exit on Wayland
Summary: Calligra Words crashes on exit on Wayland
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-10-17 18:19 UTC by Andrius Štikonas
Modified: 2018-02-07 22:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2017-10-17 18:19:37 UTC
Application: calligrawords (3.0.1)

Qt Version: 5.9.2
Frameworks Version: 5.39.0
Operating System: Linux 4.12.12-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:
Start Calligra Words on Wayland and then quit it.
Calligra Words crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8bf05ec880 (LWP 32024))]

Thread 3 (Thread 0x7f8bd99ef700 (LWP 32030)):
#0  0x00007f8c002b23ed in read () from /lib64/libc.so.6
#1  0x00007f8bf7d8b6e1 in g_wakeup_acknowledge (wakeup=0x7f8bd4002260) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gwakeup.c:210
#2  0x00007f8bf7d3489e in g_main_context_check (context=0x7f8bd4031f30, max_priority=2147483647, fds=0x7f8bd402e200, n_fds=1) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3707
#3  0x00007f8bf7d34de5 in g_main_context_iterate (context=0x7f8bd4031f30, block=1, dispatch=1, self=0x7f8bd4002610) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3926
#4  0x00007f8bf7d34ed2 in g_main_context_iteration (context=0x7f8bd4031f30, may_block=1) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3990
#5  0x00007f8c0120aa27 in QEventDispatcherGlib::processEvents (this=0x7f8bd402e0a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f8c01183cbc in QEventLoop::processEvents (this=0x7f8bd99eed00, flags=...) at kernel/qeventloop.cpp:134
#7  0x00007f8c01183fbd in QEventLoop::exec (this=0x7f8bd99eed00, flags=...) at kernel/qeventloop.cpp:212
#8  0x00007f8c00f415f9 in QThread::exec (this=0x14c5830) at thread/qthread.cpp:515
#9  0x00007f8c00f417d2 in QThread::run (this=0x14c5830) at thread/qthread.cpp:582
#10 0x00007f8c00f48c01 in QThreadPrivate::start (arg=0x14c5830) at thread/qthread_unix.cpp:368
#11 0x00007f8bfc0b7384 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f8c002bf43d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8be767e700 (LWP 32025)):
#0  0x00007f8c00f3d18a in std::atomic<QMutexData*>::compare_exchange_strong (this=0xf9c820, __p1=@0x7f8be767d950: 0x0, __p2=0x1, __m1=std::memory_order_acquire, __m2=std::memory_order_acquire) at /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/atomic:466
#1  0x00007f8c00f3cfc2 in QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (_q_value=..., expectedValue=0x0, newValue=0x1, currentValue=0x7f8be767d9e0) at ../../src/corelib/arch/qatomic_cxx11.h:290
#2  0x00007f8c00f3ce92 in QBasicAtomicPointer<QMutexData>::testAndSetAcquire (this=0xf9c820, expectedValue=0x0, newValue=0x1, currentValue=@0x7f8be767d9e0: 0x7f8c07dd1000 <_rtld_global>) at ../../src/corelib/thread/qbasicatomic.h:262
#3  0x00007f8c00f3cb7b in QBasicMutex::fastTryLock (this=0xf9c820, current=@0x7f8be767d9e0: 0x7f8c07dd1000 <_rtld_global>) at thread/qmutex.h:101
#4  0x00007f8c00f3c4e6 in QMutex::lock (this=0xf9c820) at thread/qmutex.cpp:224
#5  0x00007f8c00f1729e in QMutexLocker::QMutexLocker (this=0x7f8be767da30, m=0xf9c820) at ../../src/corelib/thread/qmutex.h:200
#6  0x00007f8c01204aa5 in QThreadData::canWaitLocked (this=0xf9c7f0) at ../../src/corelib/thread/qthread_p.h:253
#7  0x00007f8c0120a166 in postEventSourcePrepare (s=0x7f8be00012d0, timeout=0x7f8be767dab0) at kernel/qeventdispatcher_glib.cpp:259
#8  0x00007f8bf7d34423 in g_main_context_prepare (context=0x7f8be0000990, priority=0x7f8be767db48) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3501
#9  0x00007f8bf7d34d26 in g_main_context_iterate (context=0x7f8be0000990, block=1, dispatch=1, self=0xf97560) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3909
#10 0x00007f8bf7d34ed2 in g_main_context_iteration (context=0x7f8be0000990, may_block=1) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3990
#11 0x00007f8c0120aa27 in QEventDispatcherGlib::processEvents (this=0x7f8be00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007f8c01183cbc in QEventLoop::processEvents (this=0x7f8be767dcd0, flags=...) at kernel/qeventloop.cpp:134
#13 0x00007f8c01183fbd in QEventLoop::exec (this=0x7f8be767dcd0, flags=...) at kernel/qeventloop.cpp:212
#14 0x00007f8c00f415f9 in QThread::exec (this=0x7f8c07c91dc0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#15 0x00007f8c07bf582d in QDBusConnectionManager::run (this=0x7f8c07c91dc0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#16 0x00007f8c00f48c01 in QThreadPrivate::start (arg=0x7f8c07c91dc0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#17 0x00007f8bfc0b7384 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f8c002bf43d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8bf05ec880 (LWP 32024)):
[KCrash Handler]
#6  0x00007f8c0020a268 in raise () from /lib64/libc.so.6
#7  0x00007f8c0020b68a in abort () from /lib64/libc.so.6
#8  0x00007f8c00b3a15d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#9  0x00007f8c00b37ef6 in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#10 0x00007f8c00b37f41 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#11 0x00007f8c00b38aaf in __cxa_pure_virtual () from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#12 0x00007f8be5f9e9a6 in KWCanvas::inputMethodQuery (this=0x14c8ad0, query=Qt::ImCursorRectangle) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/words/part/KWCanvas.cpp:155
#13 0x00007f8c01cb667f in QWidget::event (this=0x14c8ad0, event=0x7fffae4ba130) at kernel/qwidget.cpp:8904
#14 0x00007f8be5f9e61f in KWCanvas::event (this=0x14c8ad0, e=0x7fffae4ba130) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/words/part/KWCanvas.cpp:128
#15 0x00007f8c01c6dbfc in QApplicationPrivate::notify_helper (this=0xf10850, receiver=0x14c8ad0, e=0x7fffae4ba130) at kernel/qapplication.cpp:3722
#16 0x00007f8c01c6d9ff in QApplication::notify (this=0x7fffae4bbc80, receiver=0x14c8ad0, e=0x7fffae4ba130) at kernel/qapplication.cpp:3685
#17 0x00007f8c076beb2b in KoApplication::notify (this=0x7fffae4bbc80, receiver=0x14c8ad0, event=0x7fffae4ba130) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/main/KoApplication.cpp:657
#18 0x00007f8c01186e9f in QCoreApplication::notifyInternal2 (receiver=0x14c8ad0, event=0x7fffae4ba130) at kernel/qcoreapplication.cpp:1018
#19 0x00007f8be9b5e370 in QCoreApplication::sendEvent (receiver=0x14c8ad0, event=0x7fffae4ba130) at /usr/include/qt5/QtCore/qcoreapplication.h:233
#20 0x00007f8be9b5bc4a in QtWaylandClient::QWaylandTextInput::updateState (this=0xf3d8d0, queries=..., flags=3) at qwaylandinputcontext.cpp:143
#21 0x00007f8be9b5dfb9 in QtWaylandClient::QWaylandInputContext::setFocusObject (this=0xf5a430) at qwaylandinputcontext.cpp:549
#22 0x00007f8c015c0229 in QGuiApplicationPrivate::_q_updateFocusObject (this=0xf10850, object=0x14c8ad0) at kernel/qguiapplication.cpp:3758
#23 0x00007f8c015c0683 in QGuiApplication::qt_static_metacall (_o=0x7fffae4bbc80, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffae4ba630) at .moc/moc_qguiapplication.cpp:179
#24 0x00007f8c011ca328 in QMetaObject::activate (sender=0x1138fe0, signalOffset=3, local_signal_index=16, argv=0x7fffae4ba630) at kernel/qobject.cpp:3766
#25 0x00007f8c011c9b1e in QMetaObject::activate (sender=0x1138fe0, m=0x7f8c01ae4520 <QWindow::staticMetaObject>, local_signal_index=16, argv=0x7fffae4ba630) at kernel/qobject.cpp:3628
#26 0x00007f8c015cfff6 in QWindow::focusObjectChanged (this=0x1138fe0, _t1=0x14c8ad0) at .moc/moc_qwindow.cpp:770
#27 0x00007f8c01cb08a5 in QWidget::clearFocus (this=0x14d3e00) at kernel/qwidget.cpp:6722
#28 0x00007f8c01ca2555 in QWidget::~QWidget (this=0x14d3e00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1630
#29 0x00007f8c01da4d9a in QFrame::~QFrame (this=0x14d3e00, __in_chrg=<optimized out>) at widgets/qframe.cpp:262
#30 0x00007f8c01dafc91 in QAbstractScrollArea::~QAbstractScrollArea (this=0x14d3e00, __in_chrg=<optimized out>) at widgets/qabstractscrollarea.cpp:578
#31 0x00007f8c0690687e in KoCanvasControllerWidget::~KoCanvasControllerWidget (this=0x14d3e00, __in_chrg=<optimized out>) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/flake/KoCanvasControllerWidget.cpp:206
#32 0x00007f8c069068ac in KoCanvasControllerWidget::~KoCanvasControllerWidget (this=0x14d3e00, __in_chrg=<optimized out>) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/flake/KoCanvasControllerWidget.cpp:210
#33 0x00007f8c011c5197 in QObjectPrivate::deleteChildren (this=0x14c7f10) at kernel/qobject.cpp:1992
#34 0x00007f8c01ca27af in QWidget::~QWidget (this=0x1307e10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1707
#35 0x00007f8be5fabea2 in KWGui::~KWGui (this=0x1307e10, __in_chrg=<optimized out>) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/words/part/KWGui.cpp:115
#36 0x00007f8be5fabec4 in KWGui::~KWGui (this=0x1307e10, __in_chrg=<optimized out>) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/words/part/KWGui.cpp:117
#37 0x00007f8c011c5197 in QObjectPrivate::deleteChildren (this=0x14110c0) at kernel/qobject.cpp:1992
#38 0x00007f8c01ca27af in QWidget::~QWidget (this=0x140e2a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1707
#39 0x00007f8c076fcb07 in KoView::~KoView (this=0x140e2a0, __in_chrg=<optimized out>) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/main/KoView.cpp:205
#40 0x00007f8be5fad616 in KWView::~KWView (this=0x140e2a0, __in_chrg=<optimized out>) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/words/part/KWView.cpp:209
#41 0x00007f8be5fad648 in KWView::~KWView (this=0x140e2a0, __in_chrg=<optimized out>) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/words/part/KWView.cpp:214
#42 0x00007f8c076e3231 in KoMainWindow::setRootDocument (this=0x10b9260, doc=0x0, part=0x0, deletePrevious=true) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/main/KoMainWindow.cpp:548
#43 0x00007f8c076e8080 in KoMainWindow::closeEvent (this=0x10b9260, e=0x7fffae4bb2e0) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/main/KoMainWindow.cpp:1147
#44 0x00007f8c01cb6b54 in QWidget::event (this=0x10b9260, event=0x7fffae4bb2e0) at kernel/qwidget.cpp:8987
#45 0x00007f8c01e416ad in QMainWindow::event (this=0x10b9260, event=0x7fffae4bb2e0) at widgets/qmainwindow.cpp:1562
#46 0x00007f8c0425fa30 in KMainWindow::event (this=0x10b9260, ev=0x7fffae4bb2e0) at /usr/src/debug/kde-frameworks/kxmlgui-5.39.0/kxmlgui-5.39.0/src/kmainwindow.cpp:865
#47 0x00007f8c042a3c89 in KXmlGuiWindow::event (this=0x10b9260, ev=0x7fffae4bb2e0) at /usr/src/debug/kde-frameworks/kxmlgui-5.39.0/kxmlgui-5.39.0/src/kxmlguiwindow.cpp:119
#48 0x00007f8c01c6dbfc in QApplicationPrivate::notify_helper (this=0xf10850, receiver=0x10b9260, e=0x7fffae4bb2e0) at kernel/qapplication.cpp:3722
#49 0x00007f8c01c6d9ff in QApplication::notify (this=0x7fffae4bbc80, receiver=0x10b9260, e=0x7fffae4bb2e0) at kernel/qapplication.cpp:3685
#50 0x00007f8c076beb2b in KoApplication::notify (this=0x7fffae4bbc80, receiver=0x10b9260, event=0x7fffae4bb2e0) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/main/KoApplication.cpp:657
#51 0x00007f8c01186e9f in QCoreApplication::notifyInternal2 (receiver=0x10b9260, event=0x7fffae4bb2e0) at kernel/qcoreapplication.cpp:1018
#52 0x00007f8c01c709ec in QCoreApplication::sendSpontaneousEvent (receiver=0x10b9260, event=0x7fffae4bb2e0) at ../../src/corelib/kernel/qcoreapplication.h:236
#53 0x00007f8c01cb55cf in QWidgetPrivate::close_helper (this=0x10b5020, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:8406
#54 0x00007f8c01ce65b1 in QWidgetWindow::handleCloseEvent (this=0x1138fe0, event=0x7fffae4bb840) at kernel/qwidgetwindow.cpp:777
#55 0x00007f8c01ce4130 in QWidgetWindow::event (this=0x1138fe0, event=0x7fffae4bb840) at kernel/qwidgetwindow.cpp:202
#56 0x00007f8c01c6dbfc in QApplicationPrivate::notify_helper (this=0xf10850, receiver=0x1138fe0, e=0x7fffae4bb840) at kernel/qapplication.cpp:3722
#57 0x00007f8c01c6af9d in QApplication::notify (this=0x7fffae4bbc80, receiver=0x1138fe0, e=0x7fffae4bb840) at kernel/qapplication.cpp:3094
#58 0x00007f8c076beb2b in KoApplication::notify (this=0x7fffae4bbc80, receiver=0x1138fe0, event=0x7fffae4bb840) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/libs/main/KoApplication.cpp:657
#59 0x00007f8c01186e9f in QCoreApplication::notifyInternal2 (receiver=0x1138fe0, event=0x7fffae4bb840) at kernel/qcoreapplication.cpp:1018
#60 0x00007f8c015c1cb2 in QCoreApplication::sendSpontaneousEvent (receiver=0x1138fe0, event=0x7fffae4bb840) at ../../src/corelib/kernel/qcoreapplication.h:236
#61 0x00007f8c015bb61b in QGuiApplicationPrivate::processCloseEvent (e=0x2aa9f00) at kernel/qguiapplication.cpp:2276
#62 0x00007f8c015b94cc in QGuiApplicationPrivate::processWindowSystemEvent (e=0x2aa9f00) at kernel/qguiapplication.cpp:1772
#63 0x00007f8c01599cfd in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:939
#64 0x00007f8be9b888d2 in userEventSourceDispatch (source=0xfd0000) at qeventdispatcher_glib.cpp:77
#65 0x00007f8bf7d33cf3 in g_main_dispatch (context=0xf97a50) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3203
#66 0x00007f8bf7d34c07 in g_main_context_dispatch (context=0xf97a50) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3856
#67 0x00007f8bf7d34dfa in g_main_context_iterate (context=0xf97a50, block=1, dispatch=1, self=0xf82400) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3929
#68 0x00007f8bf7d34ed2 in g_main_context_iteration (context=0xf97a50, may_block=1) at /usr/src/debug/dev-libs/glib-2.50.3-r1/glib-2.50.3/glib/gmain.c:3990
#69 0x00007f8c0120a9f8 in QEventDispatcherGlib::processEvents (this=0xf721a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#70 0x00007f8be9b88ae6 in QPAEventDispatcherGlib::processEvents (this=0xf721a0, flags=...) at qeventdispatcher_glib.cpp:122
#71 0x00007f8c01183cbc in QEventLoop::processEvents (this=0x7fffae4bbbd0, flags=...) at kernel/qeventloop.cpp:134
#72 0x00007f8c01183fbd in QEventLoop::exec (this=0x7fffae4bbbd0, flags=...) at kernel/qeventloop.cpp:212
#73 0x00007f8c01187635 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#74 0x00007f8c015b9200 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679
#75 0x00007f8c01c6a957 in QApplication::exec () at kernel/qapplication.cpp:2910
#76 0x00007f8c079a90e8 in kdemain (argc=1, argv=0x7fffae4bbde8) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1/words/app/main.cpp:58
#77 0x0000000000400e38 in main (argc=1, argv=0x7fffae4bbde8) at /usr/src/debug/app-office/calligra-3.0.1/calligra-3.0.1_build/words/app/calligrawords_dummy.cpp:3

Possible duplicates by query: bug 275816.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2017-10-17 18:49:15 UTC
By the way, I have Plasma 5.11
Comment 2 Andrius Štikonas 2018-02-07 22:42:24 UTC
Seems to work now with newer packages. It was probably fixed...