Bug 301283 - Okular crashed on exit
Summary: Okular crashed on exit
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 314644 319008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-06 13:59 UTC by Piotr Sniady
Modified: 2015-07-09 20:35 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.54 KB, text/plain)
2012-08-16 09:37 UTC, giupar93
Details
New crash information added by DrKonqi (5.74 KB, text/plain)
2012-09-23 20:16 UTC, ztowfic
Details
New crash information added by DrKonqi (4.75 KB, text/plain)
2014-04-01 17:19 UTC, Alexei Colin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Sniady 2012-06-06 13:59:10 UTC
Application: okular (0.14.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Closed okular with an opened PDF file, then Okular crashed.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4e299c0 (LWP 2958))]

Thread 3 (Thread 0xb2888b40 (LWP 2959)):
#0  0xb77aa424 in __kernel_vsyscall ()
#1  0xb5dab380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5485a3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb547806e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb547852b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2891134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb549b673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb5549d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5db9ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb1effb40 (LWP 2960)):
#0  0xb554bdc8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5dc75f4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb54b7390 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb547804c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb547852b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb36220ea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb549b673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb5549d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5db9ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4e299c0 (LWP 2958)):
[KCrash Handler]
#7  0xafcb4ca9 in Okular::Document::closeDocument (this=0x9c8f060) at ../core/document.cpp:1766
#8  0xafd564e7 in Okular::Part::closeUrl (this=0x9c6c0c0) at ../part.cpp:1337
#9  0xb77636aa in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#10 0xafd45f2f in Okular::Part::openUrl (this=0x9c6c0c0, _url=...) at ../part.cpp:1273
#11 0xafd46404 in Okular::Part::openDocument (this=0x9c6c0c0, doc=...) at ../part.cpp:1035
#12 0xafd57200 in qt_static_metacall (_a=0xbf8e148c, _id=4, _o=0x9c6c0c0, _c=<optimized out>) at ./part.moc:169
#13 Okular::Part::qt_static_metacall (_o=0x9c6c0c0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf8e148c) at ./part.moc:159
#14 0xafd576fc in Okular::Part::qt_metacall (this=0x9c6c0c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf8e148c) at ./part.moc:287
#15 0xb5f79a38 in QDBusConnectionPrivate::deliverCall (this=0x9be11e8, object=0x9c6c0c0, msg=..., metaTypes=..., slotIdx=16) at qdbusintegrator.cpp:947
#16 0xb5f7ac80 in QDBusConnectionPrivate::activateCall (this=0x9be11e8, object=0x9c6c0c0, flags=16, msg=...) at qdbusintegrator.cpp:857
#17 0xb5f7b44b in QDBusConnectionPrivate::activateObject (this=0x9be11e8, node=..., msg=..., pathStartPos=-1081207316) at qdbusintegrator.cpp:1443
#18 0xb5f7b7e8 in QDBusActivateObjectEvent::placeMetaCall (this=0xa4be280) at qdbusintegrator.cpp:1537
#19 0xb6171c7b in QObject::event (this=0x9c6c0c0, e=0xa4be280) at kernel/qobject.cpp:1195
#20 0xb66beed4 in notify_helper (e=0xa4be280, receiver=0x9c6c0c0, this=0x9a8eaf8) at kernel/qapplication.cpp:4559
#21 QApplicationPrivate::notify_helper (this=0x9a8eaf8, receiver=0x9c6c0c0, e=0xa4be280) at kernel/qapplication.cpp:4531
#22 0xb66c430d in QApplication::notify (this=0xa4be280, receiver=0x9c6c0c0, e=0xa4be280) at kernel/qapplication.cpp:4288
#23 0xb7243b61 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0xb615697e in QCoreApplication::notifyInternal (this=0xbf8e2a80, receiver=0x9c6c0c0, event=0xa4be280) at kernel/qcoreapplication.cpp:876
#25 0xb615aad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a6e370) at kernel/qcoreapplication.cpp:1500
#27 0xb615ae0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#28 0xb6189494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0x9a8d178) at kernel/qeventdispatcher_glib.cpp:279
#30 0xb5477cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb54780e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb54781c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb6189887 in QEventDispatcherGlib::processEvents (this=0x9a6eed8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0xb6777aaa in QGuiEventDispatcherGlib::processEvents (this=0x9a6eed8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb615550d in QEventLoop::processEvents (this=0xbf8e1d8c, flags=...) at kernel/qeventloop.cpp:149
#36 0xb61557a9 in QEventLoop::exec (this=0xbf8e1d8c, flags=...) at kernel/qeventloop.cpp:204
#37 0xafcb4ca6 in Okular::Document::closeDocument (this=0x9c8f060) at ../core/document.cpp:1765
#38 0xafd564e7 in Okular::Part::closeUrl (this=0x9c6c0c0) at ../part.cpp:1337
#39 0xb77636aa in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#40 0xafd45f2f in Okular::Part::openUrl (this=0x9c6c0c0, _url=...) at ../part.cpp:1273
#41 0xafd46404 in Okular::Part::openDocument (this=0x9c6c0c0, doc=...) at ../part.cpp:1035
#42 0xafd57200 in qt_static_metacall (_a=0xbf8e211c, _id=4, _o=0x9c6c0c0, _c=<optimized out>) at ./part.moc:169
#43 Okular::Part::qt_static_metacall (_o=0x9c6c0c0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf8e211c) at ./part.moc:159
#44 0xafd576fc in Okular::Part::qt_metacall (this=0x9c6c0c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf8e211c) at ./part.moc:287
#45 0xb5f79a38 in QDBusConnectionPrivate::deliverCall (this=0x9be11e8, object=0x9c6c0c0, msg=..., metaTypes=..., slotIdx=16) at qdbusintegrator.cpp:947
#46 0xb5f7ac80 in QDBusConnectionPrivate::activateCall (this=0x9be11e8, object=0x9c6c0c0, flags=16, msg=...) at qdbusintegrator.cpp:857
#47 0xb5f7b44b in QDBusConnectionPrivate::activateObject (this=0x9be11e8, node=..., msg=..., pathStartPos=-1081204100) at qdbusintegrator.cpp:1443
#48 0xb5f7b7e8 in QDBusActivateObjectEvent::placeMetaCall (this=0xa0cb250) at qdbusintegrator.cpp:1537
#49 0xb6171c7b in QObject::event (this=0x9c6c0c0, e=0xa0cb250) at kernel/qobject.cpp:1195
#50 0xb66beed4 in notify_helper (e=0xa0cb250, receiver=0x9c6c0c0, this=0x9a8eaf8) at kernel/qapplication.cpp:4559
#51 QApplicationPrivate::notify_helper (this=0x9a8eaf8, receiver=0x9c6c0c0, e=0xa0cb250) at kernel/qapplication.cpp:4531
#52 0xb66c430d in QApplication::notify (this=0xa0cb250, receiver=0x9c6c0c0, e=0xa0cb250) at kernel/qapplication.cpp:4288
#53 0xb7243b61 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#54 0xb615697e in QCoreApplication::notifyInternal (this=0xbf8e2a80, receiver=0x9c6c0c0, event=0xa0cb250) at kernel/qcoreapplication.cpp:876
#55 0xb615aad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a6e370) at kernel/qcoreapplication.cpp:1500
#57 0xb615ae0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#58 0xb6189494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#59 postEventSourceDispatch (s=0x9a8d178) at kernel/qeventdispatcher_glib.cpp:279
#60 0xb5477cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0xb54780e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb54781c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0xb6189887 in QEventDispatcherGlib::processEvents (this=0x9a6eed8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#64 0xb6777aaa in QGuiEventDispatcherGlib::processEvents (this=0x9a6eed8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0xb615550d in QEventLoop::processEvents (this=0xbf8e29f4, flags=...) at kernel/qeventloop.cpp:149
#66 0xb61557a9 in QEventLoop::exec (this=0xbf8e29f4, flags=...) at kernel/qeventloop.cpp:204
#67 0xb615aeba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#68 0xb66bca74 in QApplication::exec () at kernel/qapplication.cpp:3820
#69 0x0804dfb0 in main (argc=0, argv=0x80555) at ../../shell/main.cpp:85

