[ ghc-Bugs-1174893 ] ghc-6.4 crashes on windows 2000

SourceForge.net noreply at sourceforge.net
Mon Apr 4 06:46:25 EDT 2005


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

Category: Compiler
Group: 6.4
>Status: Closed
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 ariep at xs4all.nl if you need to
know anything else.



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

>Comment By: Simon Marlow (simonmar)
Date: 2005-04-04 10:46

Message:
Logged In: YES 
user_id=48280

I strongly suspect hardware failure.  I'll close the bug for
now, if you find that the crash is not hardware failure then
we can re-open it.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2005-04-01 19: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
ariep at xs4all.nl

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1174893&group_id=8032



More information about the Glasgow-haskell-bugs mailing list