[GHC] #15728: Program with safe array operations triggers debug runtime assertion

GHC ghc-devs at haskell.org
Tue Oct 9 14:07:46 UTC 2018


#15728: Program with safe array operations triggers debug runtime assertion
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.6.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 The backtrace is,
 {{{
 >>> bt
 #0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
 #1  0x00007ffff6e18dc1 in __GI_abort () at abort.c:79
 #2  0x0000000000898c87 in rtsFatalInternalErrorFn (s=0x8fdf18 "ASSERTION
 FAILED: file %s, line %u\n", ap=0x7fffffff83a8) at rts/RtsMessages.c:186
 #3  0x0000000000898871 in barf (s=0x8fdf18 "ASSERTION FAILED: file %s,
 line %u\n") at rts/RtsMessages.c:48
 #4  0x00000000008988d9 in _assertFail (filename=0x900a72
 "rts/sm/Storage.c", linenum=978) at rts/RtsMessages.c:63
 #5  0x00000000008a0d6e in allocateMightFail (cap=0xc92500
 <MainCapability>, n=14) at rts/sm/Storage.c:978
 #6  0x00000000008a09eb in allocate (cap=0xc92500 <MainCapability>, n=14)
 at rts/sm/Storage.c:853
 #7  0x00000000008c51ad in stg_freezzeSmallArrayzh () at
 rts/PrimOps.cmm:462
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)
 }}}

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


More information about the ghc-tickets mailing list