From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5FA8A3857C46; Tue, 1 Dec 2020 13:49:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FA8A3857C46 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/26991] New: FAIL: gdb.arch/i386-mpx-call.exp: upper_bnd0: continue to a bnd violation Date: Tue, 01 Dec 2020 13:49:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2020 13:49:44 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26991 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/-m= 32, 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 af= ter 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 af= ter 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 af= ter 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 af= ter 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 af= ter 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 af= ter 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 af= ter 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 aft= er FAIL: gdb.arch/i386-mpx-call.exp: chars_low: bndstatus compare before and a= fter FAIL: gdb.arch/i386-mpx-call.exp: chars_low: continue to a bnd violation (t= he 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 stopp= ed 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 s= et FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: $bnd0 upper bound s= et FAIL: gdb.arch/i386-mpx-call.exp: chars_low_adhoc_parm: bndcfgu compare bef= ore 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 fau= lt ... 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 viola= tion p (((void *)$_siginfo._sifields._sigfault.si_addr - (void*)a))/sizeof(int) = =3D=3D 1^M $23 =3D 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 en= d 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=