This bug may be a duplicate of or related to bug 282965.

Possible duplicates by query: bug 300492, bug 300275, bug 298142, bug 294213, bug 293845.

Reported using DrKonqi
Comment 1 giupar93 2012-08-16 09:37:54 UTC
Created attachment 73231 [details]
New crash information added by DrKonqi

okular (0.14.3) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

L'applicazione okular รจ crashata mentre chiudevo l'applicazione

-- Backtrace (Reduced):
#7  0xb255dca9 in Okular::Document::closeDocument (this=0x93f1a40) at ../core/document.cpp:1766
#8  0xb26154e7 in Okular::Part::closeUrl (this=0x93d9250) at ../part.cpp:1337
#9  0xb774c6ba in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#10 0xb260a09f in Okular::Part::slotDoFileDirty (this=0x93d9250) at ../part.cpp:1465
#11 0xb2616521 in qt_static_metacall (_a=0xbffbcd58, _id=46, _o=0x93d9250, _c=<optimized out>) at ./part.moc:216
Comment 2 ztowfic 2012-09-23 20:16:14 UTC
Created attachment 74118 [details]
New crash information added by DrKonqi

okular (0.14.3) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Hit the exit button while a PDF was open, then Okular crashed.

-- Backtrace (Reduced):
#6  0x00007fe87f7058e6 in Okular::Document::closeDocument (this=0x184dba0) at ../core/document.cpp:1791
#7  0x00007fe87f9c1189 in Okular::Part::closeUrl (this=0x184e740) at ../part.cpp:1337
#8  0x00007fe8a6fc1e56 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#9  0x00007fe87f9b27f5 in Okular::Part::openUrl (this=0x184e740, _url=...) at ../part.cpp:1273
#10 0x00007fe87f9b2c4b in Okular::Part::openDocument (this=0x184e740, doc=...) at ../part.cpp:1035
Comment 3 Albert Astals Cid 2013-02-08 07:56:54 UTC
*** Bug 314644 has been marked as a duplicate of this bug. ***
Comment 4 Albert Astals Cid 2013-05-07 20:15:18 UTC
*** Bug 319008 has been marked as a duplicate of this bug. ***
Comment 5 Alexei Colin 2014-04-01 17:19:25 UTC
Created attachment 85890 [details]
New crash information added by DrKonqi

