[commit: ghc] master: rts: print incorrect prev_what_next (a094aa7)
git at git.haskell.org
git at git.haskell.org
Sat Apr 1 11:01:51 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a094aa7dcf92ecb7ddbb82128e279d434f5835ba/ghc
>---------------------------------------------------------------
commit a094aa7dcf92ecb7ddbb82128e279d434f5835ba
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date: Sat Apr 1 11:58:55 2017 +0100
rts: print incorrect prev_what_next
Moritz Angermann reports mysterious rts crash:
A: link: internal error: schedule: invalid what_next field
A: (GHC version 8.3.20170321 for arm_none_linux_android)
This change prints actual prev_what_next value.
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
>---------------------------------------------------------------
a094aa7dcf92ecb7ddbb82128e279d434f5835ba
rts/Schedule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rts/Schedule.c b/rts/Schedule.c
index a4d0c1d..b77e7a2 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -473,7 +473,7 @@ run_thread:
break;
default:
- barf("schedule: invalid what_next field");
+ barf("schedule: invalid prev_what_next=%u field", prev_what_next);
}
cap->in_haskell = false;
More information about the ghc-commits
mailing list