
#14081: 8.2.1 runghc from Windows x32 segfaults an all programs ----------------------------------+------------------------------ Reporter: sergv | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.2.2 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86 Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------+------------------------------ Comment (by sergv): Another update: after updating msys 2.0 the crash disappeared in both `runghc` and `ghci`. Even portable-git's `git-bash` now behaves correctly, which is really puzzling. Apparently it's somehow related to dlls that ghc distribution uses. However, the crash is still there if I use `cmd.exe`: {{{ c:\home>ghc\ghc-8.2.1-x32\bin\ghci.exe -v3 -dcore-lint GHCi, version 8.2.1: http://www.haskell.org/ghc/ :? for help Glasgow Haskell Compiler, Version 8.2.1, stage 2 booted by GHC version 8.0.1 Using binary package database: C:\home\ghc\ghc-8.2.1-x32\lib\package.conf.d\pack age.cache package flags [] loading package database C:\home\ghc\ghc-8.2.1-x32\lib\package.conf.d wired-in package ghc-prim mapped to ghc-prim-0.5.1.0 wired-in package integer-gmp mapped to integer-gmp-1.0.1.0 wired-in package base mapped to base-4.10.0.0 wired-in package rts mapped to rts wired-in package template-haskell mapped to template-haskell-2.12.0.0 wired-in package ghc mapped to ghc-8.2.1 wired-in package dph-seq not found. wired-in package dph-par not found. *** Parser [source]: !!! Parser [source]: finished in 0.00 milliseconds, allocated 0.067 megabytes *** Desugar: *** Simplify [expr]: !!! Simplify [expr]: finished in 0.00 milliseconds, allocated 0.051 megabytes *** CorePrep [expr]: !!! CorePrep [expr]: finished in 0.00 milliseconds, allocated 0.857 megabytes *** ByteCodeGen [Ghci1]: !!! ByteCodeGen [Ghci1]: finished in 0.00 milliseconds, allocated 0.067 megabyte s Access violation in generated code when reading 7736ffff }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14081#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler