public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/17521] New: On Windows-x86_64 GDB runs into infinite loop when entering small functions generated by RUSTC/LLVM
@ 2014-10-29 15:16 michaelwoerister at posteo dot net
  2014-11-10 14:28 ` [Bug tdep/17521] " cvs-commit at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: michaelwoerister at posteo dot net @ 2014-10-29 15:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17521

            Bug ID: 17521
           Summary: On Windows-x86_64 GDB runs into infinite loop when
                    entering small functions generated by RUSTC/LLVM
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: michaelwoerister at posteo dot net

Created attachment 7861
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7861&action=edit
Source+Executable for reproducing - use 'rb tiny_func' to set breakpoint and
then 'run'

Using the GDB version coming with [1], GDB seems to get stuck when entering
some small functions generated by the Rust compiler. Sample backtraces [2] seem
to suggest that control flow never leaves the
`amd64_windows_frame_decode_insns()` function.

Attached you can find a small program for reproducing the bug. Just set a
breakpoint with `rb tiny_func` and then `run`. 

Feel free to contact me if you have any further questions.

[1]
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.1/threads-win32/seh/x86_64-4.9.1-release-win32-seh-rt_v3-rev2.7z/download

[2] https://github.com/rust-lang/rust/issues/17540#issuecomment-60264838

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-01 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-29 15:16 [Bug tdep/17521] New: On Windows-x86_64 GDB runs into infinite loop when entering small functions generated by RUSTC/LLVM michaelwoerister at posteo dot net
2014-11-10 14:28 ` [Bug tdep/17521] " cvs-commit at gcc dot gnu.org
2014-11-12  4:52 ` cvs-commit at gcc dot gnu.org
2014-11-17 17:06 ` cvs-commit at gcc dot gnu.org
2020-04-01 18:11 ` tromey at sourceware dot org

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).