Bug 326023

Summary: Crash opening a new empty document
Product: [Applications] calligrawords Reporter: Andrea <andrea.alri90>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andrea.alri90, cbo, flywheel, hans.vaglund, lehoangphuongbg, mikeharrison, mjkerpan
Priority: NOR Keywords: drkonqi
Version: 2.7.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Andrea 2013-10-14 19:34:14 UTC
Application: calligrawords (2.7.3)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.10mamba i686
Distribution: "openmamba release 2.85.0 for i586 (devel)"

-- Information about the crash:
- What I was doing when the application crashed:
I was openinig a new document using the empty document model and Calligra Words crashed immediatly.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb1853b40 (LWP 4062)):
#0  0xb6d9e3d1 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x4c55a95b in g_poll () from /usr/lib/libglib-2.0.so.0
#2  0x4c54bb78 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x4c54bcb7 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x48a38d57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x48a086e3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x48a08a01 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x488f6b7f in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x489e9054 in ?? () from /usr/lib/libQtCore.so.4
#9  0x488f943f in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6ea117f in start_thread (arg=0xb1853b40) at pthread_create.c:309
#11 0xb6dab4be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb6b65980 (LWP 4061)):
[KCrash Handler]
#5  0x49a2f9ba in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () from /usr/lib/libsoprano.so.4
#6  0xb276aa2b in KoDocumentRdf::idrefList() const () from /opt/kde/lib/libkordf.so.12
#7  0xb3e8bf52 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () from /opt/kde/lib/libkotext.so.12
#8  0xb283ddb9 in KWOdfLoader::load(KoOdfReadStore&) () from /opt/kde/lib/libwordsprivate.so.12
#9  0xb281d44d in KWDocument::loadOdf(KoOdfReadStore&) () from /opt/kde/lib/libwordsprivate.so.12
#10 0xb3f3f6ff in KoDocument::loadOasisFromStore(KoStore*) () from /opt/kde/lib/libkomain.so.12
#11 0xb3f4da46 in KoDocument::loadNativeFormatFromStoreInternal(KoStore*) () from /opt/kde/lib/libkomain.so.12
#12 0xb3f4ed88 in KoDocument::loadNativeFormatFromStore(QString const&) () from /opt/kde/lib/libkomain.so.12
#13 0xb3f4f413 in KoDocument::loadNativeFormat(QString const&) () from /opt/kde/lib/libkomain.so.12
#14 0xb3fe92d2 in KoPart::openTemplate(KUrl const&) () from /opt/kde/lib/libkomain.so.12
#15 0xb3fea81a in KoPart::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.24] () from /opt/kde/lib/libkomain.so.12
#16 0x48a1e6d6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0xb3fcc309 in KoOpenPane::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.44] () from /opt/kde/lib/libkomain.so.12
#18 0x48a1e6d6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb3fc9805 in KoDetailsPane::openUrl(KUrl const&) () from /opt/kde/lib/libkomain.so.12
#20 0xb3fda587 in KoTemplatesPane::openFile(QModelIndex const&) () from /opt/kde/lib/libkomain.so.12
#21 0xb3fc95f1 in KoDetailsPane::openFile() () from /opt/kde/lib/libkomain.so.12
#22 0xb3fda67b in KoTemplatesPane::openFile() () from /opt/kde/lib/libkomain.so.12
#23 0xb3fc995b in KoDetailsPane::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.2] () from /opt/kde/lib/libkomain.so.12
#24 0x48a1e6d6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#25 0x49429bbd in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#26 0x49146360 in ?? () from /usr/lib/libQtGui.so.4
#27 0x491476a6 in ?? () from /usr/lib/libQtGui.so.4
#28 0x49147796 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#29 0x48d90053 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x491487ba in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x491e2c7e in QPushButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x48d371ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x48d3f4ad in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0xb3f3e56d in KoApplication::notify(QObject*, QEvent*) () from /opt/kde/lib/libkomain.so.12
#35 0x48a09c5d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#36 0x48d3d3e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#37 0x48dbd547 in ?? () from /usr/lib/libQtGui.so.4
#38 0x48dbb472 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#39 0x48de5284 in ?? () from /usr/lib/libQtGui.so.4
#40 0x4c54b83c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0x4c54bbf8 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x4c54bcb7 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0x48a38d57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x48de532e in ?? () from /usr/lib/libQtGui.so.4
#45 0x48a086e3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x48a08a01 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0x48a0e0de in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#48 0x48d356a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#49 0xb6921d55 in kdemain () from /opt/kde/lib/libkdeinit4_calligrawords.so
#50 0x0804f848 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-16 03:26:50 UTC
Could you install debug symbols and provide a better backtrace ?
Comment 2 Andrea 2013-10-22 09:21:21 UTC
Created attachment 83010 [details]
New crash information added by DrKonqi

calligrawords (2.7.4) on KDE Platform 4.11.2 using Qt 4.8.5

- What I was doing when the application crashed:
Opening a new document using "New empty document" model Calligra Words crashed. This situation happens every time.

