Bug 75410

Summary: konqueror segfault (presumably in khtml)
Product: [Applications] konqueror Reporter: richard
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description richard 2004-02-17 03:44:03 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.2 
OS:          Linux

I get a reproducible segfault when opening http://www.garandnet.net/globetechnologystory.html (it takes about 10 seconds to crash); the backtrace that the KDE crash handler gives me is:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 4591)]
0x4135c7e8 in waitpid () from /lib/libpthread.so.0
#0  0x4135c7e8 in waitpid () from /lib/libpthread.so.0
#1  0x4086b64c in __JCR_LIST__ () from /usr/kde/3.2/lib/libkdecore.so.4
#2  0x407af02b in KCrash::defaultCrashHandler(int) (sig=6) at kcrash.cpp:246
#3  0x4135b4d3 in __pthread_sighandler () from /lib/libpthread.so.0
#4  <signal handler called>
#5  0x414d4751 in sigpending () from /lib/libc.so.6
#6  0x41358a60 in pthread_kill () from /lib/libpthread.so.0
#7  0x41358dbb in raise () from /lib/libpthread.so.0
#8  0x414d44e2 in killpg () from /lib/libc.so.6
#9  0x00000006 in ?? ()
#10 0x41357093 in pthread_mutex_unlock () from /lib/libpthread.so.0
#11 0x414d5adc in abort () from /lib/libc.so.6
#12 0x00000006 in ?? ()
#13 0xbfffd320 in ?? ()

(all libraries and applications are compiled with debugging information)
Comment 1 Tommi Tervo 2004-02-17 09:17:45 UTC
Hopefully better backtrace

[New Thread 1024 (LWP 13149)]
0x420b48d9 in wait4 () from /lib/i686/libc.so.6
#0  0x420b48d9 in wait4 () from /lib/i686/libc.so.6
#1  0x4213030c in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x40fa5c33 in waitpid () from /lib/i686/libpthread.so.0
#3  0x40665fe0 in KCrash::defaultCrashHandler (sig=6) at kcrash.cpp:246
#4  0x40fa3f05 in pthread_sighandler () from /lib/i686/libpthread.so.0
#5  <signal handler called>
#6  0x42029331 in kill () from /lib/i686/libc.so.6
#7  0x40fa3bdb in raise () from /lib/i686/libpthread.so.0
#8  0x4202a8c2 in abort () from /lib/i686/libc.so.6
#9  0x42022ecb in __assert_fail () from /lib/i686/libc.so.6
#10 0x414813e8 in khtml::RenderBlock::createLineBoxes (this=0x83393cc, 
    obj=0x8339868) at bidi.cpp:472
#11 0x414815c9 in khtml::RenderBlock::constructLine (this=0x83393cc, 
    start=@0xbfffd2f0, end=@0xbfffd2e0)
    at ../../khtml/rendering/render_object.h:117
#12 0x414839c0 in khtml::RenderBlock::layoutInlineChildren (this=0x83393cc, 
    relayoutChildren=true) at bidi.cpp:1201
#13 0x414877ec in khtml::RenderBlock::layoutBlock (this=0x83393cc, 
    relayoutChildren=true) at render_block.cpp:498
#14 0x414aa9dd in khtml::RenderTableCell::layout (this=0x83393cc)
    at render_table.cpp:1620
#15 0x414aa6cf in khtml::RenderTableRow::layout (this=0x83393a8)
    at render_table.cpp:1538
#16 0x414978f2 in khtml::RenderContainer::layout (this=0x833934c)
    at render_container.cpp:347
#17 0x414a66e8 in khtml::RenderTable::layout (this=0x83392b0)
    at render_table.cpp:268
#18 0x41489b79 in khtml::RenderBlock::insertFloatingObject (this=0x833922c, 
    o=0x83392b0) at render_block.cpp:1287
#19 0x41488125 in khtml::RenderBlock::layoutBlockChildren (this=0x833922c, 
    relayoutChildren=false) at render_block.cpp:695
#20 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x833922c, 
    relayoutChildren=false) at render_block.cpp:500
#21 0x414aa9dd in khtml::RenderTableCell::layout (this=0x833922c)
    at render_table.cpp:1620
#22 0x414aa6cf in khtml::RenderTableRow::layout (this=0x8339208)
    at render_table.cpp:1538
#23 0x414978f2 in khtml::RenderContainer::layout (this=0x83391ac)
    at render_container.cpp:347
#24 0x414a66e8 in khtml::RenderTable::layout (this=0x8339110)
    at render_table.cpp:268
#25 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x83390a0, 
    relayoutChildren=false) at render_block.cpp:822
#26 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x83390a0, 
    relayoutChildren=false) at render_block.cpp:500
#27 0x414874f3 in khtml::RenderBlock::layout (this=0x83390a0)
    at render_block.cpp:418
#28 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x8339030, 
    relayoutChildren=false) at render_block.cpp:822
#29 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x8339030, 
    relayoutChildren=false) at render_block.cpp:500
#30 0x414874f3 in khtml::RenderBlock::layout (this=0x8339030)
    at render_block.cpp:418
#31 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x8468474, 
    relayoutChildren=false) at render_block.cpp:822
#32 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x8468474, 
    relayoutChildren=false) at render_block.cpp:500
