[Okular-devel] [Bug 300492] New: Okular got stuck reloading and crashed on quit

Mikael Kurula alcarola at gmail.com
Wed May 23 08:44:36 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=300492

            Bug ID: 300492
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: Okular got stuck reloading and crashed on quit
    Classification: Unclassified
                OS: Linux
          Reporter: alcarola at gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: okular

Application: okular (0.13.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-19-generic i686
Distribution: Ubuntu 11.10

-- 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.

-General remark:

I file a duplicate of my own bug report #300275 , because this crash happened
on my Ubuntu Oneiric install, whereas the duplicate was in Ubuntu Precise. I
can perhaps provide more information on the present report but not on the
duplicate. (Close the duplicate?)

The crash can be reproduced some of the time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7715710 (LWP 4033))]

Thread 2 (Thread 0xb6c06b70 (LWP 4035)):
#0  0x08605d44 in __pthread_mutex_unlock_usercnt () from
/lib/i386-linux-gnu/libpthread.so.0
#1  0x00a2b2f4 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x03871f1f in g_main_context_check (context=0x9f46d88,
max_priority=2147483647, fds=0x9f63c90, n_fds=3) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:2957
#3  0x038728f0 in g_main_context_iterate (context=0x9f46d88, block=59249440,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3086
#4  0x03872f9b in g_main_loop_run (loop=0x9f46d60) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297
#5  0x02d3bcea in gdbus_shared_thread_func (user_data=0x9f46d70) at
/build/buildd/glib2.0-2.30.0/./gio/gdbusprivate.c:276
#6  0x038995f4 in g_thread_create_proxy (data=0x9f64700) at
/build/buildd/glib2.0-2.30.0/./glib/gthread.c:1962
#7  0x08602d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00a1d46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7715710 (LWP 4033)):
[KCrash Handler]
#7  Okular::Document::closeDocument (this=0xa05cff8) at
../core/document.cpp:1803
#8  0x03e77c07 in Okular::Part::closeUrl (this=0xa03c9a0) at ../part.cpp:1146
#9  0x03e78110 in Okular::Part::~Part (this=0xa03c9a0, __in_chrg=<optimized
out>, __vtt_parm=<optimized out>) at ../part.cpp:655
#10 0x03e78182 in Okular::Part::~Part (this=0xa03c9a0, __in_chrg=<optimized
out>, __vtt_parm=<optimized out>) at ../part.cpp:680
#11 0x0804f7b8 in Shell::~Shell (this=0xa024890, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at ../../shell/shell.cpp:123
#12 0x0804f870 in Shell::~Shell (this=0xa024890, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at ../../shell/shell.cpp:126
#13 0x09a005f3 in qDeleteInEventHandler (o=0xa024890) at
kernel/qobject.cpp:3986
#14 0x09a05b80 in QObject::event (this=0xa024890, e=0xa65b6c0) at
kernel/qobject.cpp:1200
#15 0x01193c92 in QWidget::event (this=0xa024890, event=0xa65b6c0) at
kernel/qwidget.cpp:8754
#16 0x015b651c in QMainWindow::event (this=0xa024890, event=0xa65b6c0) at
widgets/qmainwindow.cpp:1478
#17 0x00e6b5a4 in KMainWindow::event (this=0xa024890, ev=0xa65b6c0) at
../../kdeui/widgets/kmainwindow.cpp:1084
#18 0x00eb3a02 in KXmlGuiWindow::event (this=0xa024890, ev=0xa65b6c0) at
../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#19 0x01139d84 in notify_helper (e=0xa65b6c0, receiver=0xa024890,
this=0x9e825e0) at kernel/qapplication.cpp:4486
#20 QApplicationPrivate::notify_helper (this=0x9e825e0, receiver=0xa024890,
e=0xa65b6c0) at kernel/qapplication.cpp:4458
#21 0x0113f1d8 in QApplication::notify (this=0x9e825e0, receiver=0xa024890,
e=0xa65b6c0) at kernel/qapplication.cpp:4451
#22 0x00d8f971 in KApplication::notify (this=0xbfba1030, receiver=0xa024890,
event=0xa65b6c0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x099ed19e in QCoreApplication::notifyInternal (this=0xbfba1030,
receiver=0xa024890, event=0xa65b6c0) at kernel/qcoreapplication.cpp:787
#24 0x099f0f93 in sendEvent (event=<optimized out>, receiver=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x9e66520) at kernel/qcoreapplication.cpp:1428
#26 0x099f10ec in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1321
#27 0x09a1b6a4 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x9e84350) at
kernel/qeventdispatcher_glib.cpp:277
#29 0x0387225f in g_main_dispatch (context=0x9e842c0) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#30 g_main_context_dispatch (context=0x9e842c0) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#31 0x03872990 in g_main_context_iterate (context=0x9e842c0, block=59249440,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#32 0x03872c2a in g_main_context_iteration (context=0x9e842c0, may_block=0) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#33 0x09a1bada in QEventDispatcherGlib::processEvents (this=0x9e67260,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#34 0x011f1e7a in QGuiEventDispatcherGlib::processEvents (this=0x9e67260,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x099f1383 in QCoreApplication::processEvents (flags=...) at
kernel/qcoreapplication.cpp:979
#36 0x041582fb in fontPool::locateFonts (this=0xa60fde8, makePK=false,
locateTFMonly=false, virtualFontsFound=0xbfba018f) at
../../../generators/dvi/fontpool.cpp:322
#37 0x041591b9 in fontPool::locateFonts (this=0xa60fde8) at
../../../generators/dvi/fontpool.cpp:205
#38 0x0412df70 in dviRenderer::setFile (this=0xa60fdc8, fname=..., base=...) at
../../../generators/dvi/dviRenderer.cpp:524
#39 0x04128d67 in DviGenerator::loadDocument (this=0xa2e9720, fileName=...,
pagesVector=...) at ../../../generators/dvi/generator_dvi.cpp:113
#40 0x0244bbc0 in Okular::DocumentPrivate::openDocumentInternal
(this=0xa04fca0, offer=..., isstdin=false, docFile=..., filedata=...) at
../core/document.cpp:674
#41 0x02454200 in Okular::Document::openDocument (this=0xa05cff8, docFile=...,
url=..., _mime=...) at ../core/document.cpp:1631
#42 0x03e77354 in Okular::Part::openFile (this=0xa03c9a0) at ../part.cpp:966
#43 0x0091b22e in KParts::ReadOnlyPartPrivate::openLocalFile (this=0xa034380)
at ../../kparts/part.cpp:590
#44 0x0091b8e5 in KParts::ReadOnlyPart::openUrl (this=0xa03c9a0, url=...) at
../../kparts/part.cpp:554
#45 0x03e6b88f in Okular::Part::slotDoFileDirty (this=0xa03c9a0) at
../part.cpp:1264
#46 0x03e78c55 in Okular::Part::qt_metacall (this=0xa03c9a0,
_c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbfba0934) at ./part.moc:244
#47 0x099f3b7d in metacall (argv=0xbfba0934, idx=73,
cl=QMetaObject::InvokeMetaMethod, object=0xa03c9a0) at
kernel/qmetaobject.cpp:237
#48 QMetaObject::metacall (object=0xa03c9a0, cl=QMetaObject::InvokeMetaMethod,
idx=73, argv=0xbfba0934) at kernel/qmetaobject.cpp:232
#49 0x09a02a6a in QMetaObject::activate (sender=0xa274cb0, m=0x9b245f8,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#50 0x09a517d5 in QTimer::timeout (this=0xa274cb0) at
.moc/release-shared/moc_qtimer.cpp:134
#51 0x09a0a286 in QTimer::timerEvent (this=0xa274cb0, e=0xbfba0d2c) at
kernel/qtimer.cpp:271
#52 0x09a05994 in QObject::event (this=0xa274cb0, e=0xbfba0d2c) at
kernel/qobject.cpp:1181
#53 0x01139d84 in notify_helper (e=0xbfba0d2c, receiver=0xa274cb0,
this=0x9e825e0) at kernel/qapplication.cpp:4486
#54 QApplicationPrivate::notify_helper (this=0x9e825e0, receiver=0xa274cb0,
e=0xbfba0d2c) at kernel/qapplication.cpp:4458
#55 0x0113f133 in QApplication::notify (this=0xbfba0d2c, receiver=0xa274cb0,
e=0xbfba0d2c) at kernel/qapplication.cpp:3886
#56 0x00d8f971 in KApplication::notify (this=0xbfba1030, receiver=0xa274cb0,
event=0xbfba0d2c) at ../../kdeui/kernel/kapplication.cpp:311
#57 0x099ed19e in QCoreApplication::notifyInternal (this=0xbfba1030,
receiver=0xa274cb0, event=0xbfba0d2c) at kernel/qcoreapplication.cpp:787
#58 0x09a1dc10 in sendEvent (event=0xbfba0d2c, receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#59 QTimerInfoList::activateTimers (this=0x9e8539c) at
kernel/qeventdispatcher_unix.cpp:603
#60 0x09a1b122 in timerSourceDispatch (source=0x9e85368) at
kernel/qeventdispatcher_glib.cpp:184
#61 0x0387225f in g_main_dispatch (context=0x9e842c0) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#62 g_main_context_dispatch (context=0x9e842c0) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#63 0x03872990 in g_main_context_iterate (context=0x9e842c0, block=59249440,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#64 0x03872c2a in g_main_context_iteration (context=0x9e842c0, may_block=1) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#65 0x09a1bada in QEventDispatcherGlib::processEvents (this=0x9e67260,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#66 0x011f1e7a in QGuiEventDispatcherGlib::processEvents (this=0x9e67260,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x099ec1dd in QEventLoop::processEvents (this=0xbfba0fa4, flags=...) at
kernel/qeventloop.cpp:149
#68 0x099ec421 in QEventLoop::exec (this=0xbfba0fa4, flags=...) at
kernel/qeventloop.cpp:201
#69 0x099f119d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#70 0x01137924 in QApplication::exec () at kernel/qapplication.cpp:3760
#71 0x0804e010 in main (argc=0, argv=0xa2e1c20) at ../../shell/main.cpp:85

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

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

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list