internal error: scavenge_stack: weird activation record found on stack: 0

Jason Dagit dagit at codersbase.com
Sun Aug 21 16:04:15 EDT 2005


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 at 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 PM][dagit at lychee~/local-data/hud]
$ hud 2000 &
[1] 10441
[01:20 PM][dagit at lychee~/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 PM][dagit at lychee~/local-data/hud]
$ hud: exit: ExitSuccess


[01:20 PM][dagit at lychee~/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 at haskell.org,
     or http://www.sourceforge.net/projects/ghc/
Connection closed by foreign host.
[1]+  Exit 254                hud 2000

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hud.tar.gz
Type: application/x-gzip
Size: 2603 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20050821/d0ca4912/hud.tar.bin


More information about the Glasgow-haskell-bugs mailing list