#33 0x414aa9dd in khtml::RenderTableCell::layout (this=0x8468474)
    at render_table.cpp:1620
#34 0x414aa6cf in khtml::RenderTableRow::layout (this=0x8488ff4)
    at render_table.cpp:1538
#35 0x414978f2 in khtml::RenderContainer::layout (this=0x8488f98)
    at render_container.cpp:347
#36 0x414a66e8 in khtml::RenderTable::layout (this=0x8379f68)
    at render_table.cpp:268
#37 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x8379ef8, 
    relayoutChildren=false) at render_block.cpp:822
#38 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x8379ef8, 
    relayoutChildren=false) at render_block.cpp:500
#39 0x414874f3 in khtml::RenderBlock::layout (this=0x8379ef8)
    at render_block.cpp:418
#40 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x8377650, 
    relayoutChildren=false) at render_block.cpp:822
#41 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x8377650, 
    relayoutChildren=false) at render_block.cpp:500
#42 0x414874f3 in khtml::RenderBlock::layout (this=0x8377650)
    at render_block.cpp:418
#43 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x8377208, 
    relayoutChildren=false) at render_block.cpp:822
#44 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x8377208, 
    relayoutChildren=false) at render_block.cpp:500
#45 0x414874f3 in khtml::RenderBlock::layout (this=0x8377208)
    at render_block.cpp:418
#46 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x8377194, 
    relayoutChildren=false) at render_block.cpp:822
#47 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x8377194, 
    relayoutChildren=false) at render_block.cpp:500
#48 0x414874f3 in khtml::RenderBlock::layout (this=0x8377194)
    at render_block.cpp:418
#49 0x414c041c in khtml::RenderBody::layout (this=0x8377194)
    at render_body.cpp:92
#50 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x83770dc, 
    relayoutChildren=false) at render_block.cpp:822
#51 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x83770dc, 
    relayoutChildren=false) at render_block.cpp:500
#52 0x414874f3 in khtml::RenderBlock::layout (this=0x83770dc)
    at render_block.cpp:418
#53 0x414887d6 in khtml::RenderBlock::layoutBlockChildren (this=0x8376ff8, 
    relayoutChildren=false) at render_block.cpp:822
#54 0x414877fe in khtml::RenderBlock::layoutBlock (this=0x8376ff8, 
    relayoutChildren=false) at render_block.cpp:500
#55 0x414874f3 in khtml::RenderBlock::layout (this=0x8376ff8)
    at render_block.cpp:418
#56 0x414ba60d in khtml::RenderCanvas::layout (this=0x8376ff8)
    at render_canvas.cpp:168
#57 0x413eadbf in KHTMLView::layout (this=0x8434df0) at khtmlview.cpp:604
#58 0x413f1c90 in KHTMLView::timerEvent (this=0x8434df0, e=0xbfffeb10)
    at khtmlview.cpp:2186
#59 0x40a086cb in QObject::event () from /opt/qt33f/lib/libqt-mt.so.3
#60 0x40a37be1 in QWidget::event () from /opt/qt33f/lib/libqt-mt.so.3
#61 0x409bb618 in QApplication::internalNotify ()
   from /opt/qt33f/lib/libqt-mt.so.3
#62 0x409bb264 in QApplication::notify () from /opt/qt33f/lib/libqt-mt.so.3
#63 0x405e98ec in KApplication::notify (this=0xbffff0c0, receiver=0x8434df0, 
    event=0xbfffeb10) at kapplication.cpp:506
#64 0x409ad5f6 in QEventLoop::activateTimers ()
   from /opt/qt33f/lib/libqt-mt.so.3
#65 0x40971573 in QEventLoop::processEvents ()
   from /opt/qt33f/lib/libqt-mt.so.3
#66 0x409ca18c in QEventLoop::enterLoop () from /opt/qt33f/lib/libqt-mt.so.3
#67 0x409ca0d5 in QEventLoop::exec () from /opt/qt33f/lib/libqt-mt.so.3
#68 0x409bb7a0 in QApplication::exec () from /opt/qt33f/lib/libqt-mt.so.3
#69 0x410f4a5d in kdemain (argc=2, argv=0x8056ed8) at konq_main.cc:184
#70 0x407738af in kdeinitmain (argc=2, argv=0x8056ed8) at konqueror_dummy.cc:2
#71 0x0804cdc4 in launch (argc=2, _name=0x805dd84 "konqueror", 
    args=0x805dd97 "\001", cwd=0x0, envc=1, envs=0x805dda8 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x805ddac "v10-dhcp-76-190.ntc.nokia.com;1077004808;900038;19481") at kinit.cpp:604
#72 0x0804dd8b in handle_launcher_request (sock=8) at kinit.cpp:1169
#73 0x0804e2e6 in handle_requests (waitForPid=0) at kinit.cpp:1360
#74 0x0804f567 in main (argc=3, argv=0xbffff7a4, envp=0xbffff7b4)
    at kinit.cpp:1797
#75 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
Comment 2 Tommi Tervo 2004-02-17 09:19:44 UTC
Yeah, dupe of old friend.

*** This bug has been marked as a duplicate of 65715 ***
Comment 3 Bug Janitor Service 2023-12-03 15:27:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kjobwidgets/-/merge_requests/48