[GHC] #12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1
#12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1 -------------------------------------+------------------------------------- Reporter: cgo | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: MacOS X Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- This just happened on macOS 10.11.5: Configuring JuicyPixels-repa-0.7.1.0... Building JuicyPixels-repa-0.7.1.0... Preprocessing library JuicyPixels-repa-0.7.1.0... [1 of 1] Compiling Codec.Picture.Repa ( Codec/Picture/Repa.hs, dist/dist- sandbox-94652cd7/build/Codec/Picture/Repa.o ) 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) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug cabal: Leaving directory '/var/folders/lj/5d92khf937120qgs9xccbn400000gn/T /cabal-tmp-24887/JuicyPixels-repa-0.7.1.0' Updating documentation index -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12216> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1 -------------------------------------+------------------------------------- Reporter: cgo | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by simonpj: @@ -2,1 +2,1 @@ - + {{{ @@ -22,1 +22,1 @@ - + }}} New description: This just happened on macOS 10.11.5: {{{ Configuring JuicyPixels-repa-0.7.1.0... Building JuicyPixels-repa-0.7.1.0... Preprocessing library JuicyPixels-repa-0.7.1.0... [1 of 1] Compiling Codec.Picture.Repa ( Codec/Picture/Repa.hs, dist/dist- sandbox-94652cd7/build/Codec/Picture/Repa.o ) 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) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} cabal: Leaving directory '/var/folders/lj/5d92khf937120qgs9xccbn400000gn/T /cabal-tmp-24887/JuicyPixels-repa-0.7.1.0' Updating documentation index -- -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12216#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1 -------------------------------------+------------------------------------- Reporter: cgo | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => closed * resolution: => duplicate Comment: Dup of #12127. Am fixing -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12216#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1 -------------------------------------+------------------------------------- Reporter: cgo | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"393928db9fc35ef8bdeb241c051224a6c4bdf749/ghc" 393928db/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="393928db9fc35ef8bdeb241c051224a6c4bdf749" Fix renamer panic This patch fixes Trac #12216 and #12127. The 'combine' function in 'imp_occ_env' in RnNames.filterImports checked for an empty field-selector list, which was (a) unnecessary and (b) wrong. I've elaborated the comments. This does NOT fix #11959 which is related but not the same (it concerns bundling of pattern synonyms). }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12216#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1 -------------------------------------+------------------------------------- Reporter: cgo | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): I believe this is now fixed. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12216#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1 -------------------------------------+------------------------------------- Reporter: cgo | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by cgo): Wow, that was quick; thanks Simon! While I'm at it, thanks for all the other work you put into GHC. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12216#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12216: GHC 8.0.1 panics when compiling JuicyPixels-repa 0.7.1 -------------------------------------+------------------------------------- Reporter: cgo | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: #12127 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * related: => #12127 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12216#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC