Bugs item #1174893, was opened at 2005-04-01 08:19
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1174893&group_id=8032

Category: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc-6.4 crashes on windows 2000

Initial Comment:
Today I installed ghc-6.4 (binary) on windows 2000.

I tried to compile my webserver. It consists of very
basic code and uses no fancy features (although I need
to give -fglasgow-exts for some empty data declarations
etc.). Under linux (mandrake 10.1), ghc 6.4 (also a
binary) compiles my webserver just fine.

Under windows, however, ghc crashes 90% of the runs,
giving various scary error messages, such as:

***
ghc.exe: internal error: scavenge:
unimplemented/strange closure type 44304 @ 01F6137C
***
ghc.exe - Application Error

The exception Illegal Instruction
An attempt was made to execute an illegal instruction.
(0x....) occurred in the application at location 0x.....
***
...
HTTP.o(.data+0x6830):fake: undefined reference to
`TextziParserCombinatorziParsecziPrim_many_closure'
HTTP.o(.data+0x6834):fake: undefined reference to
`TextziParserCombinatorziParsecziPrim_zdfMonadGenParser_closure'
HTTP.o(.data+0x6838):fake: undefined reference to
`TextziParserCombinatorziParsecziChar_char_closure'
E:/prog/haskell/ghc-6.4/libHSrts.a(Main.o)(.text+0x87):Main.c:
undefined reference to `__stginit_ZCMain'
E:/prog/haskell/ghc-6.4/libHSrts.a(Main.o)(.text+0xa1):Main.c:
undefined reference to `ZCMain_main_closure'
***

After ~20 tries, the program finally compiled and seems
to run ok. The crashes seem to occur regardless of
optimisation flags.

Please contact me at [EMAIL PROTECTED] if you need to
know anything else.



----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-04-01 11:58

Message:
Logged In: NO 

I just recompiled under linux, and got several errors there
too: segmentation faults, assembler errors, "internal error:
scavenge: unimplemented/strange closure type 0", etc.
This makes me suspect that the crashes are due to a hardware
error.

Arie Peterson
[EMAIL PROTECTED]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1174893&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to