diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-04-01 11:58:55 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-04-01 11:58:55 +0100 |
commit | a094aa7dcf92ecb7ddbb82128e279d434f5835ba (patch) | |
tree | b1fc3c37d02eb9a1a65506a64e65f679c75e1d75 /rts | |
parent | 74615f412ad3de2910a156ff494bfe5497fada7e (diff) | |
download | haskell-a094aa7dcf92ecb7ddbb82128e279d434f5835ba.tar.gz |
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@gentoo.org>
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c index a4d0c1da80..b77e7a21ef 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; |