| Summary: | [testcase file] khtml crashes attempting to open .chm file | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Max Barnash <rebarned> |
| Component: | khtml | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | andresbajotierra, finex |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Max Barnash
2009-10-08 10:33:22 UTC
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. |