Bug 345240 - Crash when open Calligra Word
Summary: Crash when open Calligra Word
Status: RESOLVED DOWNSTREAM
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: 2.9.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
: 345328 345372 345435 346910 363071 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-16 23:21 UTC by Naufal Fachrian
Modified: 2016-05-17 14:06 UTC (History)
14 users (show)

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


Attachments
New crash information added by DrKonqi (5.29 KB, text/plain)
2015-03-18 08:47 UTC, Maarten
Details
More complete backtrace - openSUSE 13.2 - x86_64 (8.45 KB, text/plain)
2015-03-20 23:00 UTC, Kenneth Perry
Details
New crash information added by DrKonqi (2.08 KB, text/plain)
2015-03-21 02:12 UTC, almazzola89
Details
New crash information added by DrKonqi (2.33 KB, text/plain)
2015-03-25 11:04 UTC, Domenico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naufal Fachrian 2015-03-16 23:21:53 UTC
Application: calligrawords (2.9.0)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.1-1-desktop i686
Distribution: "openSUSE 20150312 (Tumbleweed) (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I just open calligra word from the launcher. I am using openSuSE Tumbleweed and Plasma 5 desktop from their official repository.

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".
[KCrash Handler]
#6  0xffffffff in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () at /usr/lib/libsoprano.so.4
#7  0xffffffff in KoDocumentRdf::idrefList() const () at /usr/lib/libkordf.so.14
#8  0xffffffff in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () at /usr/lib/libkotext.so.14
#9  0xffffffff in  () at /usr/lib/libwordsprivate.so.14
#10 0xffffffff in  () at /usr/lib/libwordsprivate.so.14
#11 0xffffffff in  () at /usr/lib/libwordsprivate.so.14
#12 0xffffffff in  () at /usr/lib/libwordsprivate.so.14
#13 0xffffffff in KWDocument::loadOdf(KoOdfReadStore&) () at /usr/lib/libwordsprivate.so.14
#14 0xffffffff in KoDocument::loadOasisFromStore(KoStore*) () at /usr/lib/libkomain.so.14
#15 0xffffffff in KoDocument::loadNativeFormatFromStoreInternal(KoStore*) () at /usr/lib/libkomain.so.14
#16 0xffffffff in KoDocument::loadNativeFormatFromStore(QString const&) () at /usr/lib/libkomain.so.14
#17 0xffffffff in KoDocument::loadNativeFormat(QString const&) () at /usr/lib/libkomain.so.14
#18 0xffffffff in KoPart::openTemplate(KUrl const&) () at /usr/lib/libkomain.so.14
#19 0xffffffff in  () at /usr/lib/libkomain.so.14
#20 0xffffffff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/libQtCore.so.4
#21 0xffffffff in  () at /usr/lib/libkomain.so.14
#22 0xffffffff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/libQtCore.so.4
#23 0xffffffff in  () at /usr/lib/libkomain.so.14
#24 0xffffffff in  () at /usr/lib/libkomain.so.14
#25 0xffffffff in  () at /usr/lib/libkomain.so.14
#26 0xffffffff in  () at /usr/lib/libkomain.so.14
#27 0xffffffff in  () at /usr/lib/libkomain.so.14
#28 0xffffffff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/libQtCore.so.4
#29 0xffffffff in QAbstractButton::clicked(bool) () at /usr/lib/libQtGui.so.4
#30 0xffffffff in  () at /usr/lib/libQtGui.so.4
#31 0xffffffff in  () at /usr/lib/libQtGui.so.4
#32 0xffffffff in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQtGui.so.4
#33 0xffffffff in QWidget::event(QEvent*) () at /usr/lib/libQtGui.so.4
#34 0xffffffff in QAbstractButton::event(QEvent*) () at /usr/lib/libQtGui.so.4
#35 0xffffffff in QPushButton::event(QEvent*) () at /usr/lib/libQtGui.so.4
#36 0xffffffff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQtGui.so.4
#37 0xffffffff in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQtGui.so.4
#38 0xffffffff in KoApplication::notify(QObject*, QEvent*) () at /usr/lib/libkomain.so.14
#39 0xffffffff in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/libQtCore.so.4
#40 0xffffffff in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQtGui.so.4
#41 0xffffffff in  () at /usr/lib/libQtGui.so.4
#42 0xffffffff in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib/libQtGui.so.4
#43 0xffffffff in  () at /usr/lib/libQtGui.so.4
#44 0xffffffff in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#45 0xffffffff in  () at /usr/lib/libglib-2.0.so.0
#46 0xffffffff in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#47 0xffffffff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
#48 0xffffffff in  () at /usr/lib/libQtGui.so.4
#49 0xffffffff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
#50 0xffffffff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
#51 0xffffffff in QCoreApplication::exec() () at /usr/lib/libQtCore.so.4
#52 0xffffffff in QApplication::exec() () at /usr/lib/libQtGui.so.4
#53 0xffffffff in kdemain () at /usr/lib/libkdeinit4_calligrawords.so
#54 0x080485bb in  ()
#55 0xffffffff in __libc_start_main () at /lib/libc.so.6
#56 0x080485de in _start ()

