Bug 245934 - Konqueror crashes when reloading a DVI file after recompiling the LaTeX source / closing a tab showing an Okular document [Okular::Document::closeDocument, Okular::Part::closeUrl, ~Part, ~KonqView, KonqViewManager::removeTab]
Summary: Konqueror crashes when reloading a DVI file after recompiling the LaTeX sourc...
Status: RESOLVED WORKSFORME
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: triaged
: 254116 255273 295362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-27 19:47 UTC by Laurent Claessens
Modified: 2018-10-27 04:11 UTC (History)
5 users (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 Laurent Claessens 2010-07-27 19:47:36 UTC
Application: konqueror (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I have Konqueror opened with two tabs in the same DVI file. When recompiling the LaTeX source, it happens (let's say once every 20 time; this means several time a day when working ;)) that one tab crashes in the sense that it does not reload.

At this moment, closing the tab or konqueror results in a crash.

It happens with many differents files. In the present case, the source file I compiled is this one:
git://gitorious.org/geometria-analitica/geometria-analitica.git

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7869aa0 (LWP 24427))]

Thread 2 (Thread 0xb358db70 (LWP 24431)):
#0  0x03949e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x0061a6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x0061f825 in QTimerInfoList::updateCurrentTime (this=0x9477e6c) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0061f86a in QTimerInfoList::timerWait (this=0x9477e6c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x0061d818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb358d0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0061d8a5 in timerSourcePrepare (source=0x0, timeout=0x394dff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x08b52aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x08b52ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x08b534b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0061d60f in QEventDispatcherGlib::processEvents (this=0x9475650, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x005f0059 in QEventLoop::processEvents (this=0xb358d290, flags=) at kernel/qeventloop.cpp:149
#11 0x005f04aa in QEventLoop::exec (this=0xb358d290, flags=...) at kernel/qeventloop.cpp:201
#12 0x004ec5a8 in QThread::exec (this=0x9476ae0) at thread/qthread.cpp:487
#13 0x005cfc1b in QInotifyFileSystemWatcherEngine::run (this=0x9476ae0) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x004ef32e in QThreadPrivate::start (arg=0x9476ae0) at thread/qthread_unix.cpp:248
#15 0x007aa96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x01ef4a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7869aa0 (LWP 24427)):
[KCrash Handler]
#6  0x02674d54 in Okular::Document::closeDocument (this=0x96ddfb0) at ../../okular/core/document.cpp:1810
#7  0x0272920d in Okular::Part::closeUrl (this=0x96d7718) at ../../okular/part.cpp:1105
#8  0x02729790 in ~Part (this=0x96d7718, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../okular/part.cpp:630
#9  0x04e40fc3 in ~KonqView (this=0x95715f8, __in_chrg=<value optimized out>) at ../../../../apps/konqueror/src/konqview.cpp:134
#10 0x04e45e9d in KonqViewManager::removeTab (this=0x8fce680, currentFrame=0x954db3c, emitAboutToRemoveSignal=true) at ../../../../apps/konqueror/src/konqviewmanager.cpp:409
#11 0x04e78075 in KonqMainWindow::slotRemoveTabPopupDelayed (this=0x8f89518) at ../../../../apps/konqueror/src/konqmainwindow.cpp:2559
#12 0x04e9c748 in KonqMainWindow::qt_metacall (this=0x8f89518, _c=QMetaObject::InvokeMetaMethod, _id=82, _a=0xbfe4c91c) at ./konqmainwindow.moc:421
#13 0x005f6c9a in QMetaObject::metacall (object=0x8f89518, cl=17, idx=132, argv=0xbfe4c91c) at kernel/qmetaobject.cpp:237
#14 0x006053d5 in QMetaObject::activate (sender=0x95f3e10, m=0x704188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#15 0x0060cfe7 in QSingleShotTimer::timeout (this=0x95f3e10) at .moc/release-shared/qtimer.moc:82
#16 0x0060d0fc in QSingleShotTimer::timerEvent (this=0x95f3e10) at kernel/qtimer.cpp:308
#17 0x00602254 in QObject::event (this=0x95f3e10, e=0x957eec8) at kernel/qobject.cpp:1212
#18 0x064c64dc in QApplicationPrivate::notify_helper (this=0x8ef1390, receiver=0x95f3e10, e=0xbfe4ce50) at kernel/qapplication.cpp:4300
#19 0x064cd05e in QApplication::notify (this=0xbfe4e464, receiver=0x95f3e10, e=0xbfe4ce50) at kernel/qapplication.cpp:3704
#20 0x010c9f2a in KApplication::notify (this=0xbfe4e464, receiver=0x95f3e10, event=0xbfe4ce50) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x005f1a3b in QCoreApplication::notifyInternal (this=0xbfe4e464, receiver=0x95f3e10, event=0xbfe4ce50) at kernel/qcoreapplication.cpp:704
#22 0x00620d66 in QCoreApplication::sendEvent (this=0x8ef3fbc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x8ef3fbc) at kernel/qeventdispatcher_unix.cpp:603
#24 0x0061d8e4 in timerSourceDispatch (source=0x8ef3f88) at kernel/qeventdispatcher_glib.cpp:184
#25 0x08b4f5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x08b532d8 in ?? () from /lib/libglib-2.0.so.0
#27 0x08b534b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x0061d5d5 in QEventDispatcherGlib::processEvents (this=0x8e77b48, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0x06586135 in QGuiEventDispatcherGlib::processEvents (this=0x8e77b48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x005f4841 in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:896
#31 0x01bfd382 in fontPool::locateFonts (this=<value optimized out>, makePK=false, locateTFMonly=false, virtualFontsFound=0xbfe4d27f) at ../../../../okular/generators/dvi/fontpool.cpp:322
#32 0x01bfe210 in fontPool::locateFonts (this=0xa229a40) at ../../../../okular/generators/dvi/fontpool.cpp:205
#33 0x01bcc7b3 in dviRenderer::setFile (this=0xa229a20, fname=..., base=...) at ../../../../okular/generators/dvi/dviRenderer.cpp:524
#34 0x01bc6d71 in DviGenerator::loadDocument (this=0x96d5108, fileName=..., pagesVector=...) at ../../../../okular/generators/dvi/generator_dvi.cpp:113
#35 0x026727ef in Okular::DocumentPrivate::openDocumentInternal (this=0x96e54a0, offer=..., isstdin=false, docFile=..., filedata=...) at ../../okular/core/document.cpp:644
#36 0x026797bf in Okular::Document::openDocument (this=0x96ddfb0, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1642
#37 0x02733aaf in Okular::Part::openFile (this=0x96d7718) at ../../okular/part.cpp:930
#38 0x00900ca9 in KParts::ReadOnlyPart::openUrl (this=0x96d7718, url=...) at ../../kparts/part.cpp:557
#39 0x0273559f in Okular::Part::slotDoFileDirty (this=0x96d7718) at ../../okular/part.cpp:1201
#40 0x02735dbe in Okular::Part::qt_metacall (this=0x96d7718, _c=QMetaObject::InvokeMetaMethod, _id=56, _a=0xbfe4da4c) at ./part.moc:238
#41 0x005f6c9a in QMetaObject::metacall (object=0x96d7718, cl=17, idx=70, argv=0xbfe4da4c) at kernel/qmetaobject.cpp:237
#42 0x006053d5 in QMetaObject::activate (sender=0x9723020, m=0x7055a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#43 0x00656aa7 in QTimer::timeout (this=0x9723020) at .moc/release-shared/moc_qtimer.cpp:134
#44 0x0060d60e in QTimer::timerEvent (this=0x9723020, e=0xbfe4df80) at kernel/qtimer.cpp:271
#45 0x00602254 in QObject::event (this=0x9723020, e=0x957eec8) at kernel/qobject.cpp:1212
#46 0x064c64dc in QApplicationPrivate::notify_helper (this=0x8ef1390, receiver=0x9723020, e=0xbfe4df80) at kernel/qapplication.cpp:4300
#47 0x064cd05e in QApplication::notify (this=0xbfe4e464, receiver=0x9723020, e=0xbfe4df80) at kernel/qapplication.cpp:3704
#48 0x010c9f2a in KApplication::notify (this=0xbfe4e464, receiver=0x9723020, event=0xbfe4df80) at ../../kdeui/kernel/kapplication.cpp:302
#49 0x005f1a3b in QCoreApplication::notifyInternal (this=0xbfe4e464, receiver=0x9723020, event=0xbfe4df80) at kernel/qcoreapplication.cpp:704
#50 0x00620d66 in QCoreApplication::sendEvent (this=0x8ef3fbc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#51 QTimerInfoList::activateTimers (this=0x8ef3fbc) at kernel/qeventdispatcher_unix.cpp:603
#52 0x0061d917 in timerSourceDispatch (source=0x8ef4400) at kernel/qeventdispatcher_glib.cpp:184
#53 idleTimerSourceDispatch (source=0x8ef4400) at kernel/qeventdispatcher_glib.cpp:231
#54 0x08b4f5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0x08b532d8 in ?? () from /lib/libglib-2.0.so.0
#56 0x08b534b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0x0061d5d5 in QEventDispatcherGlib::processEvents (this=0x8e77b48, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#58 0x06586135 in QGuiEventDispatcherGlib::processEvents (this=0x8e77b48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x005f0059 in QEventLoop::processEvents (this=0xbfe4e244, flags=) at kernel/qeventloop.cpp:149
#60 0x005f04aa in QEventLoop::exec (this=0xbfe4e244, flags=...) at kernel/qeventloop.cpp:201
#61 0x005f469f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#62 0x064c6577 in QApplication::exec () at kernel/qapplication.cpp:3579
#63 0x04ec81ee in kdemain (argc=3, argv=0x8ebb350) at ../../../../apps/konqueror/src/konqmain.cpp:271
#64 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x8ebaed4 "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x8ebaee5 "luciole31;1280251811;27781;1493_TIME52479397") at ../../kinit/kinit.cpp:717
#65 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#66 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#67 0x0804fe4f in main (argc=4, argv=0xbfe4f044, envp=0xbfe4f058) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 235617, bug 221625, bug 219983.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-21 00:58:07 UTC
[Comment from a bug triager]
This issue could be related to bug 211765. Regards
Comment 2 Dario Andres 2010-11-21 00:58:36 UTC
*** Bug 255273 has been marked as a duplicate of this bug. ***
Comment 3 Albert Astals Cid 2011-07-10 20:51:24 UTC
*** Bug 254116 has been marked as a duplicate of this bug. ***
Comment 4 Dawit Alemayehu 2012-09-25 06:34:19 UTC
*** Bug 295362 has been marked as a duplicate of this bug. ***
Comment 5 Albert Astals Cid 2014-05-08 13:54:12 UTC
There have been a few reload crash fixes in Okular >= 0.19.0 (comes with KDE Applications <= 4.13.0). Could you please try to reproduce this crash in that version?

Thanks for caring about Okular :-)
Comment 6 Andrew Crouthamel 2018-09-25 03:51:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 04:11:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!