Bug 340200 - Okular crashes on exit after viewing a ODF presentation
Summary: Okular crashes on exit after viewing a ODF presentation
Status: RESOLVED FIXED
Alias: None
Product: calligrastage
Classification: Applications
Component: okularplugin (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords: drkonqi
: 340130 340678 341708 341880 342412 342643 342943 342991 343516 343861 344347 344455 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-21 16:13 UTC by Frank Schaefer
Modified: 2015-05-19 17:05 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.65 KB, text/plain)
2015-05-18 06:52 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Schaefer 2014-10-21 16:13:42 UTC
Application: okular (0.20.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.5
Operating System: Linux 3.16.6-desktop i686
Distribution: "openSUSE 13.1 (Bottle) (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
1.) Opened http://linuxtv.org/downloads/presentations/media_summit_2014_DE/Complex_Video_IP.odp
2.) Closed Okular

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#7  0xb06ceecc in QHashNode (value0=@0x208: <error reading variable>, this=0x898e6d0) at /usr/include/QtCore/qhash.h:253
#8  QHash<int, KoInlineObject*>::duplicateNode (node=0x200, newNode=0x898e6d0) at /usr/include/QtCore/qhash.h:532
#9  0xb6011351 in QHashData::detach_helper2 (this=0x864bca8, node_duplicate=node_duplicate@entry=0xb06ceec0 <QHash<int, KoInlineObject*>::duplicateNode(QHashData::Node*, void*)>, node_delete=node_delete@entry=0xb06ceeb0 <QHash<int, KoInlineObject*>::deleteNode2(QHashData::Node*)>, nodeSize=nodeSize@entry=12, nodeAlign=nodeAlign@entry=4) at tools/qhash.cpp:239
#10 0xb06cf774 in QHash<int, KoInlineObject*>::detach_helper (this=this@entry=0x8538958) at /usr/include/QtCore/qhash.h:584
#11 0xb06cf7d3 in detach (this=0x8538958) at /usr/include/QtCore/qhash.h:303
#12 QHash<int, KoInlineObject*>::remove (this=0x8538958, akey=@0xbf810f58: 1) at /usr/include/QtCore/qhash.h:788
#13 0xb06cdeb0 in KoInlineTextObjectManager::removeInlineObject (this=0x8538950, object=object@entry=0x864bed8) at /usr/src/debug/calligra-2.8.6/libs/kotext/KoInlineTextObjectManager.cpp:129
#14 0xb06d3385 in KoInlineObject::~KoInlineObject (this=0x864bed8, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.6/libs/kotext/KoInlineObject.cpp:59
#15 0xb06d3c86 in KoVariable::~KoVariable (this=0x864bed8, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.6/libs/kotext/KoVariable.cpp:58
#16 0xac764e14 in ~PresentationVariable (this=0x864bed8, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.6/stage/plugins/variable/PresentationVariable.h:38
#17 PresentationVariable::~PresentationVariable (this=0x864bed8, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.6/stage/plugins/variable/PresentationVariable.h:38
#18 0xb6117093 in qDeleteInEventHandler (o=o@entry=0x864bed8) at kernel/qobject.cpp:4297
#19 0xb611d2e0 in QObject::event (this=0x864bed8, e=0x83b8748) at kernel/qobject.cpp:1184
#20 0xb667b4b4 in QApplicationPrivate::notify_helper (this=0x81ab3e0, receiver=0x864bed8, e=0x83b8748) at kernel/qapplication.cpp:4562
#21 0xb6681ee3 in QApplication::notify (this=0xbf8113e4, receiver=receiver@entry=0x864bed8, e=e@entry=0x83b8748) at kernel/qapplication.cpp:4348
#22 0xb71defa4 in KApplication::notify (this=0xbf8113e4, receiver=0x864bed8, event=0x83b8748) at /usr/src/debug/kdelibs-4.14.2/kdeui/kernel/kapplication.cpp:311
#23 0xb6103fba in QCoreApplication::notifyInternal (this=0xbf8113e4, receiver=receiver@entry=0x864bed8, event=event@entry=0x83b8748) at kernel/qcoreapplication.cpp:949
#24 0xb61072e5 in sendEvent (event=0x83b8748, receiver=0x864bed8) at kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52, data=0x817c370) at kernel/qcoreapplication.cpp:1573
#26 0xb610780c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52) at kernel/qcoreapplication.cpp:1466
#27 0xb6108531 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1228
#28 0xb6679944 in QApplication::exec () at kernel/qapplication.cpp:3823
#29 0x0805027b in ?? ()
#30 0xb5c829d3 in __libc_start_main () from /lib/libc.so.6
#31 0x08050bc9 in _start ()

Reported using DrKonqi
Comment 1 Frank Schaefer 2014-10-21 16:16:45 UTC
100% reproducable (crashes each time).
Comment 2 Friedrich W. H. Kossebau 2014-10-21 20:09:17 UTC
Please also tell which version of Calligra you have installed (sadly the plugin info is not really useful)?
Comment 3 Friedrich W. H. Kossebau 2014-10-21 20:53:15 UTC
Could not reproduce the crash with Okular 0.19.3 (on KDE 4.13.3) and the current development version of Calligra (which delivers the plugin for ODP).

