public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/26991] New: FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue to a bnd violation
@ 2020-12-01 13:49 vries at gcc dot gnu.org
  2020-12-01 13:54 ` [Bug testsuite/26991] " vries at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2020-12-01 13:49 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26991
           Summary: FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue
                    to a bnd violation
           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: ---

When running test-case gdb.arch/i386-mpx-call.exp with target board unix/-m32,
I get:
...
Running
/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.arch/i386-mpx-call.exp ...
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue to a bnd violation
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd1: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd1: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd1: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd1: continue to a bnd violation (the
program exited)
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd1: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd1: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: $bnd2 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: $bnd2 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: bndstatus compare before and
after
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd2: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: $bnd3 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: $bnd3 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: bndstatus compare before and
after
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd3: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: $bnd0 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: $bnd0 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: bndstatus compare before and
after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd0: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: $bnd1 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: $bnd1 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: bndstatus compare before and
after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd1: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: $bnd2 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: $bnd2 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: bndstatus compare before and
after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd2: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: $bnd3 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: $bnd3 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: bndstatus compare before and
after
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: lower_bnd3: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: $bnd0 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: $bnd0 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: bndstatus compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: chars_up: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: bndcfgu should not change
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: bndstatus should not change
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: $bnd0 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: $bnd0 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: bndcfgu compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: bndstatus compare before and after
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: continue to a bnd violation (the
program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: access only one position
FAIL: gdb.arch/i386-mpx-call.exp: chars_low: return from the fault
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: bndcfgu should not
change
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: bndstatus should not
change
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: inferior call stopped
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: $bnd0raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: $bnd1raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: $bnd2raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: $bnd3raw
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: $bnd0 lower bound set
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: $bnd0 upper bound set
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: bndcfgu compare before
and after
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: bndstatus compare
before and after
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: continue to a bnd
violation (the program is no longer running)
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: access only one
position
FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: return from the fault
...

In more detail:
...
(gdb) PASS: gdb.arch/i386-mpx-call.exp: upper_bnd0: bndstatus compare before
and after
continue^M
Continuing.^M
(gdb) FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue to a bnd violation
p (((void *)$_siginfo._sifields._sigfault.si_addr - (void*)a))/sizeof(int) ==
1^M
$23 = 0^M
(gdb) FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: access only one position
return^M
#0  0xf7ce5e63 in __libc_start_main () from /lib/libc.so.6^M
(gdb) FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: return from the fault
....

So, for some reason the bnd violation fail to trigger, and we run to the end of
the inferior call.

When we then call return to return from the fault, we actually return from
main, and after that a lot of FAILs are generated.

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

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

end of thread, other threads:[~2020-12-11 17:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 13:49 [Bug testsuite/26991] New: FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue to a bnd violation vries at gcc dot gnu.org
2020-12-01 13:54 ` [Bug testsuite/26991] " vries at gcc dot gnu.org
2020-12-02 13:27 ` vries at gcc dot gnu.org
2020-12-02 14:37 ` vries at gcc dot gnu.org
2020-12-03 14:28 ` [Bug tdep/26991] " vries at gcc dot gnu.org
2020-12-04 12:03 ` [Bug testsuite/26991] " vries at gcc dot gnu.org
2020-12-04 14:22 ` vries at gcc dot gnu.org
2020-12-11 17:26 ` cvs-commit at gcc dot gnu.org
2020-12-11 17:29 ` 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).