projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6470f50
)
[project @ 2005-11-08 10:44:22 by simonmar]
author
simonmar
<unknown>
Tue, 8 Nov 2005 10:44:22 +0000
(10:44 +0000)
committer
simonmar
<unknown>
Tue, 8 Nov 2005 10:44:22 +0000
(10:44 +0000)
raiseAsync: fix bug that can cause a scavenge_stack panic for a thread
that has just been killed.
ghc/rts/Schedule.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Schedule.c
b/ghc/rts/Schedule.c
index
93a64d8
..
35e87e0
100644
(file)
--- a/
ghc/rts/Schedule.c
+++ b/
ghc/rts/Schedule.c
@@
-3802,9
+3802,8
@@
raiseAsync_(Capability *cap, StgTSO *tso, StgClosure *exception,
case STOP_FRAME:
// We've stripped the entire stack, the thread is now dead.
- sp += sizeofW(StgStopFrame);
tso->what_next = ThreadKilled;
- tso->sp = sp;
+ tso->sp = frame + sizeofW(StgStopFrame);
return;
default: