Version: (using KDE KDE 3.5.3) Installed from: Gentoo Packages Compiler: GCC 3.4.6 OS: Linux I am using a JavaScript application that works with AJAX and changes a table by adding or removing rows and changing their contents. I noticed that Konqueror crashes after a few changes on the table, which doesn't happen in Firefox or any other browser. I figured out that the crash was caused by a border-collapse:collapse on the table. When I removed that, Konqueror didn't crash anymore, but it is nevertheless strange that the table width doesn't seem to be rendered correctly. As you can see in the attachment (after clicking on the «Bug!» link at the bottom), tbody (green) has become smaller than table (red). I think the crash has to do with this rendering problem. I don't have a test case yet that causes the crash, this example only demonstrates the rendering problem. But if someone finds a workaround where the rendering error doesn't occur, I could test if it really causes the crash.
Created attachment 16640 [details] Test case that demonstrates Konqueror's table rendering problem.
Okay, I configured an account in the application that causes the crash. Go to http://www.s-u-a.net/login/karte.php?kde-bugs=1 and click in the «System» fieldset on the «Vorige» and «Nächste» links a few times, and Konqueror will crash. I am sorry that I didn't make to reduce that code onto a minimum, but the crash doesn't occur when I remove the setting border-collapse:collapse, which is defined for all tables in http://www.s-u-a.net/login/style/skin.php?skin=default&type=blue_graphics_fixed on line 96.
Backtrace: Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1229809984 (LWP 25118)] [KCrash handler] #6 0xb649cbb1 in khtml::CollapsedBorderValue::style (this=0x2) at render_style.h:265 #7 0xb64979fb in compareBorders (border1=@0xbfebf944, border2=@0xbfebf8f4) at /opt/src/kde/kdelibs/khtml/rendering/render_table.cpp:2222 #8 0xb6497baf in khtml::RenderTableCell::collapsedLeftBorder (this=0x87b8a68) at /opt/src/kde/kdelibs/khtml/rendering/render_table.cpp:2250 #9 0xb64988bc in khtml::RenderTableCell::borderLeft (this=0x87b8a68) at /opt/src/kde/kdelibs/khtml/rendering/render_table.cpp:2467 #10 0xb645e355 in khtml::RenderBlock::calcMinMaxWidth (this=0x87b8a68) at /opt/src/kde/kdelibs/khtml/rendering/render_block.cpp:2578 #11 0xb64973d8 in khtml::RenderTableCell::calcMinMaxWidth (this=0x87b8a68) at /opt/src/kde/kdelibs/khtml/rendering/render_table.cpp:2089 #12 0xb6474c7d in khtml::RenderObject::recalcMinMaxWidths (this=0x87b8a68) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1882 #13 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x87b88d0) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #14 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x87b8864) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #15 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x87b848c) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #16 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x87a0534) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #17 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x87a04b4) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #18 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x87a0434) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #19 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x87a0334) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #20 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x8763fd0) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #21 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x86800e4) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #22 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x8680064) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #23 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867ffe4) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #24 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867ff64) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #25 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867fee4) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #26 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867fe64) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #27 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867fde4) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #28 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867fd64) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #29 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867fce4) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #30 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867fc00) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #31 0xb6474be5 in khtml::RenderObject::recalcMinMaxWidths (this=0x867fad8) at /opt/src/kde/kdelibs/khtml/rendering/render_object.cpp:1868 #32 0xb64b6c8b in khtml::RenderCanvas::layout (this=0x867fad8) at /opt/src/kde/kdelibs/khtml/rendering/render_canvas.cpp:159 #33 0xb6394eaa in KHTMLView::layout (this=0x8653d18) at /opt/src/kde/kdelibs/khtml/khtmlview.cpp:825 #34 0xb63951c7 in KHTMLView::timerEvent (this=0x8653d18, e=0xbfec03bc) at /opt/src/kde/kdelibs/khtml/khtmlview.cpp:3418 #35 0xb724c4f0 in QObject::event () from /opt/qt3.3g2/lib/libqt-mt.so.3 #36 0xb7270690 in QWidget::event () from /opt/qt3.3g2/lib/libqt-mt.so.3 #37 0xb720eb5c in QApplication::internalNotify () from /opt/qt3.3g2/lib/libqt-mt.so.3 #38 0xb720f0bb in QApplication::notify () from /opt/qt3.3g2/lib/libqt-mt.so.3 #39 0xb7752660 in KApplication::notify (this=0xbfec067c, receiver=0x8653d18, event=0xbfec03bc) at /opt/src/kde/kdelibs/kdecore/kapplication.cpp:550 #40 0xb7f8e85e in QApplication::sendEvent (receiver=0x260075, event=0xbfec03bc) at qapplication.h:496 #41 0xb7202cce in QEventLoop::activateTimers () from /opt/qt3.3g2/lib/libqt-mt.so.3 #42 0xb71d40c9 in QEventLoop::processEvents () from /opt/qt3.3g2/lib/libqt-mt.so.3 #43 0xb721aa9b in QEventLoop::enterLoop () from /opt/qt3.3g2/lib/libqt-mt.so.3 #44 0xb721aa15 in QEventLoop::exec () from /opt/qt3.3g2/lib/libqt-mt.so.3 #45 0xb720a980 in QApplication::exec () from /opt/qt3.3g2/lib/libqt-mt.so.3 #46 0xb69f38bf in kdemain () from /opt/kde3.5/lib/libkdeinit_konqueror.so #47 0xb7622724 in kdeinitmain () from /opt/kde3.5/lib/kde3/konqueror.so #48 0x0804f453 in launch (argc=2, _name=0x806bfc4 "konqueror", args=0x806bfd8 "\001", cwd=0x0, envc=1, envs=0x806bfe9 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x2 <Address 0x2 out of bounds>) at /opt/src/kde/kdelibs/kinit/kinit.cpp:639 #49 0x0804fbc7 in handle_launcher_request (sock=8) at /opt/src/kde/kdelibs/kinit/kinit.cpp:1206 #50 0x08050167 in handle_requests (waitForPid=0) at /opt/src/kde/kdelibs/kinit/kinit.cpp:1407 #51 0x08050a97 in main (argc=3, argv=0xbfec1014, envp=0x2) at /opt/src/kde/kdelibs/kinit/kinit.cpp:1863
*** This bug has been marked as a duplicate of 128021 ***