Version: (using KDE KDE 3.5.2) Installed from: Gentoo Packages Compiler: gcc version 4.0.3 (Gentoo 4.0.3, pie-8.7.8) OS: Linux Finally found a reliable way to reproduce this :) Open some HTML page. Even this is good enough: <html> <body> </body> </html> Drag the first node in <body> (even if it's an empty #text node), and try to place it above itself. This should make it the first element again - and therefore shouldn't change anything. Instead, it crashes: #6 0xffffe410 in __kernel_vsyscall () #7 0x43286180 in raise () from /lib/libc.so.6 #8 0x432878f0 in abort () from /lib/libc.so.6 #9 0x435c64c5 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libstdc++.so.6 #10 0x435c3f05 in __gxx_personality_v0 () from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libstdc++.so.6 #11 0x435c3f42 in std::terminate () from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libstdc++.so.6 #12 0x435c409a in __cxa_throw () from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libstdc++.so.6 #13 0xb71ed2c5 in DOM::Node::insertBefore () from /usr/kde/3.5/lib/libkhtml.so.4 #14 0xb6d390cd in domtreeviewer::MoveNodeCommand::apply () from /usr/kde/3.5/lib/kde3/libdomtreeviewerplugin.so #15 0xb6d3cd18 in domtreeviewer::MultiCommand::apply () from /usr/kde/3.5/lib/kde3/libdomtreeviewerplugin.so #16 0xb6d44c4c in domtreeviewer::ManipulationCommand::execute () from /usr/kde/3.5/lib/kde3/libdomtreeviewerplugin.so #17 0xb6d3ae18 in DOMTreeWindow::executeAndAddCommand () from /usr/kde/3.5/lib/kde3/libdomtreeviewerplugin.so #18 0xb6d45591 in DOMTreeView::slotMovedItems () from /usr/kde/3.5/lib/kde3/libdomtreeviewerplugin.so #19 0xb6d4d1f0 in DOMTreeView::qt_invoke () from /usr/kde/3.5/lib/kde3/libdomtreeviewerplugin.so #20 0x43a4da39 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #21 0xb7a9dca2 in KListView::moved () from /usr/kde/3.5/lib/libkdeui.so.4 #22 0xb7a9de96 in KListView::movableDropEvent () from /usr/kde/3.5/lib/libkdeui.so.4 #23 0xb7a9dac5 in KListView::contentsDropEvent () from /usr/kde/3.5/lib/libkdeui.so.4 #24 0x43b62ba7 in QScrollView::viewportDropEvent () from /usr/qt/3/lib/libqt-mt.so.3 #25 0x43b63dcc in QScrollView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3 #26 0x43b30176 in QListView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3 #27 0x43a4d790 in QObject::activate_filters () from /usr/qt/3/lib/libqt-mt.so.3 #28 0x43a4d80b in QObject::event () from /usr/qt/3/lib/libqt-mt.so.3 #29 0x43a86cac in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3 #30 0x439ee86a in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 #31 0x439ef2c9 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #32 0xb785de82 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4 #33 0x439991d8 in qt_handle_xdnd_drop () from /usr/qt/3/lib/libqt-mt.so.3 #34 0x439993b7 in QDragManager::drop () from /usr/qt/3/lib/libqt-mt.so.3 #35 0x4399b75b in QDragManager::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3 #36 0x439ee82b in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 #37 0x439ef7c8 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #38 0xb785de82 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4 #39 0x4398a639 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3 #40 0x43989b30 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3 #41 0x4399d8ba in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 #42 0x43a050c9 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 #43 0x439ee1ef in QApplication::enter_loop () from /usr/qt/3/lib/libqt-mt.so.3 #44 0x4399b4a7 in QDragManager::drag () from /usr/qt/3/lib/libqt-mt.so.3 #45 0x439fcdc6 in QDragObject::drag () from /usr/qt/3/lib/libqt-mt.so.3 #46 0x439fcd29 in QDragObject::drag () from /usr/qt/3/lib/libqt-mt.so.3 #47 0xb7a635a4 in KListView::startDrag () from /usr/kde/3.5/lib/libkdeui.so.4 #48 0xb7aec042 in KListView::contentsMouseMoveEvent () from /usr/kde/3.5/lib/libkdeui.so.4 #49 0x43b66d74 in QScrollView::viewportMouseMoveEvent () from /usr/qt/3/lib/libqt-mt.so.3 #50 0x43b63cc7 in QScrollView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3 #51 0x43b30176 in QListView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3 #52 0x43a4d790 in QObject::activate_filters () from /usr/qt/3/lib/libqt-mt.so.3 #53 0x43a4d80b in QObject::event () from /usr/qt/3/lib/libqt-mt.so.3 #54 0x43a86cac in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3 #55 0x439ee86a in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 #56 0x439ef7c8 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #57 0xb785de82 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4 #58 0x4398a639 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3 #59 0x43989b30 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3 #60 0x4399d8ba in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 #61 0x43a050b0 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 #62 0x43a04fb6 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 #63 0x439ee1bf in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 #64 0x44af8c7f in kdemain () from /usr/kde/3.5/lib/libkdeinit_konqueror.so #65 0x4327287f in __libc_start_main () from /lib/libc.so.6 #66 0x08048691 in ?? () (I hope this isn't a gcc4 bug...) This often happens when dragging other nodes, too - but not as reliably. While I'm at it, expect a few more crash reports soon :)
Nah, no gcc bug, just the tree viewer fails to handle DOM exceptions.
*** Bug 122128 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 110947 ***