Bug 380228 - Calligra Word Crash with large file
Summary: Calligra Word Crash with large file
Status: RESOLVED UPSTREAM
Alias: None
Product: calligrawords
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
: 381297 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-26 15:19 UTC by Matt Bailey
Modified: 2017-06-18 12:03 UTC (History)
2 users (show)

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 Matt Bailey 2017-05-26 15:19:01 UTC
Application: calligrawords (3.0.1)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.8.0-53-generic x86_64
Distribution: KDE neon User Edition 5.9

-- Information about the crash:
Have a large file that I wanted to change the font on. When I selected the font, it froze for a moment, then font changed and Word crashed.

I am running KDE Neon on a MacBook Pro.

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f15044e38c0 (LWP 23171))]

Thread 3 (Thread 0x7f14fbc0e700 (LWP 23174)):
#0  0x00007f151746fb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f150fa6738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f150fa6749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f151634375b in QEventDispatcherGlib::processEvents (this=0x7f14f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f15162ee0ba in QEventLoop::exec (this=this@entry=0x7f14fbc0dcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f151611df64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f1517a17735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f1516122b48 in QThreadPrivate::start (arg=0x7f1517a8bd60) at thread/qthread_unix.cpp:368
#8  0x00007f15110c96ba in start_thread (arg=0x7f14fbc0e700) at pthread_create.c:333
#9  0x00007f151747b82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f1501dc9700 (LWP 23173)):
#0  0x00007f151746fb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f1509907c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f15099098d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f15040ded79 in QXcbEventReader::run (this=0xac71d0) at qxcbconnection.cpp:1343
#4  0x00007f1516122b48 in QThreadPrivate::start (arg=0xac71d0) at thread/qthread_unix.cpp:368
#5  0x00007f15110c96ba in start_thread (arg=0x7f1501dc9700) at pthread_create.c:333
#6  0x00007f151747b82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f15044e38c0 (LWP 23171)):
[KCrash Handler]
#6  0x00007f15168c9f6f in QAccessibleTableCell::state (this=0x2e1a1d0) at accessible/itemviews.cpp:1009
#7  0x00007f1504131c26 in AtSpiAdaptor::notify (this=0xfbc2e0, event=<optimized out>) at linuxaccessibility/atspiadaptor.cpp:1066
#8  0x00007f1516908ff0 in QListView::selectionChanged (this=0x4af2240, selected=..., deselected=...) at itemviews/qlistview.cpp:3265
#9  0x00007f15168e35a1 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:412
#10 0x00007f151631ae89 in QMetaObject::activate (sender=sender@entry=0x4af08b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffde504eff0) at kernel/qobject.cpp:3740
#11 0x00007f151631b837 in QMetaObject::activate (sender=sender@entry=0x4af08b0, m=m@entry=0x7f1516531ee0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffde504eff0) at kernel/qobject.cpp:3602
#12 0x00007f151629f7e7 in QItemSelectionModel::selectionChanged (this=this@entry=0x4af08b0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:478
#13 0x00007f15162a401b in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x4af08b0, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1811
#14 0x00007f15162a7af2 in QItemSelectionModel::select (this=0x4af08b0, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1298
#15 0x00007f15162a156c in QItemSelectionModel::select (this=this@entry=0x4af08b0, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1159
#16 0x00007f151629fc34 in QItemSelectionModel::setCurrentIndex (this=this@entry=0x4af08b0, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1373
#17 0x00007f151679a4f1 in QComboBox::showPopup (this=0x4ae9f30) at widgets/qcombobox.cpp:2575
#18 0x00007f151679b295 in QComboBoxPrivate::showPopupFromMouseEvent (this=0x4af05f0, e=0x7ffde504f9e0) at widgets/qcombobox.cpp:3075
#19 0x00007f15166dd8ef in QWidget::event (this=this@entry=0x4ae9f30, event=event@entry=0x7ffde504f9e0) at kernel/qwidget.cpp:8781
#20 0x00007f1516797396 in QComboBox::event (this=0x4ae9f30, event=0x7ffde504f9e0) at widgets/qcombobox.cpp:3038
#21 0x00007f1516695ecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x4ae9f30, e=0x7ffde504f9e0) at kernel/qapplication.cpp:3799
#22 0x00007f151669e165 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x4ae9f30, e=e@entry=0x7ffde504f9e0) at kernel/qapplication.cpp:3273
#23 0x00007f15170c8ef7 in KoApplication::notify (this=<optimized out>, receiver=0x4ae9f30, event=0x7ffde504f9e0) at /workspace/build/libs/main/KoApplication.cpp:657
#24 0x00007f15162f00c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x4ae9f30, event=event@entry=0x7ffde504f9e0) at kernel/qcoreapplication.cpp:988
#25 0x00007f151669ce8f in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x4ae9f30, event=event@entry=0x7ffde504f9e0, alienWidget=alienWidget@entry=0x4ae9f30, nativeWidget=0x1862fb0, buttonDown=buttonDown@entry=0x7f1516b99c80 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#27 0x00007f15166f7236 in QWidgetWindow::handleMouseEvent (this=this@entry=0x4434b50, event=event@entry=0x7ffde504fe70) at kernel/qwidgetwindow.cpp:617
#28 0x00007f15166f9c83 in QWidgetWindow::event (this=0x4434b50, event=0x7ffde504fe70) at kernel/qwidgetwindow.cpp:239
#29 0x00007f1516695ecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x4434b50, e=0x7ffde504fe70) at kernel/qapplication.cpp:3799
#30 0x00007f151669d8c6 in QApplication::notify (this=0x7ffde50504b0, receiver=receiver@entry=0x4434b50, e=e@entry=0x7ffde504fe70) at kernel/qapplication.cpp:3556
#31 0x00007f15170c8ef7 in KoApplication::notify (this=<optimized out>, receiver=0x4434b50, event=0x7ffde504fe70) at /workspace/build/libs/main/KoApplication.cpp:657
#32 0x00007f15162f00c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x4434b50, event=event@entry=0x7ffde504fe70) at kernel/qcoreapplication.cpp:988
#33 0x00007f15117f55a0 in QCoreApplication::sendSpontaneousEvent (event=0x7ffde504fe70, receiver=0x4434b50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 QGuiApplicationPrivate::processMouseEvent (e=e@entry=0x7ffde50500e0) at kernel/qguiapplication.cpp:1903
#35 0x00007f15117f5391 in QGuiApplicationPrivate::processMouseEvent (e=<optimized out>) at kernel/qguiapplication.cpp:1806
#36 0x00007f15117f74a5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1d87a70) at kernel/qguiapplication.cpp:1687
#37 0x00007f15117d532b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:659
#38 0x00007f1504115270 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:76
#39 0x00007f150fa67197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f150fa673f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f150fa6749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f151634373f in QEventDispatcherGlib::processEvents (this=0xafa390, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007f15162ee0ba in QEventLoop::exec (this=this@entry=0x7ffde5050410, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#44 0x00007f15162f66cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#45 0x00007f15117ed24c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633
#46 0x00007f1516695e25 in QApplication::exec () at kernel/qapplication.cpp:2975
#47 0x00007f151774241a in kdemain (argc=1, argv=<optimized out>) at /workspace/build/words/app/main.cpp:58
#48 0x00007f1517395830 in __libc_start_main (main=0x400910 <main(int, char**)>, argc=1, argv=0x7ffde5050608, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffde50505f8) at ../csu/libc-start.c:291
#49 0x0000000000400949 in _start ()

Reported using DrKonqi
Comment 1 Dag Andersen 2017-06-06 10:58:02 UTC
Changing font family after loading a .docx document also crashes on linux.
Tried with small files so does not seem to be tied to large files.

Backtrace:
#0  0x00007ffff6ce7f6f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#1  0x00007fffe4183c26 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#2  0x00007ffff6d26ff0 in QListView::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3  0x00007ffff6d015a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff6738e89 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff66bd7e7 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff66c201b in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff66c5af2 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so
#8  0x00007ffff66bf56c in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff66bdc34 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5C
#10 0x00007ffff6bb84f1 in QComboBox::showPopup() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff6bb9295 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff6afb8ef in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff6bb5396 in QComboBox::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff6ab3ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff6abc165 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff75130d7 in KoApplication::notify (this=0x7fffffffdb20, receiver=0x17af340, event=0x7fffffffd220) at /mnt/src/kdesrc/calligra/calligra/libs/main/KoApplica
#17 0x00007ffff670e0c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff6abae8f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff6b15236 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff6b17c83 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff6ab3ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff6abb8c6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff75130d7 in KoApplication::notify (this=0x7fffffffdb20, receiver=0x7cb6c0, event=0x7fffffffd6d0) at /mnt/src/kdesrc/calligra/calligra/libs/main/KoApplicat
#24 0x00007ffff670e0c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff1a3c5a0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007ffff1a3e4a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gu
#27 0x00007ffff1a1c32b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007fffe4167270 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#29 0x00007fffefcae197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fffefcae3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fffefcae49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ffff676173f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff670c0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff67146cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff7bd2e2f in kdemain (argc=1, argv=0x7fffffffdc88) at /mnt/src/kdesrc/calligra/calligra/words/app/main.cpp:54
#36 0x0000000000400a08 in main (argc=1, argv=0x7fffffffdc88) at /build/neon/calligra/calligra/words/app/calligrawords_dummy.cpp:3
Comment 2 Dag Andersen 2017-06-14 13:01:44 UTC
Reported as QTBUG-61416.
Comment 3 Camilla Boemann 2017-06-18 12:03:38 UTC
*** Bug 381297 has been marked as a duplicate of this bug. ***