mgarvin at panix dot com
2018-09-12 13:30:44 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23639
Bug ID: 23639
Summary: QtCreator stall and timeout after 40 seconds due to
GDB
Product: gdb
Version: 8.2.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: mgarvin at panix dot com
Target Milestone: ---
Environment: Tested with QtCreator (two versions), GCC and Clang++, OpenCV
Symptoms: After a breakpoint is set (anywhere within a certain range of code
statements), QtCreator breaks correctly at the breakpoint, but when 'Continue'
button is pressed, QtCreator relinquishes focus to GDB, which is apparently
stalled. QtCreator detects this, and after 40 seconds, affords the opportunity
to continue or abort GDB. If continued, GDB never returns.
This was first encountered with GDB v7.11, so a new version was compiled and
installed (v8.2). Also, in an attempt to figure this out, QtCreator was
updated to latest. GCC was switched to Clang++.
The latter change initially seemed to fix the problem, since breakpoints set in
the original locations no longer exhibited the error. But the problem had
evidently just shifted, and breakpoints set at a different spot in the code now
exhibit the same behavior.
This does seem like a bug in GDB, or at least in the way that it is failing to
execute certain stretches of code properly. And again, this has shifted, so
it's not as if certain bits of code have triggered it; it seems
position-sensitive.
In all cases, executing the code without setting breakpoints shows no
functional problems. The code itself behaves as expected. Simply setting a
breakpoint and then continuing execution afterward seems to trigger this.
Bug ID: 23639
Summary: QtCreator stall and timeout after 40 seconds due to
GDB
Product: gdb
Version: 8.2.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: mgarvin at panix dot com
Target Milestone: ---
Environment: Tested with QtCreator (two versions), GCC and Clang++, OpenCV
Symptoms: After a breakpoint is set (anywhere within a certain range of code
statements), QtCreator breaks correctly at the breakpoint, but when 'Continue'
button is pressed, QtCreator relinquishes focus to GDB, which is apparently
stalled. QtCreator detects this, and after 40 seconds, affords the opportunity
to continue or abort GDB. If continued, GDB never returns.
This was first encountered with GDB v7.11, so a new version was compiled and
installed (v8.2). Also, in an attempt to figure this out, QtCreator was
updated to latest. GCC was switched to Clang++.
The latter change initially seemed to fix the problem, since breakpoints set in
the original locations no longer exhibited the error. But the problem had
evidently just shifted, and breakpoints set at a different spot in the code now
exhibit the same behavior.
This does seem like a bug in GDB, or at least in the way that it is failing to
execute certain stretches of code properly. And again, this has shifted, so
it's not as if certain bits of code have triggered it; it seems
position-sensitive.
In all cases, executing the code without setting breakpoints shows no
functional problems. The code itself behaves as expected. Simply setting a
breakpoint and then continuing execution afterward seems to trigger this.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.