https://bugs.kde.org/show_bug.cgi?id=409287
Bug ID: 409287 Summary: Crash when removing breakpoint Product: kdevelop Version: git master Platform: Other OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: CPP Debugger Assignee: kdevelop-bugs-n...@kde.org Reporter: k...@opensource.sf-tec.de CC: niko.s...@gmail.com Target Milestone: --- I was debugging an application, then I hit my single breakpoint. I tried to remove it using Ctrl-Alt-B when it crashed: #6 0x00007f633a6f1563 in QHashData::nextNode(QHashData::Node*) () from /usr/lib64/libQt5Core.so.5 #7 0x00007f633a08e537 in QHash<int, KTextEditor::Mark*>::const_iterator::operator++ (this=0x7fff2b67a618) at /usr/include/qt5/QtCore/qhash.h:395 #8 0x00007f633a08c741 in KDevelop::BreakpointModel::updateMarks (this=0x1abc210) at /home/ebeer/repos/upstream/KDE/kdevelop/kdevplatform/debugger/breakpoint/breakpointmodel.cpp:493 #9 0x00007f633a08b476 in KDevelop::BreakpointModel::removeRows (this=0x1abc210, row=0, count=1, parent=...) at /home/ebeer/repos/upstream/KDE/kdevelop/kdevplatform/debugger/breakpoint/breakpointmodel.cpp:277 #10 0x00007f633a0834ee in QAbstractItemModel::removeRow (this=0x1abc210, arow=0, aparent=...) at /usr/include/qt5/QtCore/qabstractitemmodel.h:371 #11 0x00007f633a088e4b in KDevelop::Breakpoint::setDeleted (this=0x1dd8d010) at /home/ebeer/repos/upstream/KDE/kdevelop/kdevplatform/debugger/breakpoint/breakpoint.cpp:213 #12 0x00007f633a08befc in KDevelop::BreakpointModel::toggleBreakpoint (this=0x1abc210, url=..., cursor=...) at /home/ebeer/repos/upstream/KDE/kdevelop/kdevplatform/debugger/breakpoint/breakpointmodel.cpp:419 #13 0x00007f633e724ac7 in KDevelop::DebugController::toggleBreakpoint (this=0x1acb3f0) at /home/ebeer/repos/upstream/KDE/kdevelop/kdevplatform/shell/debugcontroller.cpp:554 #14 0x00007f633e72652f in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KDevelop::DebugController::*)()>::call(void (KDevelop::DebugController::*)(), KDevelop::DebugController*, void**) (f=(void (KDevelop::DebugController::*)(KDevelop::DebugController * const)) 0x7f633e724a0c <KDevelop::DebugController::toggleBreakpoint()>, o=0x1acb3f0, arg=0x7fff2b67aa80) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #15 0x00007f633e7261b4 in QtPrivate::FunctionPointer<void (KDevelop::DebugController::*)()>::call<QtPrivate::List<>, void>(void (KDevelop::DebugController::*)(), KDevelop::DebugController*, void**) (f=(void (KDevelop::DebugController::*)(KDevelop::DebugController * const)) 0x7f633e724a0c <KDevelop::DebugController::toggleBreakpoint()>, o=0x1acb3f0, arg=0x7fff2b67aa80) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #16 0x00007f633e725cc6 in QtPrivate::QSlotObject<void (KDevelop::DebugController::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1b7c920, r=0x1acb3f0, a=0x7fff2b67aa80, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:414 #17 0x00007f633a886b78 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #18 0x00007f633b678812 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5 #19 0x00007f633b67ae52 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5 #20 0x00007f633b67b6ef in QAction::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #21 0x00007f633b67ec32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #22 0x00007f633b687ea0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #23 0x00007f633a85be92 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #24 0x00007f633af7739e in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib64/libQt5Gui.so.5 #25 0x00007f633af7747b in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib64/libQt5Gui.so.5 #26 0x00007f633af2b52e in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib64/libQt5Gui.so.5 #27 0x00007f633af4929d in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib64/libQt5Gui.so.5 #28 0x00007f633af4e9d1 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5 #29 0x00007f633af275eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5 #30 0x00007f632b8e9dda in ?? () from /usr/lib64/libQt5XcbQpa.so.5#31 0x00007f6338645b33 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f6338645dc0 in ?? () from /usr/lib64/libglib-2.0.so.0 #33 0x00007f6338645e4f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #34 0x00007f633a8b1e01 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #35 0x00007f633a85abdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #36 0x00007f633a8625c2 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #37 0x0000000000413520 in main (argc=1, argv=0x7fff2b67cdc8) at /home/ebeer/repos/upstream/KDE/kdevelop/app/main.cpp:851 -- You are receiving this mail because: You are watching all bug changes.