[GHC] #14089: Segmentation fault/access violation using Yesod and Postgresql

GHC ghc-devs at haskell.org
Fri Aug 4 16:21:44 UTC 2017


#14089: Segmentation fault/access violation using Yesod and Postgresql
---------------------------------+--------------------------------------
        Reporter:  Burtannia     |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  8.2.1
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+--------------------------------------
Description changed by Burtannia:

Old description:

> When trying to build a Yesod site with Postgresql I got the following:
>
> I tried to use PostgreSQL and got the following:
>
> website-0.0.0: configure (lib)
> Configuring website-0.0.0...
> website-0.0.0: build (lib)
> Preprocessing library website-0.0.0...
> [ 1 of 11] Compiling Settings         ( src\Settings.hs, .stack-
> work\dist\ca59d0ab\build\Settings.o )
> [ 2 of 11] Compiling Settings.StaticFiles ( src\Settings\StaticFiles.hs,
> .stack-work\dist\ca59d0ab\build\Settings\StaticFiles.o )
> Segmentation fault/access violation in generated code
>
> --  While building package website-0.0.0 using:
>       C:\sr\setup-exe-cache\x86_64-windows\Cabal-
> simple_Z6RU0evB_1.24.2.0_ghc-8.0.2.exe --builddir=.stack-
> work\dist\ca59d0ab build lib:website --ghc-options " -ddump-hi -ddump-to-
> file"
>     Process exited with code: ExitFailure 1

New description:

 When trying to build a Yesod site with Postgresql I got the following:

 website-0.0.0: configure (lib)
 Configuring website-0.0.0...
 website-0.0.0: build (lib)
 Preprocessing library website-0.0.0...
 [ 1 of 11] Compiling Settings         ( src\Settings.hs, .stack-
 work\dist\ca59d0ab\build\Settings.o )
 [ 2 of 11] Compiling Settings.StaticFiles ( src\Settings\StaticFiles.hs,
 .stack-work\dist\ca59d0ab\build\Settings\StaticFiles.o )
 Segmentation fault/access violation in generated code

 --  While building package website-0.0.0 using:
       C:\sr\setup-exe-cache\x86_64-windows\Cabal-
 simple_Z6RU0evB_1.24.2.0_ghc-8.0.2.exe --builddir=.stack-
 work\dist\ca59d0ab build lib:website --ghc-options " -ddump-hi -ddump-to-
 file"
     Process exited with code: ExitFailure 1

--

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14089#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list