[GHC] #15892: Segmentation fault with ByteString

GHC ghc-devs at haskell.org
Wed Nov 14 14:39:00 UTC 2018


#15892: Segmentation fault with ByteString
----------------------------------+--------------------------------------
        Reporter:  akio           |                Owner:  (none)
            Type:  bug            |               Status:  patch
        Priority:  highest        |            Milestone:  8.6.3
       Component:  Compiler       |              Version:  8.6.2
      Resolution:                 |             Keywords:
Operating System:  Linux          |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:                 |  Differential Rev(s):  Phab:D5334
       Wiki Page:                 |
----------------------------------+--------------------------------------
Changes (by simonmar):

 * status:  new => patch
 * differential:   => Phab:D5334


Comment:

 Thanks for the bug report @akio and for the very nice small test case
 @fumieval. I managed to further reduce the code and remove most of the
 Iteratee stuff, which was making the bug really hard to narrow down.  I
 believe I've now found the problem, the fix was to add a pair of
 parentheses(!), see Phab:D5334.

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


More information about the ghc-tickets mailing list