Commit a094aa7d authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

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: default avatarSergei Trofimovich <slyfox@gentoo.org>
parent 74615f41
...@@ -473,7 +473,7 @@ run_thread: ...@@ -473,7 +473,7 @@ run_thread:
break; break;
default: default:
barf("schedule: invalid what_next field"); barf("schedule: invalid prev_what_next=%u field", prev_what_next);
} }
cap->in_haskell = false; cap->in_haskell = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment