Ticket #2603 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Crash on Korn shell on Windows XP

Reported by: NeilMitchell Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.9
Keywords: Cc: neil.mitchell.2@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Running GHC HEAD in a Korn Shell on Windows XP gives:

[C:/Neil] 21$ ghc
ghc: panic! (the 'impossible' happened)
  (GHC version 6.9.20080916 for i386-unknown-mingw32):
        can't decompose ghc.exe path: "C:\\ghc\\ghc-6.9.20080916\\bin\\ghc.EXE"

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

The problem is that Korn has resolved ghc as ghc.EXE, which matches ghc.exe because windows is case insensitive when looking up files. This causes an error in SysTools?.lhs. The attached patch fixes this issue. I have not validated.

Attachments

korn_shell.patch Download (9.9 KB) - added by NeilMitchell 5 years ago.

Change History

Changed 5 years ago by NeilMitchell

Changed 5 years ago by NeilMitchell

  • cc neil.mitchell.2@… added

Changed 5 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to fixed

Applied, thanks!

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.