Bug 295362 - Konqueror crashes when refreshing a DVI file (when recompiling)
Summary: Konqueror crashes when refreshing a DVI file (when recompiling)
Status: RESOLVED DUPLICATE of bug 245934
Alias: None
Product: konqueror
Classification: Applications
Component: tabbing (show other bugs)
Version: 4.7.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-05 12:49 UTC by Laurent Claessens
Modified: 2012-09-25 06:34 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 Laurent Claessens 2012-03-05 12:49:22 UTC
I'm having konqueror open with 3 tabs :

1.  ~/MyDocuments
2. ~/MyDocuments/my_file.dvi
3. ~/MyDocuments/my_file.dvi

(yes : two times the DVI file)

I'm using the "autorefresh" option, so that when I recompile
latex my_file.tex
konqueror reload the new dvi.

Sometimes, a tab do not refresh and closing it crashes konqueror. Here is the traceback :

Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77f0710 (LWP 6447))]

Thread 3 (Thread 0xb6709b70 (LWP 6454)):
#0  0x00419dbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00750f14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0441f8bb in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x04420637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x04420c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0671fb37 in QEventDispatcherGlib::processEvents (this=0xa35b460, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x066f01dd in QEventLoop::processEvents (this=0xb67092b0, flags=...) at kernel/qeventloop.cpp:149
#7  0x066f0421 in QEventLoop::exec (this=0xb67092b0, flags=...) at kernel/qeventloop.cpp:201
#8  0x065f390b in QThread::exec (this=0xa34f418) at thread/qthread.cpp:498
#9  0x066d0e2d in QInotifyFileSystemWatcherEngine::run (this=0xa34f418) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x065f67b3 in QThreadPrivate::start (arg=0xa34f418) at thread/qthread_unix.cpp:331
#11 0x00417d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x007430ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb41feb70 (LWP 6473)):
#0  0x0041ad50 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00750f54 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x04420565 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x04420c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0671fb37 in QEventDispatcherGlib::processEvents (this=0xa4e29a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x066f01dd in QEventLoop::processEvents (this=0xb41fe2b0, flags=...) at kernel/qeventloop.cpp:149
#6  0x066f0421 in QEventLoop::exec (this=0xb41fe2b0, flags=...) at kernel/qeventloop.cpp:201
#7  0x065f390b in QThread::exec (this=0xa4c42b0) at thread/qthread.cpp:498
#8  0x066d0e2d in QInotifyFileSystemWatcherEngine::run (this=0xa4c42b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x065f67b3 in QThreadPrivate::start (arg=0xa4c42b0) at thread/qthread_unix.cpp:331
#10 0x00417d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x007430ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77f0710 (LWP 6447)):
[KCrash Handler]
#7  Okular::Document::closeDocument (this=0xac48e28) at ../core/document.cpp:1803
#8  0x07db6c07 in Okular::Part::closeUrl (this=0xadbdff8) at ../part.cpp:1146
#9  0x07db7110 in Okular::Part::~Part (this=0xadbdff8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../part.cpp:655
#10 0x07db7182 in Okular::Part::~Part (this=0xadbdff8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../part.cpp:680
#11 0x0056777f in KonqView::~KonqView (this=0xadc17a8, __in_chrg=<optimized out>) at ../../../konqueror/src/konqview.cpp:123
#12 0x00567a62 in KonqView::~KonqView (this=0xadc17a8, __in_chrg=<optimized out>) at ../../../konqueror/src/konqview.cpp:131
#13 0x005721ce in KonqViewManager::removeTab (this=0x9eefb18, currentFrame=0xa8e948c, emitAboutToRemoveSignal=true) at ../../../konqueror/src/konqviewmanager.cpp:428
#14 0x005b522a in KonqMainWindow::removeTab (this=0x9efe738, tabIndex=2) at ../../../konqueror/src/konqmainwindow.cpp:2467
#15 0x005c45dd in KonqMainWindow::qt_metacall (this=0x9efe738, _c=QMetaObject::InvokeMetaMethod, _id=81, _a=0xa780268) at ./konqmainwindow.moc:417
#16 0x066f7b7d in metacall (argv=0xa780268, idx=131, cl=QMetaObject::InvokeMetaMethod, object=0x9efe738) at kernel/qmetaobject.cpp:237
#17 QMetaObject::metacall (object=0x9efe738, cl=QMetaObject::InvokeMetaMethod, idx=131, argv=0xa780268) at kernel/qmetaobject.cpp:232
#18 0x06702685 in QMetaCallEvent::placeMetaCall (this=0xbbbcb68, object=0x9efe738) at kernel/qobject.cpp:535
#19 0x06709b52 in QObject::event (this=0x9efe738, e=0xbbbcb68) at kernel/qobject.cpp:1217
#20 0x0300dc92 in QWidget::event (this=0x9efe738, event=0xbbbcb68) at kernel/qwidget.cpp:8754
#21 0x0343051c in QMainWindow::event (this=0x9efe738, event=0xbbbcb68) at widgets/qmainwindow.cpp:1478
#22 0x0211f5a4 in KMainWindow::event (this=0x9efe738, ev=0xbbbcb68) at ../../kdeui/widgets/kmainwindow.cpp:1084
#23 0x02167a02 in KXmlGuiWindow::event (this=0x9efe738, ev=0xbbbcb68) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#24 0x005a435b in KonqMainWindow::event (this=0x9efe738, e=0xbbbcb68) at ../../../konqueror/src/konqmainwindow.cpp:5586
#25 0x02fb3d84 in notify_helper (e=0xbbbcb68, receiver=0x9efe738, this=0x9dfb2e0) at kernel/qapplication.cpp:4486
#26 QApplicationPrivate::notify_helper (this=0x9dfb2e0, receiver=0x9efe738, e=0xbbbcb68) at kernel/qapplication.cpp:4458
#27 0x02fb91d8 in QApplication::notify (this=0x9dfb2e0, receiver=0x9efe738, e=0xbbbcb68) at kernel/qapplication.cpp:4451
#28 0x02043971 in KApplication::notify (this=0xbfdf061c, receiver=0x9efe738, event=0xbbbcb68) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x066f119e in QCoreApplication::notifyInternal (this=0xbfdf061c, receiver=0x9efe738, event=0xbbbcb68) at kernel/qcoreapplication.cpp:787
#30 0x066f4f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ddb520) at kernel/qcoreapplication.cpp:1428
#32 0x066f50ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#33 0x0671f6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x9dfb778) at kernel/qeventdispatcher_glib.cpp:277
#35 0x0442025f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x04420990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x04420c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x0671fada in QEventDispatcherGlib::processEvents (this=0x9ddc248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x0306be7a in QGuiEventDispatcherGlib::processEvents (this=0x9ddc248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x066f5383 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:979
#41 0x01aaa2fb in fontPool::locateFonts (this=0xac4f0c0, makePK=false, locateTFMonly=false, virtualFontsFound=0xbfdef68f) at ../../../generators/dvi/fontpool.cpp:322
#42 0x01aab1b9 in fontPool::locateFonts (this=0xac4f0c0) at ../../../generators/dvi/fontpool.cpp:205
#43 0x01a7ff70 in dviRenderer::setFile (this=0xac4f0a0, fname=..., base=...) at ../../../generators/dvi/dviRenderer.cpp:524
#44 0x01a7ad67 in DviGenerator::loadDocument (this=0xae04a90, fileName=..., pagesVector=...) at ../../../generators/dvi/generator_dvi.cpp:113
#45 0x05749bc0 in Okular::DocumentPrivate::openDocumentInternal (this=0xb4d6980, offer=..., isstdin=false, docFile=..., filedata=...) at ../core/document.cpp:674
#46 0x05752200 in Okular::Document::openDocument (this=0xac48e28, docFile=..., url=..., _mime=...) at ../core/document.cpp:1631
#47 0x07db6354 in Okular::Part::openFile (this=0xadbdff8) at ../part.cpp:966
#48 0x00c5522e in KParts::ReadOnlyPartPrivate::openLocalFile (this=0xa4f36f8) at ../../kparts/part.cpp:590
#49 0x00c558e5 in KParts::ReadOnlyPart::openUrl (this=0xadbdff8, url=...) at ../../kparts/part.cpp:554
#50 0x07daa88f in Okular::Part::slotDoFileDirty (this=0xadbdff8) at ../part.cpp:1264
#51 0x07db7c55 in Okular::Part::qt_metacall (this=0xadbdff8, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbfdefe34) at ./part.moc:244
#52 0x066f7b7d in metacall (argv=0xbfdefe34, idx=73, cl=QMetaObject::InvokeMetaMethod, object=0xadbdff8) at kernel/qmetaobject.cpp:237
#53 QMetaObject::metacall (object=0xadbdff8, cl=QMetaObject::InvokeMetaMethod, idx=73, argv=0xbfdefe34) at kernel/qmetaobject.cpp:232
#54 0x06706a6a in QMetaObject::activate (sender=0xb4bc2c8, m=0x68285f8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#55 0x067557d5 in QTimer::timeout (this=0xb4bc2c8) at .moc/release-shared/moc_qtimer.cpp:134
#56 0x0670e286 in QTimer::timerEvent (this=0xb4bc2c8, e=0xbfdf022c) at kernel/qtimer.cpp:271
#57 0x06709994 in QObject::event (this=0xb4bc2c8, e=0xbfdf022c) at kernel/qobject.cpp:1181
#58 0x02fb3d84 in notify_helper (e=0xbfdf022c, receiver=0xb4bc2c8, this=0x9dfb2e0) at kernel/qapplication.cpp:4486
#59 QApplicationPrivate::notify_helper (this=0x9dfb2e0, receiver=0xb4bc2c8, e=0xbfdf022c) at kernel/qapplication.cpp:4458
#60 0x02fb9133 in QApplication::notify (this=0xbfdf022c, receiver=0xb4bc2c8, e=0xbfdf022c) at kernel/qapplication.cpp:3886
#61 0x02043971 in KApplication::notify (this=0xbfdf061c, receiver=0xb4bc2c8, event=0xbfdf022c) at ../../kdeui/kernel/kapplication.cpp:311
#62 0x066f119e in QCoreApplication::notifyInternal (this=0xbfdf061c, receiver=0xb4bc2c8, event=0xbfdf022c) at kernel/qcoreapplication.cpp:787
#63 0x06721c10 in sendEvent (event=0xbfdf022c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 QTimerInfoList::activateTimers (this=0x9dfcb8c) at kernel/qeventdispatcher_unix.cpp:603
#65 0x0671f122 in timerSourceDispatch (source=0x9dfcb58) at kernel/qeventdispatcher_glib.cpp:184
#66 0x0442025f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#67 0x04420990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#68 0x04420c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#69 0x0671fada in QEventDispatcherGlib::processEvents (this=0x9ddc248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#70 0x0306be7a in QGuiEventDispatcherGlib::processEvents (this=0x9ddc248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x066f01dd in QEventLoop::processEvents (this=0xbfdf04a4, flags=...) at kernel/qeventloop.cpp:149
#72 0x066f0421 in QEventLoop::exec (this=0xbfdf04a4, flags=...) at kernel/qeventloop.cpp:201
#73 0x066f519d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#74 0x02fb1924 in QApplication::exec () at kernel/qapplication.cpp:3760
#75 0x005e7bd5 in kdemain (argc=1, argv=0xbfdf0974) at ../../../konqueror/src/konqmain.cpp:242
#76 0x0804850b in main (argc=1, argv=0xbfdf0974) at konqueror_dummy.cpp:3


As end-user, these are the same symptoms as
https://bugs.kde.org/show_bug.cgi?id=211765
https://bugs.kde.org/show_bug.cgi?id=245934

This time, it happened with a math course of 133 pages. Since my code is divided into tens of tex files, it will be difficult for me to give an example.
Comment 1 Dawit Alemayehu 2012-09-25 06:34:19 UTC

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