Possible duplicates by query: bug 335677.

Reported using DrKonqi
Comment 1 Maarten 2015-03-18 08:47:27 UTC
Created attachment 91616 [details]
New crash information added by DrKonqi

calligrawords (2.9.1) on KDE Platform 4.14.5 using Qt 4.8.6

- What I was doing when the application crashed:

1) Opened Calligra Words
2) Choose template blank page
3) Crash

-- Backtrace (Reduced):
#5  0x00007fa33fd1db6c in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () at /usr/lib64/libsoprano.so.4
#6  0x00007fa32e4e08ff in KoDocumentRdf::idrefList() const () at /usr/lib64/libkordf.so.14
#7  0x00007fa3352efb50 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () at /usr/lib64/libkotext.so.14
#8  0x00007fa32e798d17 in  () at /usr/lib64/libwordsprivate.so.14
#9  0x00007fa32e77c3ac in KWDocument::loadOdf(KoOdfReadStore&) () at /usr/lib64/libwordsprivate.so.14
Comment 2 Christoph Feck 2015-03-19 10:29:24 UTC
This is bug 326023 reappearing since the 2.9 release. See also bug 344883.
Comment 3 Christoph Feck 2015-03-19 10:30:04 UTC
*** Bug 345328 has been marked as a duplicate of this bug. ***
Comment 4 Denis Kuplyakov 2015-03-19 14:07:41 UTC
I can't reproduce bug on OpenSUSE 13.2 by building from source or installing 2.9.0-3.4.3.x86_64 version and 2.9.1-43.2.x86_64  of Calligra from official repository.
Comment 5 Inge Wallin 2015-03-20 20:38:50 UTC
Hi Naufal,

We have a similar bug (344883) where the opensuse packages had very strange version numbers.  Could you try to update your packages and see if the bug disappears?  None of us could reproduce the bug in any way. It's also only OpenSUSE that is affected, so that also suggests that there is something with those packages.
Comment 6 Kenneth Perry 2015-03-20 22:41:47 UTC
I have the same crash, and ran through the various OpenSUSE versions. I am able to reproduce with both 2.9.0-3.4.3 in Updates and 2.9.1-43.2 from KDE-Extra. Downgrading to 2.8.5-3.1.8 from the original repository fixes it.

(Running x86_64)
Comment 7 Kenneth Perry 2015-03-20 23:00:07 UTC
Created attachment 91659 [details]
More complete backtrace - openSUSE 13.2 - x86_64

Better backtrace from the -debuginfo packages.
Comment 8 Christoph Feck 2015-03-21 00:43:29 UTC
*** Bug 345372 has been marked as a duplicate of this bug. ***
Comment 9 almazzola89 2015-03-21 02:12:38 UTC
Created attachment 91660 [details]
New crash information added by DrKonqi

calligrawords (2.9.0) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:  
I just launched Calligra Word, and it crashed immediately.

-- Backtrace (Reduced):
#5  Soprano::Model::listStatements (this=0x0, subject=..., predicate=..., object=..., context=...) at /usr/src/debug/soprano-2.9.4/soprano/model.cpp:73
#6  0x00007f6b2a4b18ff in KoDocumentRdf::idrefList() const () from /usr/lib64/libkordf.so.14
#7  0x00007f6b30d37a00 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () from /usr/lib64/libkotext.so.14
[...]
#9  0x00007f6b2a74d3dc in KWDocument::loadOdf(KoOdfReadStore&) () from /usr/lib64/libwordsprivate.so.14
#10 0x00007f6b31767a6b in KoDocument::loadOasisFromStore(KoStore*) () from /usr/lib64/libkomain.so.14
Comment 10 Denis Kuplyakov 2015-03-21 07:37:14 UTC
It will be usefull if somebody posted a bug-report tells us his SopranoLib verion.
Comment 11 rob de leeuw 2015-03-21 07:59:14 UTC
Op zaterdag 21 maart 2015 07:37:14 schreef u:
> https://bugs.kde.org/show_bug.cgi?id=345240
> 
> --- Comment #10 from Denis <dener.kup@gmail.com> ---
> It will be usefull if somebody posted a bug-report tells us his SopranoLib
> verion.

On my system i see libsoprano installed version 2.9.4-2.1.10
Linux 3.16.7-7-desktop; openSuse 13.2 (x86_64); KDE 4.14.6
Comment 12 Denis Kuplyakov 2015-03-21 08:32:55 UTC
(In reply to rob de leeuw from comment #11)
> Op zaterdag 21 maart 2015 07:37:14 schreef u:
> > https://bugs.kde.org/show_bug.cgi?id=345240
> > 
> > --- Comment #10 from Denis <dener.kup@gmail.com> ---
> > It will be usefull if somebody posted a bug-report tells us his SopranoLib
> > verion.
> 
> On my system i see libsoprano installed version 2.9.4-2.1.10
> Linux 3.16.7-7-desktop; openSuse 13.2 (x86_64); KDE 4.14.6

I have the same version. So still no clues about crash.
Comment 13 Kenneth Perry 2015-03-21 14:29:35 UTC
Tracing the crash, the reason is Soprano::createModel() is returning 0 due to no backend. Looking at my list of packages, no soprano backend is installed for some reason. Installing "soprano-backend-redland " fixes it.
Comment 14 Christoph Feck 2015-03-21 14:47:50 UTC
Hrvoje, missing dependencies?
Comment 15 Camilla Boemann 2015-03-21 15:17:47 UTC
I guess that settles it then - thanks for your help
Comment 16 Camilla Boemann 2015-03-21 15:18:59 UTC
But that said Denis, maybe we should make the code more robust so as to not expect soprano?
Comment 17 Denis Kuplyakov 2015-03-21 15:29:31 UTC
(In reply to Camilla Boemann from comment #15)
> I guess that settles it then - thanks for your help

We can also close this: https://bugs.kde.org/show_bug.cgi?id=344883

(In reply to Camilla Boemann from comment #16)
> But that said Denis, maybe we should make the code more robust so as to not
> expect soprano?

Now we can build suite without RDF support at all, as I remember. And ability to check existence of backend need investigation. You can write me email or IRC, I don't think it is appropriate to solve such thing here.

It seems earlier OpenSUSE doesn't allow to install Soprano without backend, because RDF code in 2.9 hasn't been changed since 2012 and we have no such problem (my changes are in master now, and I think will not affect behaiour with this bug).
Comment 18 Hrvoje Senjan 2015-03-21 18:19:18 UTC
Hm, looks like soprano-devel was added back for 2.9.0 update, and that only pulled in the shlib, and not the backend. Will check what needs to be done on our (openSUSE) side.
Sorry for the troubles!
Comment 19 Christoph Feck 2015-03-23 10:30:19 UTC
*** Bug 345435 has been marked as a duplicate of this bug. ***
Comment 20 Bob Ish 2015-03-24 21:39:52 UTC
I added libsoprano 2.9.4-3.2 It works now on both Calligra & Okular.
Comment 21 Domenico 2015-03-25 11:04:14 UTC
Created attachment 91729 [details]
New crash information added by DrKonqi

calligrawords (2.9.0) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:
I open an RTF file format, I think this is an error document but
I can open it with libreoffice

-- Backtrace (Reduced):
#5  0x00007f90e8be9b6c in Soprano::Model::listStatements(Soprano::Node const&, Soprano::Node const&, Soprano::Node const&, Soprano::Node const&) const () at /usr/lib64/libsoprano.so.4
#6  0x00007f90df75e8ff in KoDocumentRdf::idrefList() const () at /usr/lib64/libkordf.so.14
#7  0x00007f90ea3f2a00 in KoTextLoader::KoTextLoader(KoShapeLoadingContext&, KoShape*) () at /usr/lib64/libkotext.so.14
#8  0x00007f90dfa16d47 in  () at /usr/lib64/libwordsprivate.so.14
#9  0x00007f90df9fa3dc in KWDocument::loadOdf(KoOdfReadStore&) () at /usr/lib64/libwordsprivate.so.14
Comment 22 rob de leeuw 2015-04-05 17:50:40 UTC
Hello Dieter,

I´m sorry for this late reply. Had some other problems with this laptop.
I can´t really give an answer to your question. First I did a fresh install of 
opensuse 13.2 on this laptop and the problem remained. Later I did another 
installation but instead of using the default BTrFS file system for the root 
partition, I used XFS and the Calligra suddenly did not crash any more. 
I don´t know if the file system really interferes with calligra, or this is 
just accidental. Hope this information is of any use for you.

Linux 3.16.7-7-desktop
openSUSE 13.2 (Harlequin) (x86_64),KDE 4.14.6

regards
Comment 23 Christoph Feck 2015-05-16 21:52:50 UTC
*** Bug 346910 has been marked as a duplicate of this bug. ***
Comment 24 Rex Dieter 2016-05-17 14:06:38 UTC
*** Bug 363071 has been marked as a duplicate of this bug. ***