Bug 376713 - KDevelop crash when GDB is connected in remote server (OpenOCD)
Summary: KDevelop crash when GDB is connected in remote server (OpenOCD)
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: 5.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2017-02-20 13:46 UTC by patrick
Modified: 2022-11-30 05:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description patrick 2017-02-20 13:46:44 UTC
https://paste.kde.org/pdv5fsgxu

When connecting GDB (arm-none-eabi-gdb) with remote server (OpenOCD) and clicking in Stop all, kdevelop crashs.
Comment 1 Kevin Funk 2017-02-20 13:51:30 UTC
Pasting backtrace inline:

"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
"No symbol table is loaded.  Use the \"file\" command."
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action

Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault.
0x00007ffff034c281 in malloc_consolidate () from /usr/lib/libc.so.6
(gdb) where
#0  0x00007ffff034c281 in malloc_consolidate () at /usr/lib/libc.so.6
#1  0x00007ffff034dd2a in _int_malloc () at /usr/lib/libc.so.6
#2  0x00007ffff034fd44 in malloc () at /usr/lib/libc.so.6
#3  0x00007ffff0fc490c in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff199b567 in  () at /usr/lib/libQt5Gui.so.5
#5  0x00007ffff1994b22 in  () at /usr/lib/libQt5Gui.so.5
#6  0x00007ffff1999bf1 in QRegion::operator+=(QRect const&) () at /usr/lib/libQt5Gui.so.5
#7  0x00007ffff1e923ec in  () at /usr/lib/libQt5Widgets.so.5
#8  0x00007ffff1e9256c in QWidgetPrivate::invalidateBuffer(QRect const&) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007ffff1ebccf4 in QWidget::destroy(bool, bool) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff1ec3657 in QWidget::~QWidget() () at /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff6b1fb20 in Sublime::IdealDockWidget::~IdealDockWidget() () at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#12 0x00007ffff6b1fb42 in Sublime::IdealDockWidget::~IdealDockWidget() () at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#13 0x00007ffff6b196f3 in Sublime::IdealController::removeView(Sublime::View*, bool) () at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#14 0x00007ffff6b0f311 in Sublime::MainWindowPrivate::aboutToRemoveToolView(Sublime::View*, Sublime::Position) ()
    at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#15 0x00007ffff6b0aed2 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<Sublime::View*, Sublime::Position>, void, void (Sublime::MainWindowPrivate::*)(Sublime::View*, Sublime::Position)>::call(void (Sublime::MainWindowPrivate::*)(Sublime::View*, Sublime::Position), Sublime::MainWindowPrivate*, void**) ()
    at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#16 0x00007ffff6b0a9cf in void QtPrivate::FunctionPointer<void (Sublime::MainWindowPrivate::*)(Sublime::View*, Sublime::Position)>::call<QtPrivate::List<Sublime::View*, Sublime::Position>, void>(void (Sublime::MainWindowPrivate::*)(Sublime::View*, Sublime::Position), Sublime::MainWindowPrivate*, void**) ()
    at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#17 0x00007ffff6b0a0c9 in QtPrivate::QSlotObject<void (Sublime::MainWindowPrivate::*)(Sublime::View*, Sublime::Position), QtPrivate::List<Sublime::View*, Sublime::Posit---Type <return> to continue, or q <return> to quit---
ion>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#18 0x00007ffff11ca0be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#19 0x00007ffff6b2570a in Sublime::Area::aboutToRemoveToolView(Sublime::View*, Sublime::Position) () at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#20 0x00007ffff6ae8e91 in Sublime::Area::removeToolView(Sublime::View*) () at /home/patrick/kde5/kde-5/lib64/libKDevPlatformSublime.so.10
#21 0x00007ffff7a4ee3d in KDevelop::UiController::removeToolView(KDevelop::IToolViewFactory*) () at /home/patrick/kde5/kde-5/lib64/libKDevPlatformShell.so.10
#22 0x00007fffb8a3c7d0 in KDevMI::GDB::CppDebuggerPlugin::unloadToolviews() () at /home/patrick/kde5/kde-5/lib64/plugins/kdevplatform/27/kdevgdb.so
#23 0x00007fffb8a45f1a in KDevMI::GDB::DebugSession::~DebugSession() () at /home/patrick/kde5/kde-5/lib64/plugins/kdevplatform/27/kdevgdb.so
#24 0x00007fffb8a45f42 in KDevMI::GDB::DebugSession::~DebugSession() () at /home/patrick/kde5/kde-5/lib64/plugins/kdevplatform/27/kdevgdb.so
#25 0x00007ffff11cabe0 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007ffff1e8034c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff1e87b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff119e440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#29 0x00007ffff11a0bcd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#30 0x00007ffff11f2c43 in  () at /usr/lib/libQt5Core.so.5
#31 0x00007fffe4c005a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#32 0x00007fffe4c00810 in  () at /usr/lib/libglib-2.0.so.0
#33 0x00007fffe4c008bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#34 0x00007ffff11f304f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#35 0x00007ffff119c89a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#36 0x00007ffff11a4de4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#37 0x000000000040edeb in main ()
Comment 2 Kevin Funk 2017-02-20 13:51:52 UTC
This should be fixed before the 5.1.0 release
Comment 3 Milian Wolff 2017-02-20 20:31:04 UTC
can you please report a valgrind trace?

valgrind --smc-check=all-non-file --track-origins=yes kdevelop
Comment 4 Justin Zobel 2022-10-31 04:31:47 UTC
Thank you for reporting this bug 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 issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-15 05:15:24 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 6 Bug Janitor Service 2022-11-30 05:16:52 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!