Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/gen PR/55715: pmax testbed panics with "asser...



details:   https://anonhg.NetBSD.org/src/rev/0776db16425a
branches:  trunk
changeset: 949373:0776db16425a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 11 07:17:49 2021 +0000

description:
PR/55715: pmax testbed panics with "assertion "asid == curcpu()->ci_pmap_asid_cur" failed"

It's GXemul that has the bug! Unfortunately, there's no way (currently) to
detect if we're running under GXemul emulation, so disable for all mips
for now.  Hopefully, GXemul will get fixed soon.

diffstat:

 tests/lib/libc/gen/t_siginfo.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r db3008ab87b5 -r 0776db16425a tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c    Mon Jan 11 06:12:43 2021 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c    Mon Jan 11 07:17:49 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.43 2021/01/10 20:46:14 skrll Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.44 2021/01/11 07:17:49 skrll Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -482,9 +482,9 @@
 #endif
 
 #if defined(__mips__)
-       if (isQEMU())
-               atf_tc_expect_fail("QEMU fails to trap unaligned accesses with "
-                   "correct ENTRYHI");
+       /* no way of detecting if on GXemul, so disable everywhere for now */
+       atf_tc_expect_fail("GXemul fails to trap unaligned accesses with "
+           "correct ENTRYHI");
 #endif
 
        sa.sa_flags = SA_SIGINFO;



Home | Main Index | Thread Index | Old Index