[GHC] #641: Cross platform repeatable RTS
GHC
trac at galois.com
Tue Jan 3 10:09:03 EST 2006
#641: Cross platform repeatable RTS
---------------------------------+------------------------------------------
Reporter: cgibbard at gmail.com | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 6.4.1
Severity: normal | Resolution: fixed
Keywords: | Os: Linux
Difficulty: Unknown | Architecture: x86
---------------------------------+------------------------------------------
Changes (by simonmar):
* resolution: => fixed
* status: new => closed
Old description:
> This bug seems to be reproducible on Linux, Windows, and OpenBSD, at
> least.
>
> In the included package, run ./build.sh, which will build and run a
> program as follows:
> ghc -lz -threaded --make unstuff.hs -o unstuff
> ./unstuff trace.dat
>
> The program forks a lot of OS threads. After several seconds of running,
> it dies with:
> ---------------------
> unstuff: user error (ORANGE ALERT: 0s, 4s, SrvServerInfo, ix1: 6, size:
> 49722)
>
> unstuff: internal error: scavenge_stack: weird activation record found on
> stack: 64384
> Please report this as a bug to glasgow-haskell-bugs at haskell.org,
> or http://www.sourceforge.net/projects/ghc/
> ---------------------
>
> The first message is simply an error printed by the program reporting
> that it took too long to compute a result.
New description:
This bug seems to be reproducible on Linux, Windows, and OpenBSD, at
least.
In the included package, run ./build.sh, which will build and run a
program as follows:
{{{
ghc -lz -threaded --make unstuff.hs -o unstuff
./unstuff trace.dat
}}}
The program forks a lot of OS threads. After several seconds of running,
it dies with:
{{{
unstuff: user error (ORANGE ALERT: 0s, 4s, SrvServerInfo, ix1: 6, size:
49722)
unstuff: internal error: scavenge_stack: weird activation record found on
stack: 64384
Please report this as a bug to glasgow-haskell-bugs at haskell.org,
or http://www.sourceforge.net/projects/ghc/
}}}
The first message is simply an error printed by the program reporting that
it took too long to compute a result.
Comment:
Now fixed, in both HEAD and STABLE. There was a problem with the state in
which we leave the stack after a thread has been killed by an unhandled
exception.
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/641>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list