Bug 409287

Summary: Crash when removing breakpoint
Product: [Applications] kdevelop Reporter: Rolf Eike Beer <kde>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: crash CC: niko.sams
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rolf Eike Beer 2019-06-28 20:15:30 UTC
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
Comment 1 Justin Zobel 2022-09-23 02:22:37 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-08 04:53:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-10-23 05:01:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!