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

Tamar Christina tamar at zhox.com
Sat Oct 21 22:57:55 UTC 2017


Ah, sorry,

try "procdump -e 1 -ma -x . <pathtobinfolder>\ghc --interactive"

the arguments to procdump changed.

It's good that it's fixed in 8.4 at least, but would be good to know what it is.

Could you also try the rc for 8.2.2?

https://downloads.haskell.org/~ghc/8.2.2-rc1/ghc-8.2.1.20170929-x86_64-unknown-mingw32.tar.xz


 ---- On Sat, 21 Oct 2017 20:05:34 +0000 Michael McCulloch <michael.james.mcculloch at gmail.com> wrote ---- 
 > 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:
 > -- 
 > Michael McCulloch
 >  c: (403) 629-9645
 >  e: michael.james.mcculloch at gmail.com 
 >   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
 >   >
 >  
 >  
 >  




More information about the Glasgow-haskell-users mailing list