Bug 300275 - Okular got stuck reloading and when I pushed quit it crashed
Summary: Okular got stuck reloading and when I pushed quit it crashed
Status: RESOLVED DUPLICATE of bug 300492
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 19:26 UTC by Mikael Kurula
Modified: 2012-05-23 08:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Report of the same crash on an Ubuntu Oneiric system (8.54 KB, application/octet-stream)
2012-05-23 08:48 UTC, Mikael Kurula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Kurula 2012-05-18 19:26:34 UTC
Application: okular (0.14.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was working with kile and compiled my dvi. Okular tried to reload the dvi file but got stuck. I tried to quit by clicking the close window button and then Okular crashed.

- Custom settings of the application:
I use the latex source specials in okular to open a given place in the dvi file in kile. (Hence I also open the file in okular using forwarddvi in kile after having compiled the source code using srcltx.) I guess none of this is connected to the error, but I put it here for completeness.

The crash can be reproduced some of the time.

-- 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 0xb77d29c0 (LWP 10919))]

Thread 3 (Thread 0xb63cab40 (LWP 10920)):
#0  0x0742d090 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0742d388 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x073ee020 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x073ee52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x08769134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#5  0x07411673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x08de8d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x00abdace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb59ffb40 (LWP 10921)):
#0  0x0742d0bc in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0742d388 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x073ed76c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x073edf6f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x073ee52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x019a20ea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x07411673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x08de8d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00abdace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb77d29c0 (LWP 10919)):
[KCrash Handler]
#7  0x08d525dc in Okular::Document::closeDocument() () from /usr/lib/libokularcore.so.1abi1
#8  0x026664e7 in Okular::Part::closeUrl (this=0x9764090) at ../part.cpp:1337
#9  0x02666a98 in Okular::Part::~Part (this=0x9764090, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../part.cpp:774
#10 0x02666b12 in Okular::Part::~Part (this=0x9764090, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../part.cpp:799
#11 0x0804f828 in Shell::~Shell (this=0x9746600, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../shell/shell.cpp:123
#12 0x0804f8e0 in Shell::~Shell (this=0x9746600, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../shell/shell.cpp:126
#13 0x02c46d03 in qDeleteInEventHandler (o=0x9746600) at kernel/qobject.cpp:4277
#14 0x02c4dca8 in QObject::event (this=0x9746600, e=0x9e847e0) at kernel/qobject.cpp:1176
#15 0x04f2de62 in QWidget::event (this=0x9746600, event=0x9e847e0) at kernel/qwidget.cpp:8821
#16 0x053692cc in QMainWindow::event (this=0x9746600, event=0x9e847e0) at widgets/qmainwindow.cpp:1478
#17 0x00e92324 in KMainWindow::event (this=0x9746600, ev=0x9e847e0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#18 0x00edb522 in KXmlGuiWindow::event (this=0x9746600, ev=0x9e847e0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#19 0x04ed3ed4 in notify_helper (e=0x9e847e0, receiver=0x9746600, this=0x95b1bd8) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x95b1bd8, receiver=0x9746600, e=0x9e847e0) at kernel/qapplication.cpp:4531
#21 0x04ed93a2 in QApplication::notify (this=0x95b1bd8, receiver=0x9746600, e=0x9e847e0) at kernel/qapplication.cpp:4524
#22 0x00db6b21 in KApplication::notify (this=0xbf9b0cc0, receiver=0x9746600, event=0x9e847e0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x02c3297e in QCoreApplication::notifyInternal (this=0xbf9b0cc0, receiver=0x9746600, event=0x9e847e0) at kernel/qcoreapplication.cpp:876
#24 0x02c36ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9591370) at kernel/qcoreapplication.cpp:1500
#26 0x02c36e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#27 0x02c65494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x95b0730) at kernel/qeventdispatcher_glib.cpp:279
#29 0x073edcda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0x073ee0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x073ee1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x02c65887 in QEventDispatcherGlib::processEvents (this=0x9591ef0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x04f8caaa in QGuiEventDispatcherGlib::processEvents (this=0x9591ef0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x02c370a3 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1063
#35 0x022f6dfb in fontPool::locateFonts (this=0x9f473a0, makePK=false, locateTFMonly=false, virtualFontsFound=0xbf9afd1f) at ../../../generators/dvi/fontpool.cpp:322
#36 0x022f7799 in fontPool::locateFonts (this=0x9f473a0) at ../../../generators/dvi/fontpool.cpp:205
#37 0x022cc4e0 in dviRenderer::setFile (this=0x9f47380, fname=..., base=...) at ../../../generators/dvi/dviRenderer.cpp:524
#38 0x022c70a7 in DviGenerator::loadDocument (this=0x9a61bb0, fileName=..., pagesVector=...) at ../../../generators/dvi/generator_dvi.cpp:113
#39 0x08d509b0 in ?? () from /usr/lib/libokularcore.so.1abi1
#40 0x08d5901c in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&) () from /usr/lib/libokularcore.so.1abi1
#41 0x02665bd4 in Okular::Part::openFile (this=0x9764090) at ../part.cpp:1151
#42 0x0012d10e in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x9764230) at ../../kparts/part.cpp:590
#43 0x0012d7b5 in KParts::ReadOnlyPart::openUrl (this=0x9764090, url=...) at ../../kparts/part.cpp:554
#44 0x0265b09f in Okular::Part::slotDoFileDirty (this=0x9764090) at ../part.cpp:1465
#45 0x0266764a in qt_static_metacall (_a=0xbf9b04c0, _id=63, _o=0x9764090, _c=<optimized out>) at ./part.moc:233
#46 Okular::Part::qt_static_metacall (_o=0x9764090, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbf9b04c0) at ./part.moc:159
#47 0x02c496b1 in QMetaObject::activate (sender=0x99b7520, m=0x2d904d8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#48 0x02c9c625 in QTimer::timeout (this=0x99b7520) at .moc/release-shared/moc_qtimer.cpp:148
#49 0x02c52566 in QTimer::timerEvent (this=0x99b7520, e=0xbf9b09cc) at kernel/qtimer.cpp:280
#50 0x02c4dac4 in QObject::event (this=0x99b7520, e=0xbf9b09cc) at kernel/qobject.cpp:1157
#51 0x04ed3ed4 in notify_helper (e=0xbf9b09cc, receiver=0x99b7520, this=0x95b1bd8) at kernel/qapplication.cpp:4559
#52 QApplicationPrivate::notify_helper (this=0x95b1bd8, receiver=0x99b7520, e=0xbf9b09cc) at kernel/qapplication.cpp:4531
#53 0x04ed930d in QApplication::notify (this=0xbf9b09cc, receiver=0x99b7520, e=0xbf9b09cc) at kernel/qapplication.cpp:4288
#54 0x00db6b21 in KApplication::notify (this=0xbf9b0cc0, receiver=0x99b7520, event=0xbf9b09cc) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x02c3297e in QCoreApplication::notifyInternal (this=0xbf9b0cc0, receiver=0x99b7520, event=0xbf9b09cc) at kernel/qcoreapplication.cpp:876
#56 0x02c67990 in sendEvent (event=0xbf9b09cc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#57 QTimerInfoList::activateTimers (this=0x95b1a2c) at kernel/qeventdispatcher_unix.cpp:611
#58 0x02c650f8 in timerSourceDispatch (source=0x95b19f8) at kernel/qeventdispatcher_glib.cpp:186
#59 timerSourceDispatch (source=0x95b19f8) at kernel/qeventdispatcher_glib.cpp:180
#60 0x073edcda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0x073ee0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0x073ee1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0x02c658e7 in QEventDispatcherGlib::processEvents (this=0x9591ef0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#64 0x04f8caaa in QGuiEventDispatcherGlib::processEvents (this=0x9591ef0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x02c3150d in QEventLoop::processEvents (this=0xbf9b0c34, flags=...) at kernel/qeventloop.cpp:149
#66 0x02c317a9 in QEventLoop::exec (this=0xbf9b0c34, flags=...) at kernel/qeventloop.cpp:204
#67 0x02c36eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#68 0x04ed1a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#69 0x0804dfb0 in main (argc=0, argv=0x9a627d0) at ../../shell/main.cpp:85

Possible duplicates by query: bug 287783, bug 287138, bug 282965.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-05-21 18:03:03 UTC
Can you easily reproduce the crash? If so can you please install the okular-dbg package and post a new backtrace?
Comment 2 Mikael Kurula 2012-05-21 19:29:37 UTC
Sorry, I already reverted to my Oneiric install, because Precise felt a bit unresponsive in my Virtualbox. I thought I already installed the debugging symbols before submitting the backtrace, but maybe I wasn't attentive enough. 

I don't know how to reproduce the crash, but I work a lot with Kile+Okular, and I have a vague memory that I've had Okular crash the same way every now and then in older versions of Ubuntu too. I'll return to it if I manage to get a new backtrace.

Mikael
Comment 3 Mikael Kurula 2012-05-23 08:48:19 UTC
Created attachment 71311 [details]
Report of the same crash on an Ubuntu Oneiric system
Comment 4 Mikael Kurula 2012-05-23 08:49:43 UTC
I now filed a duplicate report on the same crash from my current system, please continue discussion there: https://bugs.kde.org/show_bug.cgi?id=300492
Comment 5 Mikael Kurula 2012-05-23 08:50:22 UTC

*** This bug has been marked as a duplicate of bug 300492 ***