[GHC] #15892: Segmentation fault with ByteString and -O
GHC
ghc-devs at haskell.org
Wed Nov 14 05:40:36 UTC 2018
#15892: Segmentation fault with ByteString and -O
--------------------------------------+----------------------------------
Reporter: akio | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.3
Component: Compiler | Version: 8.6.2
Keywords: | Operating System: Linux
Architecture: x86_64 (amd64) | Type of failure: Runtime crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------------+----------------------------------
The attached program consistently segfaults (within a few seconds) when
compiled with ghc-8.6.1 or ghc-8.6.2. It runs forever (as expected) when
compiled with ghc-8.4.
To reproduce:
{{{
ghc segfault.hs
}}}
then,
{{{
./segfault >/dev/null
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15892>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list