[Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/26304] New: info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26304

            Bug ID: 26304
           Summary: info registers command crashes for x86_64-w64-mingw32
                    target, windows 10 64b OS
           Product: gdb
           Version: 8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: edwinvp at xs4all dot nl
  Target Milestone: ---

Steps to reproduce:

- set up 64-bit MinGW environment
- compile and link a simple hello world c++ console application with gcc (also
versioned 8.1.0)
- start debugging EXE file with gdb
- set breakpoint for instance on the main function (b main)
- run info registers command (i r)
- Debugger now unexpectedly quits and returns you to the command line.

Note: the 32-bit version of gdb doesn't do this, only 64-bit.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26304

--- Comment #1 from E.van Putten <edwinvp at xs4all dot nl> ---
Similar bug seems to be posted here:

https://sourceforge.net/p/mingw-w64/bugs/731/

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

Sourceware - gdb-prs mailing list
In reply to this post by Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26304

--- Comment #2 from E.van Putten <edwinvp at xs4all dot nl> ---
The steps to reproduce may have failed to mention that the intention is to
first run the app until it actually hits the breakpoint. Then run the "info
registers" command.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

Sourceware - gdb-prs mailing list
In reply to this post by Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26304

Simon Marchi <simark at simark dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simark at simark dot ca

--- Comment #3 from Simon Marchi <simark at simark dot ca> ---
Thanks for the report.  Would it be possible for you to build GDB from the
master branch and confirm the bug is still there?

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

Sourceware - gdb-prs mailing list
In reply to this post by Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26304

--- Comment #4 from E.van Putten <edwinvp at xs4all dot nl> ---
Tried to build gdb from git repo with MinGW but after several attempts with
each time different build errors it was clearly time for another strategy.

Next, tried cygwin, which conveniently offers various packaged versions of gdb
and here's the result:

8.0.1 ok
8.1.1 segfault
8.2.1 ok
8.3.1 ok
9.1 ok
9.2 ok

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

Sourceware - gdb-prs mailing list
In reply to this post by Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26304

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> ---
So it looks like it was a regression in 8.1.1, later fixed.  I've tried on a
somewhat recent build of GDB on mingw-w64 I have lying around
(10.0.50.20200514-git) and I can't reproduce.

I'll close this bug, but if you ever manage to reproduce it on a more recent
version (>= 10), please re-open, or open a new bug.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/26304] info registers command crashes for x86_64-w64-mingw32 target, windows 10 64b OS

Sourceware - gdb-prs mailing list
In reply to this post by Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26304

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE
                 CC|                            |ssbssa at sourceware dot org

--- Comment #6 from Hannes Domani <ssbssa at sourceware dot org> ---


*** This bug has been marked as a duplicate of bug 22854 ***

--
You are receiving this mail because:
You are on the CC list for the bug.