public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/32407] New: [gdb/testsuite] SIGILL in gdb.base/valgrind-*.exp test-cases
@ 2024-12-03  7:17 vries at gcc dot gnu.org
  2024-12-03  7:23 ` [Bug testsuite/32407] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2024-12-03  7:17 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 32407
           Summary: [gdb/testsuite] SIGILL in gdb.base/valgrind-*.exp
                    test-cases
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

On i586, I'm running into a SIGILL which causes a FAIL:
...
(gdb) continue^M
Continuing.^M
vex x86->IR: unhandled instruction bytes: 0x2E 0x8D 0x74 0x26^M
==1543== valgrind: Unrecognised instruction at address 0x40173db.^M
==1543==    at 0x40173DB: __GI___tunables_init (in /lib/ld-2.31.so)^M
==1543==    by 0x4019608: _dl_sysdep_start (in /lib/ld-2.31.so)^M
==1543==    by 0x400178C: _dl_start (in /lib/ld-2.31.so)^M
==1543==    by 0x4000E8A: ??? (in /lib/ld-2.31.so)^M
  ...
Program received signal SIGILL, Illegal instruction.^M
0x040173db in __GI___tunables_init () from /lib/ld-linux.so.2^M
(gdb) PASS: gdb.base/valgrind-bt.exp: continue (false warning)
set height 0^M
(gdb) PASS: gdb.base/valgrind-bt.exp: set height 0
set width 0^M
(gdb) PASS: gdb.base/valgrind-bt.exp: set width 0
bt^M
#0  0x040173db in __GI___tunables_init () from /lib/ld-linux.so.2^M
#1  0x04019609 in _dl_sysdep_start () from /lib/ld-linux.so.2^M
#2  0x0400178d in _dl_start () from /lib/ld-linux.so.2^M
#3  0x04000e8b in _start () from /lib/ld-linux.so.2^M
(gdb) FAIL: gdb.base/valgrind-bt.exp: bt
...

This is with leap 15.5 and 15.6, doesn't trigger with tumbleweed.

Likely a problem in valgrind that has been fixed in a newer version.

Doesn't look like there's anything wrong with gdb, so no FAILs should be
produced.

Likewise in all other valgrind test-cases.

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

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

* [Bug testsuite/32407] [gdb/testsuite] SIGILL in gdb.base/valgrind-*.exp test-cases
  2024-12-03  7:17 [Bug testsuite/32407] New: [gdb/testsuite] SIGILL in gdb.base/valgrind-*.exp test-cases vries at gcc dot gnu.org
@ 2024-12-03  7:23 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2024-12-03  7:23 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 15812
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15812&action=edit
gdb.log

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

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

end of thread, other threads:[~2024-12-03  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-03  7:17 [Bug testsuite/32407] New: [gdb/testsuite] SIGILL in gdb.base/valgrind-*.exp test-cases vries at gcc dot gnu.org
2024-12-03  7:23 ` [Bug testsuite/32407] " vries at gcc dot gnu.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).