Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.
Michael McCulloch
michael.james.mcculloch at gmail.com
Sat Oct 21 20:05:34 UTC 2017
Hi,
\ghc-8.2.1\mingw\bin\gcc --version produced no errors.
the ghc 8.4 release you sent produced no errors as well.
I have included the procdump output as well, in case it helps, same error
mentioned before.
On Sat, Oct 21, 2017 at 1:54 PM Tamar Christina <tamar at zhox.com> wrote:
> Hi,
>
> Could you try https://1drv.ms/u/s!AuQz_u-9HaJPmcQRFveWa9dMBi77hg ?
>
> If you can still reproduce this issue with this build start with
> +RTS --generate-crash-dumps
>
> and send the dump it creates. Note that this is a pre-release version of
> GHC 8.4
> so some packages may not compile without updating version bounds.
>
> Tamar
>
>
> ---- On Sat, 21 Oct 2017 02:54:49 +0000 Tamar Christina <tamar at zhox.com>
> wrote ----
> >
> >
> >
> > ---- On Fri, 20 Oct 2017 23:51:43 +0000 Michael McCulloch <
> michael.james.mcculloch at gmail.com> wrote ----
> > > 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).
> >
> > Thanks, this is quite early on, does <ghc folder>\mingw\bin\gcc
> --version work?
> >
> > > I was unable to run procdump, it was giving me directory does not
> exist, even when placed in the bin folder.
> >
> > Hmm that's odd, and you're running this from a normal cmd prompt? a
> dump would really be helpful here.
> >
> > >
> > > On Fri, Oct 20, 2017 at 4:08 PM Tamar Christina <tamar at zhox.com>
> wrote:
> > > --
> > > Michael McCulloch
> > > c: (403) 629-9645
> > > e: michael.james.mcculloch at gmail.com
> > > 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
> > > >
> > >
> > >
> > >
> >
> >
> > _______________________________________________
> > 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/20171021/72efc271/attachment.html>
-------------- next part --------------
C:\Users\micha\Desktop\ghc-8.2.1\bin>dir
Volume in drive C has no label.
Volume Serial Number is FECE-599C
Directory of C:\Users\micha\Desktop\ghc-8.2.1\bin
2017-10-21 01:58 PM <DIR> .
2017-10-21 01:58 PM <DIR> ..
2017-07-22 12:40 AM 136,141 ghc-8.2.1.exe
2017-07-22 12:40 AM 9,038,773 ghc-pkg.exe
2017-07-22 12:40 AM 91,255,510 ghc.exe
2017-07-22 12:40 AM 397,919 ghci-8.2.1.exe
2017-07-22 12:40 AM 397,919 ghci.exe
2017-07-22 12:40 AM 56 ghcii-8.2.1.sh
2017-07-22 12:40 AM 56 ghcii.sh
2017-07-22 12:40 AM 136,141 haddock-8.2.1.exe
2017-07-22 12:40 AM 91,937,968 haddock.exe
2017-07-22 12:40 AM 178,289 hp2ps.exe
2017-07-22 12:40 AM 8,191,010 hpc.exe
2017-07-22 12:40 AM 7,623,348 hsc2hs.exe
2017-10-20 05:25 PM 651,424 procdump.exe
2017-10-20 05:25 PM 341,672 procdump64.exe
2017-07-22 12:40 AM 6,539,750 runghc.exe
2017-07-22 12:40 AM 6,539,750 runhaskell.exe
16 File(s) 223,365,726 bytes
2 Dir(s) 189,040,590,848 bytes free
C:\Users\micha\Desktop\ghc-8.2.1\bin>procdump.exe -e 1 -x ghc.exe --interactive
ProcDump v9.0 - Sysinternals process dump utility
Copyright (C) 2009-2017 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com
The directory does not exist: C:\Users\micha\Desktop\ghc-8.2.1\bin\ghc.exe
More information about the Glasgow-haskell-users
mailing list