
#13089: GHC panic -------------------------------------+------------------------------------- Reporter: cbaatz | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 | Type of failure: None/Unknown (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I stumbled upon a GHC panic for some reason. Not sure how to debug this/get more details on it so attaching the error message: ``` ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-apple-darwin): filterImports/combine (Array, Array{Array, AByteString, ACursored, ADelayed, AForeignPtr, AInterleave, ASmall, APart, AUnboxed, AUndefined, AVector, cursoredExtent, loadCursor, makeCursor, shiftCursor}, Nothing) (Array, Source{Source, Array, deepSeqArray, extent, index, linearIndex, unsafeIndex, unsafeLinearIndex}, Nothing) ``` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13089 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13089: GHC panics on some imports from the Repa package -------------------------------------+------------------------------------- Reporter: cbaatz | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by cbaatz: @@ -1,2 +1,9 @@ - I stumbled upon a GHC panic for some reason. Not sure how to debug - this/get more details on it so attaching the error message: + I stumbled upon a GHC panic for some reason. The error message is below. + The error disappears when I replace: + + import Data.Array.Repa ((:.) (..), Array, DIM1, DIM2, U, Z + (..)) + + with + + import Data.Array.Repa hiding ((++)) New description: I stumbled upon a GHC panic for some reason. The error message is below. The error disappears when I replace: import Data.Array.Repa ((:.) (..), Array, DIM1, DIM2, U, Z (..)) with import Data.Array.Repa hiding ((++)) ``` ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-apple-darwin): filterImports/combine (Array, Array{Array, AByteString, ACursored, ADelayed, AForeignPtr, AInterleave, ASmall, APart, AUnboxed, AUndefined, AVector, cursoredExtent, loadCursor, makeCursor, shiftCursor}, Nothing) (Array, Source{Source, Array, deepSeqArray, extent, index, linearIndex, unsafeIndex, unsafeLinearIndex}, Nothing) ``` -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13089#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13089: GHC panics when importing Array from Data.Array.Repa -------------------------------------+------------------------------------- Reporter: cbaatz | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by cbaatz: @@ -9,1 +9,5 @@ - import Data.Array.Repa hiding ((++)) + import Data.Array.Repa ((:.) (..), DIM1, DIM2, U, Z (..)) + + and I've confirmed that it panics with: + + import Data.Array.Repa (Array) New description: I stumbled upon a GHC panic for some reason. The error message is below. The error disappears when I replace: import Data.Array.Repa ((:.) (..), Array, DIM1, DIM2, U, Z (..)) with import Data.Array.Repa ((:.) (..), DIM1, DIM2, U, Z (..)) and I've confirmed that it panics with: import Data.Array.Repa (Array) ``` ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-apple-darwin): filterImports/combine (Array, Array{Array, AByteString, ACursored, ADelayed, AForeignPtr, AInterleave, ASmall, APart, AUnboxed, AUndefined, AVector, cursoredExtent, loadCursor, makeCursor, shiftCursor}, Nothing) (Array, Source{Source, Array, deepSeqArray, extent, index, linearIndex, unsafeIndex, unsafeLinearIndex}, Nothing) ``` -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13089#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13089: GHC panics when importing Array from Data.Array.Repa -------------------------------------+------------------------------------- Reporter: cbaatz | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by RyanGlScott: @@ -4,0 +4,1 @@ + {{{#!hs @@ -6,0 +7,1 @@ + }}} @@ -9,0 +11,1 @@ + {{{#!hs @@ -10,0 +13,1 @@ + }}} @@ -15,1 +19,1 @@ - ``` + {{{ @@ -28,1 +32,1 @@ - ``` + }}} New description: I stumbled upon a GHC panic for some reason. The error message is below. The error disappears when I replace: {{{#!hs import Data.Array.Repa ((:.) (..), Array, DIM1, DIM2, U, Z (..)) }}} with {{{#!hs import Data.Array.Repa ((:.) (..), DIM1, DIM2, U, Z (..)) }}} and I've confirmed that it panics with: import Data.Array.Repa (Array) {{{ ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-apple-darwin): filterImports/combine (Array, Array{Array, AByteString, ACursored, ADelayed, AForeignPtr, AInterleave, ASmall, APart, AUnboxed, AUndefined, AVector, cursoredExtent, loadCursor, makeCursor, shiftCursor}, Nothing) (Array, Source{Source, Array, deepSeqArray, extent, index, linearIndex, unsafeIndex, unsafeLinearIndex}, Nothing) }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13089#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13089: GHC panics when importing Array from Data.Array.Repa -------------------------------------+------------------------------------- Reporter: cbaatz | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #12127 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #12127 Comment: Thanks for the report. This turns out to be a duplicate of #12127, which was fixed in the 8.0.2 release. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13089#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC