Bug 211765 - okular crashes when refreshing a DVI file (fontPool::locateFonts)
Summary: okular crashes when refreshing a DVI file (fontPool::locateFonts)
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: DVI backend (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 213093 218789 223632 231246 233531 249321 258462 262134 270831 271972 284776 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-25 12:25 UTC by Laurent Claessens
Modified: 2014-05-11 09:20 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.81 KB, text/plain)
2010-04-07 02:17 UTC, waltsobchak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Claessens 2009-10-25 12:25:18 UTC
Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
My DVI file was not that big : 46 pages.
I had two okular opened in the same DVI file; one seeed to be unable to refresh (it was loading the file for a long time). When I closed okular, I got the crash. The other okular had no problems with the same file in the same time.


 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x0467762a in Okular::Document::closeDocument() () from /usr/lib/libokularcore.so.1
#7  0x013e23fd in Part::closeUrl (this=0x8ee18b8) at ../../okular/part.cpp:1096
#8  0x013e2968 in ~Part (this=0x8ee18b8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../okular/part.cpp:621
#9  0x0804fbca in ~Shell (this=0x8f4e080, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../okular/shell/shell.cpp:140
#10 0x01030135 in qDeleteInEventHandler (o=0x11) at kernel/qobject.cpp:3815
#11 0x0103162b in QObject::event (this=0x8f4e080, e=0x97d9de8) at kernel/qobject.cpp:1094
#12 0x06573906 in QWidget::event (this=0x8f4e080, event=0x97d9de8) at kernel/qwidget.cpp:7946
#13 0x06941297 in QMainWindow::event (this=0x8f4e080, event=0x97d9de8) at widgets/qmainwindow.cpp:1399
#14 0x007dadc4 in KMainWindow::event (this=0x8f4e080, ev=0x97d9de8) at ../../kdeui/widgets/kmainwindow.cpp:1094
#15 0x0082130f in KXmlGuiWindow::event (this=0x8f4e080, ev=0x97d9de8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#16 0x0651ef54 in QApplicationPrivate::notify_helper (this=0x8eb4310, receiver=0x8f4e080, e=0x97d9de8) at kernel/qapplication.cpp:4056
#17 0x065265ca in QApplication::notify (this=0xbf989048, receiver=0x8f4e080, e=0x97d9de8) at kernel/qapplication.cpp:4021
#18 0x006f4bfa in KApplication::notify (this=0xbf989048, receiver=0x8f4e080, event=0x97d9de8) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x010216cb in QCoreApplication::notifyInternal (this=0xbf989048, receiver=0x8f4e080, event=0x97d9de8) at kernel/qcoreapplication.cpp:610
#20 0x010222b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8e9ee48) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8e9ee48) at kernel/qcoreapplication.cpp:1247
#22 0x0102247d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#23 0x0104c3ff in QCoreApplication::sendPostedEvents (s=0x8eb6710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 postEventSourceDispatch (s=0x8eb6710) at kernel/qeventdispatcher_glib.cpp:210
#25 0x03b7de78 in g_main_dispatch (context=0x8eb6690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x8eb6690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#27 0x03b81720 in g_main_context_iterate (context=0x8eb6690, block=<value optimized out>, dispatch=1, self=0x8eb3d10) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#28 0x03b81853 in IA__g_main_context_iteration (context=0x8eb6690, may_block=0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#29 0x0104c02c in QEventDispatcherGlib::processEvents (this=0x8e9ea30, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#30 0x065bfbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8e9ea30, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x010226e1 in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:803
#32 0x07c7e432 in fontPool::locateFonts (this=0x94ca838, makePK=false, locateTFMonly=false, virtualFontsFound=0xbf9880af) at ../../../../okular/generators/dvi/fontpool.cpp:378
#33 0x07c7f098 in fontPool::locateFonts (this=0x94ca838) at ../../../../okular/generators/dvi/fontpool.cpp:261
#34 0x07c4e75b in dviRenderer::setFile (this=0x94ca818, fname=..., base=...) at ../../../../okular/generators/dvi/dviRenderer.cpp:523
#35 0x07c49756 in DviGenerator::loadDocument (this=0x8f01628, fileName=..., pagesVector=...) at ../../../../okular/generators/dvi/generator_dvi.cpp:111
#36 0x046750c7 in ?? () from /usr/lib/libokularcore.so.1
#37 0x0468193f in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&) () from /usr/lib/libokularcore.so.1
#38 0x013ed4a3 in Part::openFile (this=0x8ee18b8) at ../../okular/part.cpp:921
#39 0x00ac3819 in KParts::ReadOnlyPart::openUrl (this=0x8ee18b8, url=...) at ../../kparts/part.cpp:557
#40 0x013ef08f in Part::slotDoFileDirty (this=0x8ee18b8) at ../../okular/part.cpp:1192
#41 0x013ef8b5 in Part::qt_metacall (this=0x8ee18b8, _c=QMetaObject::InvokeMetaMethod, _id=56, _a=0xbf9887ec) at ./part.moc:232
#42 0x01037263 in QMetaObject::activate (sender=0x9143d78, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#43 0x01037ec2 in QMetaObject::activate (sender=0x9143d78, m=0x1112904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#44 0x01071667 in QTimer::timeout (this=0x9143d78) at .moc/release-shared/moc_qtimer.cpp:128
#45 0x0103c9ae in QTimer::timerEvent (this=0x9143d78, e=0xbf988c80) at kernel/qtimer.cpp:261
#46 0x010313bf in QObject::event (this=0x9143d78, e=0xbf988c80) at kernel/qobject.cpp:1075
#47 0x0651ef54 in QApplicationPrivate::notify_helper (this=0x8eb4310, receiver=0x9143d78, e=0xbf988c80) at kernel/qapplication.cpp:4056
#48 0x0652667c in QApplication::notify (this=0xbf989048, receiver=0x9143d78, e=0xbf988c80) at kernel/qapplication.cpp:3603
#49 0x006f4bfa in KApplication::notify (this=0xbf989048, receiver=0x9143d78, event=0xbf988c80) at ../../kdeui/kernel/kapplication.cpp:302
#50 0x010216cb in QCoreApplication::notifyInternal (this=0xbf989048, receiver=0x9143d78, event=0xbf988c80) at kernel/qcoreapplication.cpp:610
#51 0x0104e7ce in QCoreApplication::sendEvent (this=0x8eb70a4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#52 QTimerInfoList::activateTimers (this=0x8eb70a4) at kernel/qeventdispatcher_unix.cpp:572
#53 0x0104c0e0 in timerSourceDispatch (source=0x8eb7070) at kernel/qeventdispatcher_glib.cpp:165
#54 0x03b7de78 in g_main_dispatch (context=0x8eb6690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#55 IA__g_main_context_dispatch (context=0x8eb6690) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#56 0x03b81720 in g_main_context_iterate (context=0x8eb6690, block=<value optimized out>, dispatch=1, self=0x8eb3d10) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#57 0x03b81853 in IA__g_main_context_iteration (context=0x8eb6690, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#58 0x0104c02c in QEventDispatcherGlib::processEvents (this=0x8e9ea30, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#59 0x065bfbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8e9ea30, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#60 0x0101fc79 in QEventLoop::processEvents (this=0xbf988f44, flags=) at kernel/qeventloop.cpp:149
#61 0x010200ca in QEventLoop::exec (this=0xbf988f44, flags=...) at kernel/qeventloop.cpp:201
#62 0x0102253f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#63 0x0651edd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#64 0x0804eec9 in main (argc=2, argv=0xbf989234) at ../../../okular/shell/main.cpp:81

