Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

Michael McCulloch michael.james.mcculloch at gmail.com
Fri Oct 20 23:51:43 UTC 2017


Previously to FCU, the issue was also occuring with ghc8.0.2(a), however,
it would appear that it is working again.

I have provided the output of ghci -v3 *8.2.1).

I was unable to run procdump, it was giving me directory does not exist,
even when placed in the bin folder.

On Fri, Oct 20, 2017 at 4:08 PM Tamar Christina <tamar at zhox.com> wrote:

> Hi Michael,
>
> Does this happen only with 8.2.1?
>
> Can you try a clean vanilla GHC?
>
> https://downloads.haskell.org/~ghc/8.2.1/ghc-8.2.1-x86_64-unknown-mingw32.tar.xz
>
> just to rule out any issues with toolings.
>
> if it still happens, does ghci -v3 show anything?
>
> if it still crashes can you run procdump on GHC directly and return the
> dump?
>
> https://docs.microsoft.com/en-us/sysinternals/downloads/procdump
>
> with "procdump -e 1 -x <pathtobinfolder>\ghc --interactive"
>
> Thanks,
> Tamar
>
>
>  ---- On Fri, 20 Oct 2017 14:02:31 +0000 Michael McCulloch <
> michael.james.mcculloch at gmail.com> wrote ----
>  > Hello.
>  > After searching around I can't find people with a similar issue (Maybe
> I'm looking in the wrong places?).
>  > I installed Haskell platform 8.2.1, using Stack 1.5.1, Cabal 2.0.0.0.
> Windows 10 Fall Creators Update( This issue was also occurring pre FCU).
> The issue also occurs with 8.0.2a
>  > Prior to FCU, I could run ghci directly, but now i get:
>  >     Access violation in generated code when reading 00000000046710f6
>  > Can anyone help me out?--
>  > Michael McCulloch
>  >  c: (403) 629-9645
>  >  e: michael.james.mcculloch at gmail.com
>  >   _______________________________________________
>  > Glasgow-haskell-users mailing list
>  > Glasgow-haskell-users at haskell.org
>  > http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
>  >
>
>
> --

Michael McCulloch

c: (403) 629-9645
e: michael.james.mcculloch at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20171020/d18eb770/attachment.html>
-------------- next part --------------
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.2
Using binary package database: C:\Users\micha\Desktop\GHC\ghc-8.2.1\lib\package.conf.d\package.cache
package flags []
loading package database C:\Users\micha\Desktop\GHC\ghc-8.2.1\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.129 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.00 milliseconds, allocated 0.109 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 15.63 milliseconds, allocated 1.545 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.00 milliseconds, allocated 0.132 megabytes
Access violation in generated code when reading 00000000046710f6


More information about the Glasgow-haskell-users mailing list