Could you please also try to update to a newer version of Calligra (2.8.6 is latest) and tell if you still see the crash?
Comment 4 Frank Schaefer 2014-10-22 09:46:56 UTC
I'm already using Calligra 2.8.6.
Okular version is 0.20.2 (KDE 4.14.2).
Comment 5 Frank Schaefer 2014-10-22 09:51:17 UTC
Using Calligra Stage directly results in the same crash.
Comment 6 Christoph Feck 2014-12-20 01:15:27 UTC
*** Bug 340130 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2014-12-20 01:16:03 UTC
*** Bug 340678 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2014-12-20 01:16:28 UTC
*** Bug 341708 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2014-12-20 01:16:50 UTC
*** Bug 341880 has been marked as a duplicate of this bug. ***
Comment 10 T Zachmann 2014-12-23 06:32:50 UTC
I don't see the problem with calligrastage of the 2.9 branch. Can you please check if it is fixed there for you too?
Comment 11 Frank Schaefer 2014-12-24 13:36:56 UTC
(In reply to T Zachmann from comment #10)
> I don't see the problem with calligrastage of the 2.9 branch. Can you please
> check if it is fixed there for you too?

Sure, as soon as I can upgrade to 2.9.
Comment 12 Christoph Feck 2015-01-14 20:02:22 UTC
*** Bug 342643 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2015-01-17 23:12:02 UTC
*** Bug 342943 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2015-01-18 13:30:53 UTC
*** Bug 342991 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2015-02-01 13:19:31 UTC
*** Bug 343516 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2015-02-06 17:38:24 UTC
*** Bug 343861 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2015-02-06 17:38:55 UTC
*** Bug 342412 has been marked as a duplicate of this bug. ***
Comment 18 Inge Wallin 2015-02-16 13:56:54 UTC
With commit 388219fca6990bb258ff9a5c3f2cf2b2cadb8cc4 in the calligra/2.8 branch, this bug seems to be fixed now.
Comment 19 Christoph Feck 2015-02-19 20:08:18 UTC
*** Bug 344347 has been marked as a duplicate of this bug. ***
Comment 20 Albert Astals Cid 2015-02-22 17:37:14 UTC
*** Bug 344455 has been marked as a duplicate of this bug. ***
Comment 21 Jaak Ristioja 2015-05-18 06:52:56 UTC
Created attachment 92680 [details]
New crash information added by DrKonqi

okular (0.20.3) on KDE Platform 4.14.8 using Qt 4.8.6

- What I was doing when the application crashed:
The crash happened when closing Okular in which I had a *.pptx file open.

-- Backtrace (Reduced):
#6  QHashNode (value0=@0x1000000011: <error reading variable>, this=0xa4f25a2e140) at /usr/include/qt4/QtCore/qhash.h:253
#7  QHash<int, KoInlineObject*>::duplicateNode (node=0x1000000001, newNode=0xa4f25a2e140) at /usr/include/qt4/QtCore/qhash.h:532
#8  0x00007b0b114767af in QHashData::detach_helper2 (this=0xa4f2600ac20, node_duplicate=node_duplicate@entry=0x7b0b03393750 <QHash<int, KoInlineObject*>::duplicateNode(QHashData::Node*, void*)>, node_delete=node_delete@entry=0x7b0b03393710 <QHash<int, KoInlineObject*>::deleteNode2(QHashData::Node*)>, nodeSize=nodeSize@entry=24, nodeAlign=nodeAlign@entry=8) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/tools/qhash.cpp:239
[...]
#11 QHash<int, KoInlineObject*>::remove (this=0xa4f25d93b20, akey=@0x7e455cf97740: 1) at /usr/include/qt4/QtCore/qhash.h:788
#12 0x00007b0b03392661 in KoInlineTextObjectManager::removeInlineObject (this=0xa4f25d93b10, object=object@entry=0xa4f25d937f0) at /var/tmp/portage/app-office/calligra-2.8.7/work/calligra-2.8.7/libs/kotext/KoInlineTextObjectManager.cpp:129
Comment 22 Syam 2015-05-18 14:34:04 UTC
I can confirm that the bug exists with:
Okular 0.21.3 
KDE Development Platform 4.14.7
Qt 4.8.6
Fedora 21 x86_64
Calligra Stage 2.8.7

And yes, Calligra Stage also crashes on exit.
Comment 23 T Zachmann 2015-05-19 14:48:09 UTC
I can't reproduce the bug with calligra 2.9.4. Also as Inge noticed the bug seems to be fixed  with commit 388219fca6990bb258ff9a5c3f2cf2b2cadb8cc4. Therefore I close the report as fixed. Please try to update your calligra version. If the problem should persist with the latest version please reopen the bug report
Comment 24 Jaak Ristioja 2015-05-19 14:58:16 UTC
(In reply to T Zachmann from comment #23)
> I can't reproduce the bug with calligra 2.9.4. Also as Inge noticed the bug
> seems to be fixed  with commit 388219fca6990bb258ff9a5c3f2cf2b2cadb8cc4.
> Therefore I close the report as fixed. Please try to update your calligra
> version. If the problem should persist with the latest version please reopen
> the bug report

Do I understand it correctly that upgrading or installing Calligra 2.9.4 or later will fix this issue for Okular users?
Comment 25 T Zachmann 2015-05-19 17:05:41 UTC
(In reply to Jaak Ristioja from comment #24) 
> Do I understand it correctly that upgrading or installing Calligra 2.9.4 or
> later will fix this issue for Okular users?

yes it should fix it also for Okular users as okular uses a calligra component for the rendering.