Hello,

I have discovered that when using forkOS and exitWith that I get the following error: hud: internal error: scavenge_stack: weird activation record found on stack: 0
    Please report this as a bug to glasgow-haskell-bugs@haskell.org,
    or http://www.sourceforge.net/projects/ghc/

I'm using OSX 10.4, and ghc 6.4 from darwinports.

Thanks,
Jason

I have attached a relatively simple program that demonstrates the crash, here are steps to reproduce the crash:
$ make
ghc -threaded --make Hud.hs -o hud
Chasing modules from: Hud.hs
Compiling Main             ( Hud.hs, Hud.o )
Linking ...
ghc -threaded --make Connector.hs -o connector
Chasing modules from: Connector.hs
Compiling Main             ( Connector.hs, Connector.o )
Linking ...
[01:20 [EMAIL PROTECTED]/local-data/hud]
$ hud 2000 &
[1] 10441
[01:20 [EMAIL PROTECTED]/local-data/hud]
$ telnet localhost 2000
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Accepted on: {handle: <socket: 7>}
changing buffering on: {handle: <socket: 7>}
Connection from localhost on: ThreadId 4
quit
QuitEvent
Connection closed by foreign host.
[01:20 [EMAIL PROTECTED]/local-data/hud]
$ hud: exit: ExitSuccess


[01:20 [EMAIL PROTECTED]/local-data/hud]
$ telnet localhost 2000
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Accepted on: {handle: <socket: 7>}
changing buffering on: {handle: <socket: 7>}
Connection from localhost on: ThreadId 5
hud: internal error: scavenge_stack: weird activation record found on stack: 0
    Please report this as a bug to glasgow-haskell-bugs@haskell.org,
    or http://www.sourceforge.net/projects/ghc/
Connection closed by foreign host.
[1]+  Exit 254                hud 2000

Attachment: hud.tar.gz
Description: GNU Zip compressed data

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to