Bug 335677

Summary: Crashed when open a .docx document
Product: [Applications] calligrawords Reporter: Lê Hoàng Phương <lehoangphuongbg>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: m_becker
Priority: NOR Keywords: drkonqi
Version: 2.8.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Lê Hoàng Phương 2014-06-02 04:52:59 UTC
Application: calligrawords (2.8.1)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I just open a docx documents and then Calligra Words crashed.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb0560b40 (LWP 9477)):
#0  __GI___pthread_mutex_lock (mutex=0xafc00558) at ../nptl/pthread_mutex_lock.c:122
#1  0xb76bcaf4 in pthread_mutex_lock (mutex=0xafc00558) at forward.c:192
#2  0xb55f3100 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb55ad879 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb55ae2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb55ae528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb65db95f in QEventDispatcherGlib::processEvents (this=0xafc00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb65aa823 in QEventLoop::processEvents (this=this@entry=0xb0560258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb65aab49 in QEventLoop::exec (this=this@entry=0xb0560258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb649723d in QThread::exec (this=this@entry=0x9f58768) at thread/qthread.cpp:537
#10 0xb658ac44 in QInotifyFileSystemWatcherEngine::run (this=0x9f58768) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb6499b6f in QThreadPrivate::start (arg=0x9f58768) at thread/qthread_unix.cpp:349
#12 0xb5693f70 in start_thread (arg=0xb0560b40) at pthread_create.c:312
#13 0xb76af70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xafb3cb40 (LWP 9479)):
#0  0xb779e424 in __kernel_vsyscall ()
#1  0xb76bd392 in __GI___clock_gettime (clock_id=1, tp=0xafb3bff8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb64f48cc in do_gettime (frac=0xafb3bff0, sec=0xafb3bfe8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb65dd2a2 in updateCurrentTime (this=0xaf2026e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xaf2026e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb65db82b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xafb3c0ec) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb65db8bd in timerSourcePrepare (source=0xaf2026b0, timeout=0xafb3c0ec) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb55ad9b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb55ae2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb55ae528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb65db95f in QEventDispatcherGlib::processEvents (this=0xaf200468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb65aa823 in QEventLoop::processEvents (this=this@entry=0xafb3c258, flags=...) at kernel/qeventloop.cpp:149
#13 0xb65aab49 in QEventLoop::exec (this=this@entry=0xafb3c258, flags=...) at kernel/qeventloop.cpp:204
#14 0xb649723d in QThread::exec (this=this@entry=0xa0a1618) at thread/qthread.cpp:537
#15 0xb658ac44 in QInotifyFileSystemWatcherEngine::run (this=0xa0a1618) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb6499b6f in QThreadPrivate::start (arg=0xa0a1618) at thread/qthread_unix.cpp:349
#17 0xb5693f70 in start_thread (arg=0xafb3cb40) at pthread_create.c:312
#18 0xb76af70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb44f4740 (LWP 9476)):
[KCrash Handler]
#7  0xb4f1d04a in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () from /usr/lib/libsoprano.so.4
#8  0xb154073d in KoDocumentRdf::idrefList (this=0xa2b5280) at /build/buildd/calligra-2.8.1-1/libs/rdf/KoDocumentRdf.cpp:1072
#9  0xb61ca519 in KoTextLoader::KoTextLoader (this=0xbfed4864, context=..., shape=0x0) at /build/buildd/calligra-2.8.1-1/libs/kotext/opendocument/KoTextLoader.cpp:278
#10 0xb15e6b0c in KWOdfLoader::loadHeaderFooterFrame (this=this@entry=0xbfed4a74, context=..., pageStyle=..., elem=..., fsType=fsType@entry=Words::OddPagesHeaderTextFrameSet) at /build/buildd/calligra-2.8.1-1/words/part/KWOdfLoader.cpp:334
#11 0xb15e6d93 in KWOdfLoader::loadHeaderFooter (this=0xbfed4a74, context=..., pageStyle=..., masterPage=..., headerFooter=headerFooter@entry=KWOdfLoader::LoadHeader) at /build/buildd/calligra-2.8.1-1/words/part/KWOdfLoader.cpp:360
#12 0xb15e70b6 in KWOdfLoader::loadMasterPageStyles (this=0xbfed4a74, context=...) at /build/buildd/calligra-2.8.1-1/words/part/KWOdfLoader.cpp:310
#13 0xb15e7b26 in KWOdfLoader::load (this=this@entry=0xbfed4a74, odfStore=...) at /build/buildd/calligra-2.8.1-1/words/part/KWOdfLoader.cpp:140
#14 0xb15c748e in KWDocument::loadOdf (this=0xa268868, odfStore=...) at /build/buildd/calligra-2.8.1-1/words/part/KWDocument.cpp:658
#15 0xb74c715f in KoDocument::loadOasisFromStore (this=0xa268868, store=0xa5139e0) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:1971
#16 0xb74d5a78 in KoDocument::loadNativeFormatFromStoreInternal (this=this@entry=0xa268868, store=store@entry=0xa5139e0) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:1861
#17 0xb74d6ce6 in KoDocument::loadNativeFormatFromStore (this=0xa268868, file=...) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:1809
#18 0xb74d73ae in KoDocument::loadNativeFormat (this=0xa268868, file_=...) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:1789
#19 0xb74d1398 in KoDocument::openFile (this=0xa268868) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:1588
#20 0xb74d82f0 in openFile (this=0xa1438d8) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:276
#21 openLocalFile (this=0xa1438d8) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:298
#22 KoDocument::openUrlInternal (this=this@entry=0xa268868, url=...) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:2693
#23 0xb74d86cc in KoDocument::openUrl (this=0xa268868, _url=...) at /build/buildd/calligra-2.8.1-1/libs/main/KoDocument.cpp:1261
#24 0xb74fa84f in KoMainWindow::openDocumentInternal (this=this@entry=0x9efba48, url=..., newpart=<optimized out>, newpart@entry=0x0, newdoc=0xa268868, newdoc@entry=0x0) at /build/buildd/calligra-2.8.1-1/libs/main/KoMainWindow.cpp:789
#25 0xb74fc80a in KoMainWindow::openDocument (this=0x9efba48, url=...) at /build/buildd/calligra-2.8.1-1/libs/main/KoMainWindow.cpp:750
#26 0xb74fcd81 in KoMainWindow::slotFileOpen (this=this@entry=0x9efba48) at /build/buildd/calligra-2.8.1-1/libs/main/KoMainWindow.cpp:1334
#27 0xb750e767 in KoMainWindow::qt_static_metacall (_o=_o@entry=0x9efba48, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfed52c8) at /build/buildd/calligra-2.8.1-1/obj-i686-linux-gnu/libs/main/KoMainWindow.moc:131
#28 0xb65c10f7 in QMetaObject::activate (sender=sender@entry=0x9efe2e8, m=m@entry=0xb7461718 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfed52c8) at kernel/qobject.cpp:3539
#29 0xb6b0072d in QAction::triggered (this=this@entry=0x9efe2e8, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#30 0xb6b02324 in QAction::activate (this=this@entry=0x9efe2e8, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#31 0xb6fa6ceb in QMenuPrivate::activateCausedStack (this=0x9f35310, causedStack=..., action=0x9efe2e8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1038
#32 0xb6fabd98 in QMenuPrivate::activateAction (this=this@entry=0x9f35310, action=action@entry=0x9efe2e8, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#33 0xb6fafde9 in QMenu::mouseReleaseEvent (this=this@entry=0x9f1a5d0, e=e@entry=0xbfed58f4) at widgets/qmenu.cpp:2372
#34 0xb5a6adee in KMenu::mouseReleaseEvent (this=0x9f1a5d0, e=0xbfed58f4) at ../../kdeui/widgets/kmenu.cpp:464
#35 0xb6b613fa in QWidget::event (this=this@entry=0x9f1a5d0, event=event@entry=0xbfed58f4) at kernel/qwidget.cpp:8376
#36 0xb6fb02af in QMenu::event (this=0x9f1a5d0, e=0xbfed58f4) at widgets/qmenu.cpp:2481
#37 0xb6b077f4 in QApplicationPrivate::notify_helper (this=0x9d1e530, receiver=receiver@entry=0x9f1a5d0, e=0xbfed58f4) at kernel/qapplication.cpp:4567
#38 0xb6b0fea0 in QApplication::notify (this=this@entry=0xbfed5e50, receiver=receiver@entry=0x9f1a5d0, e=e@entry=0xbfed58f4) at kernel/qapplication.cpp:4110
#39 0xb74c605d in KoApplication::notify (this=0xbfed5e50, receiver=0x9f1a5d0, event=0xbfed58f4) at /build/buildd/calligra-2.8.1-1/libs/main/KoApplication.cpp:590
#40 0xb65abe4a in QCoreApplication::notifyInternal (this=0xbfed5e50, receiver=receiver@entry=0x9f1a5d0, event=event@entry=0xbfed58f4) at kernel/qcoreapplication.cpp:953
#41 0xb6b0db53 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QApplicationPrivate::sendMouseEvent (receiver=0x9f1a5d0, event=event@entry=0xbfed58f4, alienWidget=0x0, nativeWidget=nativeWidget@entry=0x9f1a5d0, buttonDown=buttonDown@entry=0xb747ece4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#43 0xb6b91ba0 in QETWidget::translateMouseEvent (this=0x9f1a5d0, event=event@entry=0xbfed5b1c) at kernel/qapplication_x11.cpp:4568
#44 0xb6b90ec5 in QApplication::x11ProcessEvent (this=0xbfed5e50, event=event@entry=0xbfed5b1c) at kernel/qapplication_x11.cpp:3627
#45 0xb6bbc524 in x11EventSourceDispatch (s=0x9d1fc40, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0xb55ae1e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0xb55ae468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb55ae528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb65db93b in QEventDispatcherGlib::processEvents (this=this@entry=0x9ccbe08, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#50 0xb6bbc5de in QGuiEventDispatcherGlib::processEvents (this=0x9ccbe08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb65aa823 in QEventLoop::processEvents (this=this@entry=0xbfed5dd8, flags=...) at kernel/qeventloop.cpp:149
#52 0xb65aab49 in QEventLoop::exec (this=this@entry=0xbfed5dd8, flags=...) at kernel/qeventloop.cpp:204
#53 0xb65b08fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#54 0xb6b05a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0xb7798cc5 in kdemain (argc=1, argv=0xbfed5f34) at /build/buildd/calligra-2.8.1-1/words/app/main.cpp:44
#56 0x0804855b in main (argc=1, argv=0xbfed5f34) at /build/buildd/calligra-2.8.1-1/obj-i686-linux-gnu/words/app/calligrawords_dummy.cpp:3

Possible duplicates by query: bug 326023.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-06-03 00:41:14 UTC

*** This bug has been marked as a duplicate of bug 326023 ***
Comment 2 Maarten 2015-03-03 09:14:04 UTC
Created attachment 91388 [details]
New crash information added by DrKonqi

calligrawords (2.9.0) on KDE Platform 4.14.4 using Qt 4.8.6

- What I was doing when the application crashed:
Tried to use "empty document" template first, then I wanted to open a .doc file .
In both cases, calligra-words crashed.

-- Backtrace (Reduced):
#5  0x00007f1e87a32b6c in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () at /usr/lib64/libsoprano.so.4
#6  0x00007f1e763cb8ff in KoDocumentRdf::idrefList() const () at /usr/lib64/libkordf.so.14
#7  0x00007f1e7d003a00 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () at /usr/lib64/libkotext.so.14
#8  0x00007f1e76683d47 in  () at /usr/lib64/libwordsprivate.so.14
#9  0x00007f1e766673dc in KWDocument::loadOdf(KoOdfReadStore&) () at /usr/lib64/libwordsprivate.so.14