public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug rust/29272] New: regression: previously OK rust tests crash with SIGILL/SEGV/ABRT on Debian armhf
@ 2022-06-21  9:42 infinity0 at pwned dot gg
  2022-06-21  9:56 ` [Bug rust/29272] " infinity0 at pwned dot gg
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: infinity0 at pwned dot gg @ 2022-06-21  9:42 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29272
           Summary: regression: previously OK rust tests crash with
                    SIGILL/SEGV/ABRT on Debian armhf
           Product: gdb
           Version: 11.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rust
          Assignee: unassigned at sourceware dot org
          Reporter: infinity0 at pwned dot gg
  Target Milestone: ---

Created attachment 14158
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14158&action=edit
rustc debuginfo test sample #1

1. Compile the attached test file `rustc -g associated-types.rs`.
2. Run `gdb -x dbg.script ./associated-types`, dbg.script as follows:

~~~~
set charset UTF-8
show version
add-auto-load-safe-path /home/infinity0/rustc/./src/etc
set print pretty off
directory /home/infinity0/rustc/./src/etc
file
/home/infinity0/rustc/build/armv7-unknown-linux-gnueabihf/test/debuginfo/associated-types.gdb/a
set language rust
break 'associated-types.rs':111
break 'associated-types.rs':118
break 'associated-types.rs':122
break 'associated-types.rs':130
break 'associated-types.rs':137
break 'associated-types.rs':140
run
print arg
continue
print inferred
print explicitly
continue
print arg
continue
print arg
continue
print a
print b
continue
print a
print b
continue
quit
~~~~

This works for all rustc versions (I was able to test 1.13 - 1.59) on gdb 10
but fails with SIGILL on gdb 11.2 armhf Debian.

Other rustc debuginfo tests fail with other signals, SIGSEGV, SIGABRT, etc.
More specific details here: https://github.com/rust-lang/rust/issues/96983

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

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

end of thread, other threads:[~2022-11-11 12:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21  9:42 [Bug rust/29272] New: regression: previously OK rust tests crash with SIGILL/SEGV/ABRT on Debian armhf infinity0 at pwned dot gg
2022-06-21  9:56 ` [Bug rust/29272] " infinity0 at pwned dot gg
2022-06-23 11:02 ` infinity0 at pwned dot gg
2022-06-23 11:10 ` infinity0 at pwned dot gg
2022-10-21 10:54 ` luis.machado at arm dot com
2022-10-21 10:54 ` luis.machado at arm dot com
2022-10-25 13:03 ` luis.machado at arm dot com
2022-10-31 10:16 ` luis.machado at arm dot com
2022-11-11  9:27 ` [Bug gdb/29272] " luis.machado at arm dot com
2022-11-11 12:47 ` cvs-commit at gcc dot gnu.org
2022-11-11 12:48 ` luis.machado at arm dot com

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