Bug 81607

Summary: [testcase] crash in khtml::RenderBlock::layoutBlock when viewing type troff document
Product: [Applications] konqueror Reporter: Martin Koller <kollix>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: troff testfile which crashes konqi

Description Martin Koller 2004-05-14 22:13:37 UTC
Version:           3.2.0 (using KDE 3.2.2, compiled sources)
Compiler:          gcc version 3.2.3
OS:                Linux (i686) release 2.4.22

When viewing the document I will attach, konqi always crashes with the following backtrace:
(The file is from the spamoracle-1.4 distribution, spamoracle.1)
[New Thread 16384 (LWP 14008)]
0x414435c9 in waitpid () from /lib/libpthread.so.0
#0  0x414435c9 in waitpid () from /lib/libpthread.so.0
#1  0x408bca57 in KCrash::defaultCrashHandler(int) (sig=6) at kcrash.cpp:246
#2  0x41441c45 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x415a5ac1 in kill () from /lib/libc.so.6
#5  0x4143e9ed in pthread_kill () from /lib/libpthread.so.0
#6  0x4143ed0b in raise () from /lib/libpthread.so.0
#7  0x415a56fa in raise () from /lib/libc.so.6
#8  0x415a7127 in abort () from /lib/libc.so.6
#9  0x4159ed6a in __assert_fail () from /lib/libc.so.6
#10 0x41dc1af5 in khtml::RenderBlock::layoutBlock(bool) (this=0x8432fac, 
    relayoutChildren=false) at render_block.cpp:525
#11 0x41dc15ee in khtml::RenderBlock::layout() (this=0x8432fac)
    at render_block.cpp:420
#12 0x41dc2b9c in khtml::RenderBlock::layoutBlockChildren(bool) (
    this=0x843301c, relayoutChildren=false) at render_block.cpp:824
#13 0x41dc1b3f in khtml::RenderBlock::layoutBlock(bool) (this=0x843301c, 
    relayoutChildren=false) at render_block.cpp:501
#14 0x41dc15ee in khtml::RenderBlock::layout() (this=0x843301c)
    at render_block.cpp:420
#15 0x41dc2b9c in khtml::RenderBlock::layoutBlockChildren(bool) (
    this=0x8432f3c, relayoutChildren=true) at render_block.cpp:824
#16 0x41dc1b3f in khtml::RenderBlock::layoutBlock(bool) (this=0x8432f3c, 
    relayoutChildren=true) at render_block.cpp:501
#17 0x41dc15ee in khtml::RenderBlock::layout() (this=0x8432f3c)
    at render_block.cpp:420
#18 0x41dc2b9c in khtml::RenderBlock::layoutBlockChildren(bool) (
    this=0x8432e18, relayoutChildren=true) at render_block.cpp:824
#19 0x41dc1b3f in khtml::RenderBlock::layoutBlock(bool) (this=0x8432e18, 
    relayoutChildren=true) at render_block.cpp:501
#20 0x41dc15ee in khtml::RenderBlock::layout() (this=0x8432e18)
    at render_block.cpp:420
#21 0x41dc2b9c in khtml::RenderBlock::layoutBlockChildren(bool) (
    this=0x83190bc, relayoutChildren=true) at render_block.cpp:824
#22 0x41dc1b3f in khtml::RenderBlock::layoutBlock(bool) (this=0x83190bc, 
    relayoutChildren=true) at render_block.cpp:501
#23 0x41dc15ee in khtml::RenderBlock::layout() (this=0x83190bc)
    at render_block.cpp:420
#24 0x41dbe5cc in khtml::RenderBlock::layoutInlineChildren(bool) (
    this=0x8318bfc, relayoutChildren=true) at bidi.cpp:1162
#25 0x41dc17d9 in khtml::RenderBlock::layoutBlock(bool) (this=0x8318bfc, 
    relayoutChildren=true) at render_block.cpp:499
#26 0x41dc15ee in khtml::RenderBlock::layout() (this=0x8318bfc)
    at render_block.cpp:420
#27 0x41e08d9e in khtml::RenderBody::layout() (this=0x8318bfc)
    at render_body.cpp:91
#28 0x41dc2b9c in khtml::RenderBlock::layoutBlockChildren(bool) (
    this=0x8318b44, relayoutChildren=true) at render_block.cpp:824
#29 0x41dc1b3f in khtml::RenderBlock::layoutBlock(bool) (this=0x8318b44, 
    relayoutChildren=true) at render_block.cpp:501
#30 0x41dc15ee in khtml::RenderBlock::layout() (this=0x8318b44)
    at render_block.cpp:420
#31 0x41dc2b9c in khtml::RenderBlock::layoutBlockChildren(bool) (
    this=0x8318a60, relayoutChildren=false) at render_block.cpp:824
#32 0x41dc1b3f in khtml::RenderBlock::layoutBlock(bool) (this=0x8318a60, 
    relayoutChildren=false) at render_block.cpp:501
#33 0x41dc15ee in khtml::RenderBlock::layout() (this=0x8318a60)
    at render_block.cpp:420
#34 0x41e016ee in khtml::RenderCanvas::layout() (this=0x8318a60)
    at render_canvas.cpp:168
#35 0x41d12117 in KHTMLView::layout() (this=0x8369dd8) at khtmlview.cpp:610
#36 0x41e01d49 in khtml::RenderCanvas::close() (this=0x8318a60)
    at render_canvas.cpp:300
#37 0x41d6dd42 in DOM::DocumentImpl::close() (this=0x8338e78)
    at dom_docimpl.cpp:1168
#38 0x41d9df6b in DOM::HTMLDocumentImpl::close() (this=0x8338e78)
    at html_documentimpl.cpp:292
