[GHC] #3903: DPH bad sliceP causes RTS panic "allocGroup: requested
zero blocks"
GHC
trac at galois.com
Mon Mar 1 03:47:38 EST 2010
#3903: DPH bad sliceP causes RTS panic "allocGroup: requested zero blocks"
---------------------------------+------------------------------------------
Reporter: benl | Owner: benl
Type: bug | Status: new
Priority: normal | Component: Data Parallel Haskell
Version: 6.13 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Compile-time crash
---------------------------------+------------------------------------------
{{{
$ ghci -XPArr
...
Prelude> :m GHC.PArr
Prelude GHC.PArr> sliceP 10 10 [::]
<interactive>: internal error: allocGroup: requested zero blocks
(GHC version 6.12.1 for i386_apple_darwin)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Abort trap
}}}
`sliceP 10 10 [::]` is bogus. This should have been picked up in the
libraries before hitting the RTS assertion.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3903>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list