Application that crashed: okular Version of the application: 0.9.2 KDE Version: 4.3.2 (KDE 4.3.2) Qt Version: 4.5.3 Operating System: Linux 2.6.30-ARCH i686 What I was doing when the application crashed: Okular crashes when I try to open C++.FAQ.Lite.chm, which can be easily found on the internet. Steps to reproduce: Download the .zip file (http://www.box.net/shared/h4j5amuyaz), unzip it and click on it in Dolphin. Okular crashes showing main window and some informational popup in the top left corner of the page. Reproducible: Always. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #6 0x0000000f in ?? () #7 0xb281a502 in khtml::InlineFlowBox::paint(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #8 0xb281a6a2 in khtml::RootInlineBox::paint(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #9 0xb27d6f75 in khtml::RenderFlow::paintLines(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #10 0xb27adda5 in khtml::RenderBlock::paintObject(khtml::RenderObject::PaintInfo&, int, int, bool) () from /usr/lib/libkhtml.so.5 #11 0xb27ae95d in khtml::RenderBlock::paint(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #12 0xb27adeb8 in khtml::RenderBlock::paintObject(khtml::RenderObject::PaintInfo&, int, int, bool) () from /usr/lib/libkhtml.so.5 #13 0xb27ae95d in khtml::RenderBlock::paint(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #14 0xb27adeb8 in khtml::RenderBlock::paintObject(khtml::RenderObject::PaintInfo&, int, int, bool) () from /usr/lib/libkhtml.so.5 #15 0xb27ae95d in khtml::RenderBlock::paint(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #16 0xb27adeb8 in khtml::RenderBlock::paintObject(khtml::RenderObject::PaintInfo&, int, int, bool) () from /usr/lib/libkhtml.so.5 #17 0xb27ae95d in khtml::RenderBlock::paint(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #18 0xb27adeb8 in khtml::RenderBlock::paintObject(khtml::RenderObject::PaintInfo&, int, int, bool) () from /usr/lib/libkhtml.so.5 #19 0xb27ae95d in khtml::RenderBlock::paint(khtml::RenderObject::PaintInfo&, int, int) () from /usr/lib/libkhtml.so.5 #20 0xb27e273a in khtml::RenderLayer::paintLayer(khtml::RenderLayer*, QPainter*, QRect const&, bool) () from /usr/lib/libkhtml.so.5 #21 0xb27e242a in khtml::RenderLayer::paintLayer(khtml::RenderLayer*, QPainter*, QRect const&, bool) () from /usr/lib/libkhtml.so.5 #22 0xb27e28d7 in khtml::RenderLayer::paint(QPainter*, QRect const&, bool) () from /usr/lib/libkhtml.so.5 #23 0xb2661325 in KHTMLView::paint(QPainter*, QRect const&, int, bool*) () from /usr/lib/libkhtml.so.5 #24 0xb267ef33 in KHTMLPart::paint(QPainter*, QRect const&, int, bool*) () from /usr/lib/libkhtml.so.5 #25 0xb2c00925 in CHMGenerator::slotCompleted() () from /usr/lib/kde4/okularGenerator_chmlib.so #26 0xb2c00b81 in CHMGenerator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/okularGenerator_chmlib.so #27 0xb75e7fcc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #28 0xb75e8c02 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #29 0xb80533a7 in KParts::ReadOnlyPart::completed() () from /usr/lib/libkparts.so.4 #30 0xb266a425 in KHTMLView::timerEvent(QTimerEvent*) () from /usr/lib/libkhtml.so.5 #31 0xb75e217f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #32 0xb6c78ac6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #33 0xb701f253 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #34 0xb70bd4ca in QAbstractScrollArea::event(QEvent*) () from /usr/lib/libQtGui.so.4 #35 0xb70c24bd in QScrollArea::event(QEvent*) () from /usr/lib/libQtGui.so.4 #36 0xb266c6cc in KHTMLView::event(QEvent*) () from /usr/lib/libkhtml.so.5 #37 0xb6c24924 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #38 0xb6c2bf5a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #39 0xb7b810da in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #40 0xb75d25ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #41 0xb75ffd2e in ?? () from /usr/lib/libQtCore.so.4 #42 0xb75fcdc0 in ?? () from /usr/lib/libQtCore.so.4 #43 0xb63a3d98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #44 0xb63a73e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #45 0xb63a7513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #46 0xb75fcd0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #47 0xb6cc2705 in ?? () from /usr/lib/libQtGui.so.4 #48 0xb75d0b99 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #49 0xb75d0fea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #50 0xb75d345f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #51 0xb6c247a7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #52 0x0804ee89 in _start () Reported using DrKonqi
I could reproduce the crash here using: Qt: 4.6.0 (Qt git branch 4.6 commit 3865912d4a6c31a4981e1831e2af8d59f3eb4ac0 Date: Wed Oct 7 08:40:14 2009 +1000) KDE: 4.3.70 (KDE 4.3.70 (KDE 4.4 >= 20091002)) kdelibs svn rev. 1030916 / kdebase svn rev. 1030916 on ArchLinux i686 - Kernel 2.6.30.6 and the testcase file. However the backtrace I got is a bit different from this, so I'm not really sure if it is the same: Application: Okular (okular), signal: Segmentation fault [Current thread is 0 (LWP 25073)] Thread 2 (Thread 0xb0aa6b70 (LWP 25078)): #0 0xb7f1f424 in __kernel_vsyscall () #1 0xb6ffdec2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb70aa559 in QWaitConditionPrivate::wait (this=0x9019978, time=30000) at thread/qwaitcondition_unix.cpp:85 #3 0xb70aa377 in QWaitCondition::wait (this=0x90198dc, mutex=0x90198d8, time=30000) at thread/qwaitcondition_unix.cpp:159 #4 0xb709abdf in QThreadPoolThread::run (this=0x8daf2c0) at concurrent/qthreadpool.cpp:140 #5 0xb70a9134 in QThreadPrivate::start (arg=0x8daf2c0) at thread/qthread_unix.cpp:244 #6 0xb6ff965c in start_thread () from /lib/libpthread.so.0 #7 0xb62121fe in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb5a23700 (LWP 25073)): [KCrash Handler] #6 0xb21f747f in khtml::RenderBlock::clearChildOfPageBreaks (this=0x8fc6a48, child=0x8fc6b90, pageBreakInfo=@0xbfb7a434, marginInfo=@0xbfb7a428) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1667 #7 0xb21f87aa in khtml::RenderBlock::layoutBlockChildren (this=0x8fc6a48, relayoutChildren=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1604 #8 0xb21f8a85 in khtml::RenderBlock::layoutBlock (this=0x8fc6a48, relayoutChildren=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:835 #9 0xb2255fd5 in khtml::RenderCanvas::layout (this=0x8fc6a48) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_canvas.cpp:187 #10 0xb20ba813 in KHTMLView::layout (this=0x8f447b0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:1010 #11 0xb20be263 in KHTMLView::resizeEvent (this=0x8f447b0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:859 #12 0xb65abcc1 in QWidget::event (this=0x8f447b0, event=0xbfb7ac0c) at kernel/qwidget.cpp:8057 #13 0xb6a135d8 in QFrame::event (this=0x8f447b0, e=0xbfb7ac0c) at widgets/qframe.cpp:557 #14 0xb6abf74c in QAbstractScrollArea::viewportEvent (this=0x8f447b0, e=0xbfb7ac0c) at widgets/qabstractscrollarea.cpp:1007 #15 0xb20b0094 in KHTMLView::viewportEvent (this=0x8f447b0, e=0x0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:2135 #16 0xb6ac02af in QAbstractScrollAreaPrivate::viewportEvent (this=0x8f447f0, event=0xbfb7ac0c) at widgets/qabstractscrollarea_p.h:101 #17 0xb6ac0396 in QAbstractScrollAreaFilter::eventFilter (this=0x8f44b70, o=0x8f3f9d0, e=0xbfb7ac0c) at widgets/qabstractscrollarea_p.h:119 #18 0xb71bd447 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8a72f20, receiver=0x8f3f9d0, event=0xbfb7ac0c) at kernel/qcoreapplication.cpp:819 #19 0xb6543548 in QApplicationPrivate::notify_helper (this=0x8a72f20, receiver=0x8f3f9d0, e=0xbfb7ac0c) at kernel/qapplication.cpp:4194 #20 0xb65433d1 in QApplication::notify (this=0xbfb7c868, receiver=0x8f3f9d0, e=0xbfb7ac0c) at kernel/qapplication.cpp:4163 #21 0xb78814ea in KApplication::notify (this=0xbfb7c868, receiver=0x8f3f9d0, event=0xbfb7ac0c) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #22 0xb71bd169 in QCoreApplication::notifyInternal (this=0xbfb7c868, receiver=0x8f3f9d0, event=0xbfb7ac0c) at kernel/qcoreapplication.cpp:704 #23 0xb71c0c41 in QCoreApplication::sendEvent (receiver=0x8f3f9d0, event=0xbfb7ac0c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #24 0xb65a93ce in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x8f3f9f0, recursive=false, disableUpdates=true) at kernel/qwidget.cpp:6995 #25 0xb65a94f5 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x8f3f9f0) at kernel/qwidget.cpp:7013 #26 0xb65a95cb in QWidgetPrivate::activateChildLayoutsRecursively (this=0x8f447f0) at kernel/qwidget.cpp:7033 #27 0xb65a95cb in QWidgetPrivate::activateChildLayoutsRecursively (this=0x8f4adf0) at kernel/qwidget.cpp:7033 #28 0xb65a34ef in QWidgetPrivate::prepareToRender (this=0x90cd500, region=@0xbfb7af8c, renderFlags={i = 3}) at kernel/qwidget.cpp:5094 #29 0xb65a2735 in QWidget::render (this=0x91cb190, target=0x91925f0, targetOffset=@0xbfb7af80, sourceRegion=@0xbfb7af8c, renderFlags={i = 3}) at kernel/qwidget.cpp:4812 #30 0xb223ef9a in copyWidget (r=@0xbfb7b060, p=0xbfb7ba28, widget=0x91cb190, tx=269, ty=441, buffer=0x91925f0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_replaced.cpp:707 #31 0xb223fbaa in khtml::RenderWidget::paintWidget (pI=@0xbfb7b1b4, widget=0x91cb190, tx=269, ty=441, buffer=0x907be68) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_replaced.cpp:772 #32 0xb2240152 in khtml::RenderWidget::paint (this=0x907bdf8, paintInfo=@0xbfb7b1b4, _tx=50, _ty=441) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_replaced.cpp:630 #33 0xb2261162 in khtml::InlineBox::paint (this=0x8fdacb8, i=@0xbfb7b6c8, tx=50, ty=441) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_line.cpp:141 #34 0xb225fb0d in khtml::InlineFlowBox::paint (this=0x8fdab60, i=@0xbfb7b6c8, tx=50, ty=441) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_line.cpp:875 #35 0xb225fcd2 in khtml::RootInlineBox::paint (this=0x8fdab60, i=@0xbfb7b6c8, tx=50, ty=441) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_line.cpp:1183 #36 0xb221cb15 in khtml::RenderFlow::paintLines (this=0x907bbec, i=@0x8fc6a48, _tx=50, _ty=441) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_flow.cpp:390 #37 0xb21f4225 in khtml::RenderBlock::paintObject (this=0x907bbec, pI=@0xbfb7b6c8, _tx=50, _ty=441, shouldPaintOutline=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1794 #38 0xb21f4ded in khtml::RenderBlock::paint (this=0x907bbec, pI=@0xbfb7b6c8, _tx=10, _ty=441) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1764 #39 0xb21f4338 in khtml::RenderBlock::paintObject (this=0x907b750, pI=@0xbfb7b6c8, _tx=10, _ty=376, shouldPaintOutline=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1798 #40 0xb21f4ded in khtml::RenderBlock::paint (this=0x907b750, pI=@0xbfb7b6c8, _tx=10, _ty=376) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1764 #41 0xb21f4338 in khtml::RenderBlock::paintObject (this=0x907b5a8, pI=@0xbfb7b6c8, _tx=10, _ty=336, shouldPaintOutline=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1798 #42 0xb21f4ded in khtml::RenderBlock::paint (this=0x907b5a8, pI=@0xbfb7b6c8, _tx=10, _ty=336) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1764 #43 0xb21f4338 in khtml::RenderBlock::paintObject (this=0x8fc6c84, pI=@0xbfb7b6c8, _tx=10, _ty=17, shouldPaintOutline=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1798 #44 0xb21f4ded in khtml::RenderBlock::paint (this=0x8fc6c84, pI=@0xbfb7b6c8, _tx=0, _ty=17) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1764 #45 0xb21f4338 in khtml::RenderBlock::paintObject (this=0x8fc6b90, pI=@0xbfb7b6c8, _tx=0, _ty=0, shouldPaintOutline=true) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1798 #46 0xb21f4ded in khtml::RenderBlock::paint (this=0x8fc6b90, pI=@0xbfb7b6c8, _tx=0, _ty=0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_block.cpp:1764 #47 0xb222855f in khtml::RenderLayer::paintLayer (this=0x8fc6c14, rootLayer=0x8fc6b20, p=0xbfb7ba28, paintDirtyRect=@0xbfb7b928, selectionOnly=false) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_layer.cpp:1104 #48 0xb2228254 in khtml::RenderLayer::paintLayer (this=0x8fc6b20, rootLayer=0x8fc6b20, p=0xbfb7ba28, paintDirtyRect=@0xbfb7b928, selectionOnly=false) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_layer.cpp:1129 #49 0xb22286f7 in khtml::RenderLayer::paint (this=0x8fc6b20, p=0xbfb7ba28, damageRect=@0xbfb7b928, selectionOnly=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_layer.cpp:996 #50 0xb20afa55 in KHTMLView::paint (this=0x8f447b0, p=0xbfb7ba28, rc=@0xbfb7ba04, yOff=0, more=0xbfb7ba2f) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:3377 #51 0xb20cb0d3 in KHTMLPart::paint (this=0x8e7c430, p=0xbfb7ba28, rc=@0xbfb7ba04, yOff=0, more=0xbfb7ba2f) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:2191 #52 0xb263a605 in CHMGenerator::slotCompleted (this=0x8d317b8) at /home/kde-devel/kde/src/KDE/kdegraphics/okular/generators/chm/generator_chm.cpp:205 #53 0xb263a861 in CHMGenerator::qt_metacall (this=0x8d317b8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfb7baf8) at /home/kde-devel/kde/build/KDE/kdegraphics/okular/generators/chm/generator_chm.moc:74 #54 0xb71c46fc in QMetaObject::metacall (object=0x8d317b8, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xbfb7baf8) at kernel/qmetaobject.cpp:237 #55 0xb71d8730 in QMetaObject::activate (sender=0x8e7c430, m=0x80536b0, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3390 #56 0xb7ef5667 in KParts::ReadOnlyPart::completed (this=0x8e7c430) at /home/kde-devel/kde/build/KDE/kdelibs/kparts/part.moc:219 #57 0xb20baf2d in KHTMLView::timerEvent (this=0x8f447b0, e=0xbfb7c464) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:4225 #58 0xb71d477c in QObject::event (this=0x8f447b0, e=0xbfb7c464) at kernel/qobject.cpp:1202 #59 0xb65ac8b8 in QWidget::event (this=0x8f447b0, event=0xbfb7c464) at kernel/qwidget.cpp:8354 #60 0xb6a135d8 in QFrame::event (this=0x8f447b0, e=0xbfb7c464) at widgets/qframe.cpp:557 #61 0xb6abf6c7 in QAbstractScrollArea::event (this=0x8f447b0, e=0xbfb7c464) at widgets/qabstractscrollarea.cpp:960 #62 0xb6ac49cf in QScrollArea::event (this=0x8f447b0, e=0xbfb7c464) at widgets/qscrollarea.cpp:314 #63 0xb20bd97c in KHTMLView::event (this=0x8f447b0, e=0xbfb7c464) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtmlview.cpp:546 #64 0xb654356c in QApplicationPrivate::notify_helper (this=0x8a72f20, receiver=0x8f447b0, e=0xbfb7c464) at kernel/qapplication.cpp:4198 #65 0xb65433d1 in QApplication::notify (this=0xbfb7c868, receiver=0x8f447b0, e=0xbfb7c464) at kernel/qapplication.cpp:4163 #66 0xb78814ea in KApplication::notify (this=0xbfb7c868, receiver=0x8f447b0, event=0xbfb7c464) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #67 0xb71bd169 in QCoreApplication::notifyInternal (this=0xbfb7c868, receiver=0x8f447b0, event=0xbfb7c464) at kernel/qcoreapplication.cpp:704 #68 0xb71c0c41 in QCoreApplication::sendEvent (receiver=0x8f447b0, event=0xbfb7c464) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #69 0xb71f7752 in QTimerInfoList::activateTimers (this=0x8a76134) at kernel/qeventdispatcher_unix.cpp:603 #70 0xb71f36d4 in timerSourceDispatch (source=0x8a76100) at kernel/qeventdispatcher_glib.cpp:184 #71 0xb71f378d in idleTimerSourceDispatch (source=0x8a76170) at kernel/qeventdispatcher_glib.cpp:231 #72 0xb5d6fd98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #73 0xb5d733e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #74 0xb5d73513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #75 0xb71f4870 in QEventDispatcherGlib::processEvents (this=0x8a72f00, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:407 #76 0xb6602564 in QGuiEventDispatcherGlib::processEvents (this=0x8a72f00, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202 #77 0xb71ba5cb in QEventLoop::processEvents (this=0xbfb7c75c, flags={i = 36}) at kernel/qeventloop.cpp:149 #78 0xb71ba710 in QEventLoop::exec (this=0xbfb7c75c, flags={i = 0}) at kernel/qeventloop.cpp:201 #79 0xb71bd845 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #80 0xb65412f4 in QApplication::exec () at kernel/qapplication.cpp:3603 #81 0x0804ef29 in main (argc=6, argv=0xbfb7ca54) at /home/kde-devel/kde/src/KDE/kdegraphics/okular/shell/main.cpp:81
Cannot reproduce the crash using KDE 4.4.4, 4.4.5 and 4.5.0.