#39 0x41d3252c in KHTMLPart::checkEmitLoadEvent() (this=0x82f32a0)
    at khtml_part.cpp:2064
#40 0x41d31c43 in KHTMLPart::checkCompleted() (this=0x82f32a0)
    at khtml_part.cpp:1986
#41 0x41d31534 in KHTMLPart::slotLoaderRequestDone(khtml::DocLoader*, khtml::CachedObject*) (this=0x82f32a0, dl=0xfffffe00, obj=0xfffffe00)
    at khtml_part.cpp:1843
#42 0x41d4b41c in KHTMLPart::qt_invoke(int, QUObject*) (this=0x82f32a0, 
    _id=57, _o=0xbfffe630) at qucom_p.h:312
#43 0x41c04b00 in KManPart::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkmanpart.so
#44 0x40d14a11 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x83686f0, clist=0x8379de8, o=0xbfffe630) at kernel/qobject.cpp:2356
#45 0x41e38512 in khtml::Loader::requestDone(khtml::DocLoader*, khtml::CachedObject*) (this=0x83686f0, t0=0x838cc18, t1=0x83b2f48) at loader.moc:240
#46 0x41e362b7 in khtml::Loader::slotFinished(KIO::Job*) (this=0x83686f0, 
    job=0x834de60) at loader.cpp:1085
#47 0x41e38694 in khtml::Loader::qt_invoke(int, QUObject*) (this=0x83686f0, 
    _id=2, _o=0x834de60) at qucom_p.h:312
#48 0x40d14a11 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x834de60, clist=0x83a0bb8, o=0xbfffe790) at kernel/qobject.cpp:2356
#49 0x402f2807 in KIO::Job::result(KIO::Job*) (this=0x834de60, t0=0x834de60)
    at jobclasses.moc:156
#50 0x402db580 in KIO::Job::emitResult() (this=0x834de60) at job.cpp:207
#51 0x402dceab in KIO::SimpleJob::slotFinished() (this=0x834de60)
    at job.cpp:524
#52 0x402e0021 in KIO::TransferJob::slotFinished() (this=0x834de60)
    at job.cpp:822
#53 0x402f3dbc in KIO::TransferJob::qt_invoke(int, QUObject*) (this=0x834de60, 
    _id=17, _o=0xbfffeaf0) at jobclasses.moc:800
#54 0x40d14a11 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x83ac920, clist=0x83b5968, o=0xbfffeaf0) at kernel/qobject.cpp:2356
#55 0x40d148b0 in QObject::activate_signal(int) (this=0x83ac920, signal=6)
    at kernel/qobject.cpp:2325
#56 0x402ced39 in KIO::SlaveInterface::finished() (this=0x83ac920)
    at qmetaobject.h:261
#57 0x402cc19f in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) (
    this=0x83ac920, _cmd=104, rawdata=@0xbfffed80) at slaveinterface.cpp:255
#58 0x402cb4a7 in KIO::SlaveInterface::dispatch() (this=0x83ac920)
    at slaveinterface.cpp:191
#59 0x402c8424 in KIO::Slave::gotInput() (this=0x83ac920) at slave.cpp:294
#60 0x402ca9e9 in KIO::Slave::qt_invoke(int, QUObject*) (this=0x83ac920, 
    _id=4, _o=0xbfffeef0) at slave.moc:113
#61 0x40d14a11 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8328410, clist=0x83acbc0, o=0xbfffeef0) at kernel/qobject.cpp:2356
#62 0x40d14d83 in QObject::activate_signal(int, int) (this=0x8328410, 
    signal=2, param=17) at kernel/qobject.cpp:2449
#63 0x4106bbdf in QSocketNotifier::activated(int) (this=0x8328410, t0=17)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#64 0x40d34668 in QSocketNotifier::event(QEvent*) (this=0x8328410, 
    e=0xbffff170) at kernel/qsocketnotifier.cpp:280
#65 0x40cb2113 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff530, receiver=0x8328410, e=0xbffff170)
    at kernel/qapplication.cpp:2620
#66 0x40cb15d0 in QApplication::notify(QObject*, QEvent*) (this=0xbffff530, 
    receiver=0x8328410, e=0xbffff170) at kernel/qapplication.cpp:2343
#67 0x40820785 in KApplication::notify(QObject*, QEvent*) (this=0xbffff530, 
    receiver=0x8328410, event=0xbffff170) at kapplication.cpp:507
#68 0x40086d35 in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x8328410, event=0xbffff170) at qapplication.h:492
#69 0x40ca0374 in QEventLoop::activateSocketNotifiers() (this=0x80d1d80)
    at kernel/qeventloop_unix.cpp:580
#70 0x40c5a0be in QEventLoop::processEvents(unsigned) (this=0x80d1d80, flags=4)
    at kernel/qeventloop_x11.cpp:383
#71 0x40cc63b2 in QEventLoop::enterLoop() (this=0x80d1d80)
    at kernel/qeventloop.cpp:198
#72 0x40cc62ce in QEventLoop::exec() (this=0x80d1d80)
    at kernel/qeventloop.cpp:145
#73 0x40cb2297 in QApplication::exec() (this=0xbffff530)
    at kernel/qapplication.cpp:2743
#74 0x400717ad in kdemain (argc=2, argv=0xbffff694) at konq_main.cc:184
#75 0x0804867a in main (argc=2, argv=0xbffff694) at konqueror.la.cc:2
#76 0x41591d06 in __libc_start_main () from /lib/libc.so.6
Comment 1 Martin Koller 2004-05-14 22:15:39 UTC
Created attachment 6000 [details]
troff testfile which crashes konqi
Comment 2 Stephan Kulow 2004-05-14 22:33:17 UTC

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