
#14496: Invoking GHC 8.2.1 executable anywhere results in access violation on Windows 10 -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: GHC doesn't work | Unknown/Multiple at all | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): Replying to [comment:1 Phyx-]:
Could you use https://docs.microsoft.com/en- us/sysinternals/downloads/procdump to generate a crash dump for me? using `-t -ma`.
Here's the PowerShell output: {{{ $ .\Procdump\procdump64.exe -t -ma -e 1 -x . C:\Users\RyanGlScott\Software\ghc-8.2.1\bin\ghc.exe ProcDump v9.0 - Sysinternals process dump utility Copyright (C) 2009-2017 Mark Russinovich and Andrew Richards Sysinternals - www.sysinternals.com Process: ghc.exe (9372) CPU threshold: n/a Performance counter: n/a Commit threshold: n/a Threshold seconds: n/a Hung window check: Disabled Log debug strings: Disabled Exception monitor: First Chance+Unhandled Exception filter: [Includes] * [Excludes] Terminate monitor: Enabled Cloning type: Disabled Concurrent limit: n/a Avoid outage: n/a Number of dumps: 1 Dump folder: .\ Dump filename/mask: PROCESSNAME_YYMMDD_HHMMSS Queue to WER: Disabled Kill after dump: Disabled Press Ctrl-C to end monitoring without terminating the process. [07:35:22] Exception: C0000005.ACCESS_VIOLATION [07:35:22] Dump 1 initiated: .\ghc.exe_171121_073522.dmp [07:35:24] Dump 1 writing: Estimated dump file size is 124 MB. [07:35:26] Dump 1 complete: 124 MB written in 4.0 seconds Access violation in generated code when reading 000000001170399e [07:35:27] Dump count reached. }}} I'll attach the full log separately.
Also what's your OS version? (use powershell and `Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, ServicePackMajorVersion, OSArchitecture | Format-List *`
{{{ $ Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, ServicePackMajorVersion, OSArchitecture | Format-List * Caption : Microsoft Windows 10 Home Version : 10.0.16299 ServicePackMajorVersion : 0 OSArchitecture : 64-bit }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14496#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler