public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28906] New: GDB debugger hangs after step call
@ 2022-02-18 14:07 aakash0641 at gmail dot com
2022-02-18 14:07 ` [Bug c++/28906] " aakash0641 at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: aakash0641 at gmail dot com @ 2022-02-18 14:07 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
Bug ID: 28906
Summary: GDB debugger hangs after step call
Product: gdb
Version: 9.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: aakash0641 at gmail dot com
Target Milestone: ---
The bug and details to produce are in the following link:
https://github.com/microsoft/vscode-cpptools/issues/8776#issuecomment-1043482104
GDB debugger hangs on the step call (using F5 or F10 or F11).
Repro steps:
Check out https://github.com/whoenig/libMultiRobotPlanning
Install dependencies (see InstallPackagesUbuntu as an example.
Add -g to CMAKE_CXX_FLAGS in CMakeLists.txt
Build as described in README
Debug with just GDB
gdb ecbs_ta
break next_best_assignment.hpp:53
r -i ../benchmark/8x8_obst12/map_8by8_obst12_agents1_ex0.yaml -o
../ofile_1.yaml
continue
step
It will hang after the step call.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28906] GDB debugger hangs after step call
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
@ 2022-02-18 14:07 ` aakash0641 at gmail dot com
2022-02-18 14:10 ` aakash0641 at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: aakash0641 at gmail dot com @ 2022-02-18 14:07 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
Aakash <aakash0641 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
Severity|normal |critical
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28906] GDB debugger hangs after step call
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
2022-02-18 14:07 ` [Bug c++/28906] " aakash0641 at gmail dot com
@ 2022-02-18 14:10 ` aakash0641 at gmail dot com
2022-02-18 14:20 ` simark at simark dot ca
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: aakash0641 at gmail dot com @ 2022-02-18 14:10 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
Aakash <aakash0641 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aakash0641 at gmail dot com
URL| |https://github.com/microsof
| |t/vscode-cpptools/issues/87
| |76#issuecomment-1043874187
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28906] GDB debugger hangs after step call
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
2022-02-18 14:07 ` [Bug c++/28906] " aakash0641 at gmail dot com
2022-02-18 14:10 ` aakash0641 at gmail dot com
@ 2022-02-18 14:20 ` simark at simark dot ca
2022-02-18 15:18 ` aakash0641 at gmail dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: simark at simark dot ca @ 2022-02-18 14:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
Simon Marchi <simark at simark dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simark at simark dot ca
--- Comment #1 from Simon Marchi <simark at simark dot ca> ---
Hi,
Can you please test with GDB master, or at least the latest released version
(11.2)?
When you do so, please enable "set debug infrun 1" just before your step. It
will help whoever investigates this bug.
Simon
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28906] GDB debugger hangs after step call
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
` (2 preceding siblings ...)
2022-02-18 14:20 ` simark at simark dot ca
@ 2022-02-18 15:18 ` aakash0641 at gmail dot com
2022-02-18 15:23 ` simark at simark dot ca
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: aakash0641 at gmail dot com @ 2022-02-18 15:18 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
--- Comment #2 from Aakash <aakash0641 at gmail dot com> ---
(In reply to Simon Marchi from comment #1)
> Hi,
>
> Can you please test with GDB master, or at least the latest released version
> (11.2)?
>
> When you do so, please enable "set debug infrun 1" just before your step.
> It will help whoever investigates this bug.
>
> Simon
Hi Simon,
I tried upgrading GDB, but even after unistalling and reinstalling GDB, I land
up at version 9.2. My friend told me that 9.2 is the latest version for Ubuntu
20.04. So, any clue whether I will be able to upgrade GDB further ? Also, what
is GDB master ? When I searched for GDB's versions, I saw 11.1 but not 11.2.
Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28906] GDB debugger hangs after step call
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
` (3 preceding siblings ...)
2022-02-18 15:18 ` aakash0641 at gmail dot com
@ 2022-02-18 15:23 ` simark at simark dot ca
2022-02-18 16:16 ` aakash0641 at gmail dot com
2022-02-18 16:26 ` simark at simark dot ca
6 siblings, 0 replies; 8+ messages in thread
From: simark at simark dot ca @ 2022-02-18 15:23 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
--- Comment #3 from Simon Marchi <simark at simark dot ca> ---
Sorry, "master" refers to the latest development version, the master branch in
the git repository:
https://sourceware.org/git/?p=binutils-gdb.git;a=summary
GDB 11.2 is available as a release tarball here:
https://sourceware.org/pub/gdb/releases/?C=M;O=D
In either case, you would have to build it yourself. It's not terribly
complicated, normally this should be enough to get something working:
./configure --prefix=/tmp/gdb-install
make all-gdb
cd gdb
make install
That will give you a GDB in /tmp/gdb-install/bin/gdb
You will probably need to install some dependencies first, on Ubuntu you can do
that with "apt-get build-dep gdb".
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28906] GDB debugger hangs after step call
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
` (4 preceding siblings ...)
2022-02-18 15:23 ` simark at simark dot ca
@ 2022-02-18 16:16 ` aakash0641 at gmail dot com
2022-02-18 16:26 ` simark at simark dot ca
6 siblings, 0 replies; 8+ messages in thread
From: aakash0641 at gmail dot com @ 2022-02-18 16:16 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
--- Comment #4 from Aakash <aakash0641 at gmail dot com> ---
(In reply to Simon Marchi from comment #3)
> Sorry, "master" refers to the latest development version, the master branch
> in the git repository:
>
> https://sourceware.org/git/?p=binutils-gdb.git;a=summary
>
> GDB 11.2 is available as a release tarball here:
>
> https://sourceware.org/pub/gdb/releases/?C=M;O=D
>
> In either case, you would have to build it yourself. It's not terribly
> complicated, normally this should be enough to get something working:
>
> ./configure --prefix=/tmp/gdb-install
> make all-gdb
> cd gdb
> make install
>
> That will give you a GDB in /tmp/gdb-install/bin/gdb
>
> You will probably need to install some dependencies first, on Ubuntu you can
> do that with "apt-get build-dep gdb".
Hey, the issue is resolved in version 11.2. Thank you very much.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28906] GDB debugger hangs after step call
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
` (5 preceding siblings ...)
2022-02-18 16:16 ` aakash0641 at gmail dot com
@ 2022-02-18 16:26 ` simark at simark dot ca
6 siblings, 0 replies; 8+ messages in thread
From: simark at simark dot ca @ 2022-02-18 16:26 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28906
Simon Marchi <simark at simark dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Simon Marchi <simark at simark dot ca> ---
Good news, marking as resolved then, thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-02-18 16:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 14:07 [Bug c++/28906] New: GDB debugger hangs after step call aakash0641 at gmail dot com
2022-02-18 14:07 ` [Bug c++/28906] " aakash0641 at gmail dot com
2022-02-18 14:10 ` aakash0641 at gmail dot com
2022-02-18 14:20 ` simark at simark dot ca
2022-02-18 15:18 ` aakash0641 at gmail dot com
2022-02-18 15:23 ` simark at simark dot ca
2022-02-18 16:16 ` aakash0641 at gmail dot com
2022-02-18 16:26 ` simark at simark dot ca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).