-- Backtrace (Reduced):
#5  0xb4c149ba in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () from /usr/lib/libsoprano.so.4
#6  0xb230aa0b in KoDocumentRdf::idrefList (this=0x9c7d308) at /usr/src/RPM/BUILD/calligra-2.7.4/libs/rdf/KoDocumentRdf.cpp:1348
#7  0xb3a49922 in KoTextLoader::KoTextLoader (this=0xbfa29284, context=..., shape=0x0) at /usr/src/RPM/BUILD/calligra-2.7.4/libs/kotext/opendocument/KoTextLoader.cpp:278
#8  0xb23e2529 in KWOdfLoader::load (this=this@entry=0xbfa292d4, odfStore=...) at /usr/src/RPM/BUILD/calligra-2.7.4/words/part/KWOdfLoader.cpp:226
#9  0xb23c17bd in KWDocument::loadOdf (this=0x9bbc2c0, odfStore=...) at /usr/src/RPM/BUILD/calligra-2.7.4/words/part/KWDocument.cpp:621
Comment 3 Camilla Boemann 2013-10-22 09:40:01 UTC
Thanks. Could you please tell me which template you are using.
Comment 4 Andrea 2013-10-23 07:53:52 UTC
"Empty document" template, but I noticed that the crash happens using all the templates.
Comment 5 Camilla Boemann 2013-10-23 11:58:11 UTC
well it works for me, and the crash is happening in soprano, so maybe try and build without that
Comment 6 mikeharrison 2014-03-01 19:05:31 UTC
Created attachment 85374 [details]
New crash information added by DrKonqi

calligrawords (2.7.5) on KDE Platform 4.11.4 using Qt 4.8.5

- What I was doing when the application crashed: Trying to open any new template in Words. Sheets, Stage and Flow all work OK.  I have tried a clean install of Mageia with the same result. I loaded from the i586 32bit KDE CD .

-- Backtrace (Reduced):
#6  0xb311ba1a in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () from /lib/libsoprano.so.4
#7  0xabc46170 in KoDocumentRdf::idrefList() const () from /lib/libkordf.so.12
#8  0xad30bff2 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () from /lib/libkotext.so.12
#9  0xabd14d81 in KWOdfLoader::load(KoOdfReadStore&) () from /lib/libwordsprivate.so.12
#10 0xabcf45ae in KWDocument::loadOdf(KoOdfReadStore&) () from /lib/libwordsprivate.so.12
Comment 7 Jekyll Wu 2014-06-03 00:41:14 UTC
*** Bug 335677 has been marked as a duplicate of this bug. ***
Comment 8 Peter Jespersen 2015-03-05 08:56:22 UTC
Created attachment 91430 [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: Trying to open an ODT document created earlier in LO. Trying to create a new document using one of Words own templates.

-- Backtrace (Reduced):
#5  0x00007ffe5d96eb6c in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () at /usr/lib64/libsoprano.so.4
#6  0x00007ffe4c4638ff in KoDocumentRdf::idrefList() const () at /usr/lib64/libkordf.so.14
#7  0x00007ffe52f3ea00 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () at /usr/lib64/libkotext.so.14
#8  0x00007ffe4c71bd47 in  () at /usr/lib64/libwordsprivate.so.14
#9  0x00007ffe4c6ff3dc in KWDocument::loadOdf(KoOdfReadStore&) () at /usr/lib64/libwordsprivate.so.14
Comment 9 Mike Kerpan 2015-03-09 17:02:42 UTC
Created attachment 91508 [details]
New crash information added by DrKonqi

calligrawords (2.9.0) on KDE Platform 4.14.5 using Qt 4.8.6

- What I was doing when the application crashed:
Nothing else.
- Unusual behavior I noticed:
None. Everything was normal.
- Custom settings of the application:
None. I was using default settings.

-- Backtrace (Reduced):
#5  0x00007f1cd2ab0b6c in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () at /usr/lib64/libsoprano.so.4
#6  0x00007f1cbfe708ff in KoDocumentRdf::idrefList() const () at /usr/lib64/libkordf.so.14
#7  0x00007f1cc6a6ba00 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () at /usr/lib64/libkotext.so.14
#8  0x00007f1cc0128d47 in  () at /usr/lib64/libwordsprivate.so.14
#9  0x00007f1cc010c3dc in KWDocument::loadOdf(KoOdfReadStore&) () at /usr/lib64/libwordsprivate.so.14
Comment 10 hans.vaglund 2015-03-16 22:00:52 UTC
Created attachment 91585 [details]
New crash information added by DrKonqi

calligrawords (2.9.0) on KDE Platform 4.14.5 using Qt 4.8.6

- What I was doing when the application crashed:opend a new document in calligra words. happens every time

-- Backtrace (Reduced):
#5  0x00007fd0af77cb6c in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () from /usr/lib64/libsoprano.so.4
#6  0x00007fd09dc158ff in KoDocumentRdf::idrefList (this=0x1314260) at /usr/src/debug/calligra-2.9.0/libs/rdf/KoDocumentRdf.cpp:1064
#7  0x00007fd0a4c0fa00 in KoTextLoader::KoTextLoader (this=0x7fff4e66c640, context=..., shape=<optimized out>) at /usr/src/debug/calligra-2.9.0/libs/kotext/opendocument/KoTextLoader.cpp:281
#8  0x00007fd09decdd3c in KWOdfLoader::loadHeaderFooterFrame (this=this@entry=0x7fff4e66c9b0, context=..., pageStyle=..., elem=..., fsType=fsType@entry=Words::OddPagesFooterTextFrameSet) at /usr/src/debug/calligra-2.9.0/words/part/KWOdfLoader.cpp:338
#9  0x00007fd09decdf5d in KWOdfLoader::loadHeaderFooter (this=this@entry=0x7fff4e66c9b0, context=..., pageStyle=..., masterPage=..., headerFooter=headerFooter@entry=KWOdfLoader::LoadFooter) at /usr/src/debug/calligra-2.9.0/words/part/KWOdfLoader.cpp:379