Bug 223632 - Okular crashes after reloading of a regenerated dvi file failed
Summary: Okular crashes after reloading of a regenerated dvi file failed
Status: RESOLVED DUPLICATE of bug 211765
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 00:44 UTC by Thomas Schwarzgruber
Modified: 2010-01-21 01:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schwarzgruber 2010-01-21 00:44:49 UTC
Application that crashed: okular
Version of the application: 0.9.4
KDE Version: 4.3.4 (KDE 4.3.4) "release 2"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.8-0.1-default i686
Distribution: "openSUSE 11.2 (i586)"

What I was doing when the application crashed:
This occurs when I work with kile on a latex file. I let the preview of the according dvi open in okular 
when rebuilding the latex file. Sometimes (not always) the automatically reloading of the regenerated dvi file fails, especially if there were errors in the latex run. After the reloading failed okular seems to hang, and after I close okular it crashes with this backtrace.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0xb3e57d75 in Okular::Document::closeDocument (this=0x813f540) at /usr/src/debug/kdegraphics-4.3.4/okular/core/document.cpp:1798
#7  0xb3f138b0 in Okular::Part::closeUrl (this=0x8111958) at /usr/src/debug/kdegraphics-4.3.4/okular/part.cpp:1099
#8  0xb3f13e40 in Okular::Part::~Part (this=0x8111958, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.4/okular/part.cpp:624
#9  0x0804fd08 in Shell::~Shell (this=0x80d4fb8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdegraphics-4.3.4/okular/shell/shell.cpp:145
#10 0xb6cc9253 in qDeleteInEventHandler (o=0x11) at kernel/qobject.cpp:3815
#11 0xb6cca7c7 in QObject::event (this=0x80d4fb8, e=0x81b3400) at kernel/qobject.cpp:1094
#12 0xb6357230 in QWidget::event (this=0x80d4fb8, event=0x81b3400) at kernel/qwidget.cpp:7951
#13 0xb6712aa4 in QMainWindow::event (this=0x80d4fb8, event=0x81b3400) at widgets/qmainwindow.cpp:1399
#14 0xb7357114 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#15 0xb739ec92 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#16 0xb63008fc in QApplicationPrivate::notify_helper (this=0x8070608, receiver=0x80d4fb8, e=0x81b3400) at kernel/qapplication.cpp:4065
#17 0xb630829e in QApplication::notify (this=0xbf8004e8, receiver=0x80d4fb8, e=0x81b3400) at kernel/qapplication.cpp:4030
#18 0xb726b451 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0xb6cba32e in QCoreApplication::notifyInternal (this=0xbf8004e8, receiver=0x80d4fb8, event=0x81b3400) at kernel/qcoreapplication.cpp:610
#20 0xb6cbafdc in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#21 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#22 0xb6cbb19c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#23 0xb6ce64dd in sendPostedEvents () at kernel/qcoreapplication.h:218
#24 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#25 0xb59c44c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb59c7d98 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb59c7ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb6ce6011 in QEventDispatcherGlib::processEvents (this=0x805ae40, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#29 0xb63a229a in QGuiEventDispatcherGlib::processEvents (this=0x805ae40, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb6cbb403 in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:803
#31 0xb250bd8b in fontPool::locateFonts (this=0x854c130, makePK=false, locateTFMonly=false, virtualFontsFound=0xbf7ff57f) at /usr/src/debug/kdegraphics-4.3.4/okular/generators/dvi/fontpool.cpp:378
#32 0xb250cb29 in fontPool::locateFonts (this=0x854c130) at /usr/src/debug/kdegraphics-4.3.4/okular/generators/dvi/fontpool.cpp:261
#33 0xb24daa34 in dviRenderer::setFile (this=0x854c110, fname=..., base=...) at /usr/src/debug/kdegraphics-4.3.4/okular/generators/dvi/dviRenderer.cpp:523
#34 0xb24d597b in DviGenerator::loadDocument (this=0x80c7af8, fileName=..., pagesVector=...) at /usr/src/debug/kdegraphics-4.3.4/okular/generators/dvi/generator_dvi.cpp:111
#35 0xb3e55688 in Okular::DocumentPrivate::openDocumentInternal (this=0x8159060, offer=..., isstdin=false, docFile=..., filedata=...) at /usr/src/debug/kdegraphics-4.3.4/okular/core/document.cpp:644
#36 0xb3e63dbb in Okular::Document::openDocument (this=0x813f540, docFile=..., url=..., _mime=...) at /usr/src/debug/kdegraphics-4.3.4/okular/core/document.cpp:1630
#37 0xb3f1e723 in Okular::Part::openFile (this=0x8111958) at /usr/src/debug/kdegraphics-4.3.4/okular/part.cpp:924
#38 0xb774dd07 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#39 0xb3f2035b in Okular::Part::slotDoFileDirty (this=0x8111958) at /usr/src/debug/kdegraphics-4.3.4/okular/part.cpp:1195
#40 0xb3f20b4a in Okular::Part::qt_metacall (this=0x8111958, _c=InvokeMetaMethod, _id=56, _a=0xbf7ffcac) at /usr/src/debug/kdegraphics-4.3.4/build/okular/part.moc:232
#41 0xb6cd0864 in QMetaObject::activate (sender=0x81e29f0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#42 0xb6cd1585 in QMetaObject::activate (sender=0x81e29f0, m=0xb6dad904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#43 0xb6d0c715 in QTimer::timeout (this=0x81e29f0) at .moc/release-shared/moc_qtimer.cpp:128
#44 0xb6cd6196 in QTimer::timerEvent (this=0x81e29f0, e=0xbf800134) at kernel/qtimer.cpp:261
#45 0xb6cca51b in QObject::event (this=0x81e29f0, e=0xbf800134) at kernel/qobject.cpp:1075
#46 0xb63008fc in QApplicationPrivate::notify_helper (this=0x8070608, receiver=0x81e29f0, e=0xbf800134) at kernel/qapplication.cpp:4065
#47 0xb630834e in QApplication::notify (this=0xbf8004e8, receiver=0x81e29f0, e=0xbf800134) at kernel/qapplication.cpp:3605
#48 0xb726b451 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#49 0xb6cba32e in QCoreApplication::notifyInternal (this=0xbf8004e8, receiver=0x81e29f0, event=0xbf800134) at kernel/qcoreapplication.cpp:610
#50 0xb6ce9356 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#51 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:594
#52 0xb6ce6325 in timerSourceDispatch (source=0x80733b8) at kernel/qeventdispatcher_glib.cpp:184
#53 idleTimerSourceDispatch (source=0x80733b8) at kernel/qeventdispatcher_glib.cpp:231
#54 0xb59c44c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb59c7d98 in ?? () from /usr/lib/libglib-2.0.so.0
#56 0xb59c7ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#57 0xb6ce6011 in QEventDispatcherGlib::processEvents (this=0x805ae40, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#58 0xb63a229a in QGuiEventDispatcherGlib::processEvents (this=0x805ae40, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#59 0xb6cb898d in QEventLoop::processEvents (this=0xbf8003e4, flags=) at kernel/qeventloop.cpp:149
#60 0xb6cb8dd9 in QEventLoop::exec (this=0xbf8003e4, flags=...) at kernel/qeventloop.cpp:201
#61 0xb6cbb270 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#62 0xb6300774 in QApplication::exec () at kernel/qapplication.cpp:3525
#63 0x0804efb9 in main (argc=2, argv=0xbf8006c4) at /usr/src/debug/kdegraphics-4.3.4/okular/shell/main.cpp:81

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-01-21 01:06:34 UTC

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