okular (0.14.3) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Closed Okular. A PDF file was open at that time. Also, the same file was open in another instance of Okular, which was not affected. The same file was overwritten while both Okular instances were running (it's a TeX compilation result) and the view was updated successfully.

-- Backtrace (Reduced):
#7  0x02d55c19 in Okular::Document::closeDocument (this=0x90fe198) at ../core/document.cpp:1791
#8  0x033654e7 in Okular::Part::closeUrl (this=0x90fa340) at ../part.cpp:1337
#9  0x00ef56aa in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#10 0x0335a09f in Okular::Part::slotDoFileDirty (this=0x90fa340) at ../part.cpp:1465
#11 0x0336664a in qt_static_metacall (_a=0xbf8d0170, _id=63, _o=0x90fa340, _c=<optimized out>) at ./part.moc:233
Comment 6 Alexei Colin 2014-04-01 17:23:15 UTC
Appendix to previous report: this output showed up in the terminal from which Okular was launched:
okular(961)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x90fa498 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
KCrash: Application 'okular' crashing...
Comment 7 Albert Astals Cid 2014-05-08 11:02:04 UTC
Can any of you guys that could reproduce this bug please try with Okular >= 0.19.0 ( KDE >= 4.13.0 ). I know i fixed some bugs regarding refreshing of files and i think this one is one of them. Thanks for caring about Okular :)
Comment 8 Albert Astals Cid 2015-07-09 20:35:42 UTC
Since you didn't come back to us we hope it was fixed meanwhile :)