This bug may be a duplicate of or related to bug 205020

Reported using DrKonqi
Comment 1 Albert Astals Cid 2009-10-25 23:56:04 UTC
Can you attach the file that caused this problem?
Comment 2 Pino Toscano 2009-11-04 15:48:15 UTC
*** Bug 213093 has been marked as a duplicate of this bug. ***
Comment 3 Pino Toscano 2009-12-15 14:34:24 UTC
*** Bug 218789 has been marked as a duplicate of this bug. ***
Comment 4 Albert Astals Cid 2010-01-21 01:06:34 UTC
*** Bug 223632 has been marked as a duplicate of this bug. ***
Comment 5 Jorge Adriano 2010-01-25 22:35:14 UTC
This is a duplicate of bug 206951:

"Okular crash during the refresh of the content of a dvi file several time modified"
Comment 6 Pino Toscano 2010-03-21 16:59:27 UTC
*** Bug 231246 has been marked as a duplicate of this bug. ***
Comment 7 waltsobchak 2010-04-07 02:17:31 UTC
Created attachment 42551 [details]
New crash information added by DrKonqi

I was viewing a dvi file that I just updated by running LaTeX on a tex file. Okular stalled in updating the file and after I quit okular I get the crash message.
Comment 8 Pino Toscano 2010-04-07 22:00:02 UTC
*** Bug 233531 has been marked as a duplicate of this bug. ***
Comment 9 Pino Toscano 2010-08-28 15:08:31 UTC
*** Bug 249321 has been marked as a duplicate of this bug. ***
Comment 10 niburu1 2010-11-22 20:01:00 UTC
I'm observing this bug too when generating dvi files using latex in Kile.
Comment 11 Pino Toscano 2010-12-01 16:30:15 UTC
*** Bug 258462 has been marked as a duplicate of this bug. ***
Comment 12 Pino Toscano 2011-01-04 23:59:16 UTC
*** Bug 262134 has been marked as a duplicate of this bug. ***
Comment 13 Pino Toscano 2011-04-13 16:15:03 UTC
*** Bug 270831 has been marked as a duplicate of this bug. ***
Comment 14 Pino Toscano 2011-04-29 14:09:30 UTC
*** Bug 271972 has been marked as a duplicate of this bug. ***
Comment 15 Albert Astals Cid 2011-12-23 18:21:15 UTC
*** Bug 284776 has been marked as a duplicate of this bug. ***
Comment 16 Albert Astals Cid 2014-05-10 21:50:46 UTC
We have fixed a few bugs lately in the reloading of files so we would be interested to know if you can still reproduce this bug in Okular >=  0.19.0 (KDE Applications >= 4.13.0)

Thanks for caring about Okular :-)
Comment 17 Mikael Kurula 2014-05-11 01:19:57 UTC
Unfortunately, I never had a recipe for reproducing the bug. About two years ago, okular crashed this way for me randomly about once a week, but lately I have not encountered the bug. I believe it has been fixed. 

Thanks a lot for your great work!
Comment 18 Albert Astals Cid 2014-05-11 09:20:00 UTC
The fact that has not crashed in a good while is a good sign :-)

If it crashes for you again, please reopen the bug.