[GHC] #13231: ghc: panic! (the 'impossible' happened)

#13231: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: aufheben | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Compiler | Version: 7.10.3 Keywords: | Operating System: MacOS X Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash or panic Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- '''The crash happens during "stack build" after I updated the resolver to lts-6.30 ''' {{{ -- While building package yesod-auth-1.4.13.5 using: /Users/aufheben/.stack/setup-exe-cache/x86_64-osx/setup-Simple- Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack- work/dist/x86_64-osx/Cabal-1.22.5.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /Users/aufheben/stack/iped/.stack-work/logs /yesod-auth-1.4.13.5.log Configuring yesod-auth-1.4.13.5... Building yesod-auth-1.4.13.5... Preprocessing library yesod-auth-1.4.13.5... [ 1 of 12] Compiling Yesod.PasswordStore ( Yesod/PasswordStore.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/PasswordStore.o ) /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/PasswordStore.hs:166:31: Warning: Defaulting the following constraint(s) to type ‘Integer’ (Integral b0) arising from a use of ‘^’ at Yesod/PasswordStore.hs:166:31 (Num b0) arising from the literal ‘32’ at Yesod/PasswordStore.hs:166:32-33 In the first argument of ‘(-)’, namely ‘2 ^ 32’ In the first argument of ‘(*)’, namely ‘(2 ^ 32 - 1)’ In the second argument of ‘(>)’, namely ‘(2 ^ 32 - 1) * hLen’ /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/PasswordStore.hs:419:1: Warning: Defined but not used: ‘toStrict’ /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/PasswordStore.hs:422:1: Warning: Defined but not used: ‘fromStrict’ [ 2 of 12] Compiling Yesod.Auth.Message ( Yesod/Auth/Message.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/Auth/Message.o ) /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:23:1: Warning: The import of ‘mappend’ from module ‘Data.Monoid’ is redundant /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:698:1: Warning: Defined but not used: ‘croatianMessage’ /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:459:1: Warning: Pattern match(es) are overlapped In an equation for ‘finnishMessage’: finnishMessage Password = ... /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:459:1: Warning: Pattern match(es) are non-exhaustive In an equation for ‘finnishMessage’: Patterns not matched: CurrentPassword [ 3 of 12] Compiling Yesod.Auth.Routes ( Yesod/Auth/Routes.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/Auth/Routes.o ) [ 4 of 12] Compiling Yesod.Auth ( Yesod/Auth.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/Auth.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.10.3 for x86_64-apple-darwin): Loading temp shared object failed: dlopen(/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/ghc62638_0/libghc_21.dylib, 5): no suitable image found. Did find: /var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/ghc62638_0/libghc_21.dylib: malformed mach-o: load commands size (36088) > 32768 Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13231 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13231: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: aufheben | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by aufheben): * Attachment "yesod-auth-1.4.13.5.log" added. log file -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13231 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13231: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: aufheben | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: new => closed * priority: highest => normal * resolution: => duplicate Comment: This is a duplicate of #12479, please upgrade to 8.0.2. Thanks for the report! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13231#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13231: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: aufheben | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by aufheben): * status: closed => new * resolution: duplicate => @@ -1,2 +1,2 @@ - '''The crash happens during "stack build" after I updated the resolver to - lts-6.30 + '''The crash happens during "stack build" of my project. Resolver version + is lts-6.23. New description: '''The crash happens during "stack build" of my project. Resolver version is lts-6.23. ''' {{{ -- While building package yesod-auth-1.4.13.5 using: /Users/aufheben/.stack/setup-exe-cache/x86_64-osx/setup-Simple- Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack- work/dist/x86_64-osx/Cabal-1.22.5.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /Users/aufheben/stack/iped/.stack-work/logs /yesod-auth-1.4.13.5.log Configuring yesod-auth-1.4.13.5... Building yesod-auth-1.4.13.5... Preprocessing library yesod-auth-1.4.13.5... [ 1 of 12] Compiling Yesod.PasswordStore ( Yesod/PasswordStore.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/PasswordStore.o ) /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/PasswordStore.hs:166:31: Warning: Defaulting the following constraint(s) to type ‘Integer’ (Integral b0) arising from a use of ‘^’ at Yesod/PasswordStore.hs:166:31 (Num b0) arising from the literal ‘32’ at Yesod/PasswordStore.hs:166:32-33 In the first argument of ‘(-)’, namely ‘2 ^ 32’ In the first argument of ‘(*)’, namely ‘(2 ^ 32 - 1)’ In the second argument of ‘(>)’, namely ‘(2 ^ 32 - 1) * hLen’ /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/PasswordStore.hs:419:1: Warning: Defined but not used: ‘toStrict’ /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/PasswordStore.hs:422:1: Warning: Defined but not used: ‘fromStrict’ [ 2 of 12] Compiling Yesod.Auth.Message ( Yesod/Auth/Message.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/Auth/Message.o ) /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:23:1: Warning: The import of ‘mappend’ from module ‘Data.Monoid’ is redundant /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:698:1: Warning: Defined but not used: ‘croatianMessage’ /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:459:1: Warning: Pattern match(es) are overlapped In an equation for ‘finnishMessage’: finnishMessage Password = ... /private/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/stack62597 /yesod-auth-1.4.13.5/Yesod/Auth/Message.hs:459:1: Warning: Pattern match(es) are non-exhaustive In an equation for ‘finnishMessage’: Patterns not matched: CurrentPassword [ 3 of 12] Compiling Yesod.Auth.Routes ( Yesod/Auth/Routes.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/Auth/Routes.o ) [ 4 of 12] Compiling Yesod.Auth ( Yesod/Auth.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Yesod/Auth.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.10.3 for x86_64-apple-darwin): Loading temp shared object failed: dlopen(/var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/ghc62638_0/libghc_21.dylib, 5): no suitable image found. Did find: /var/folders/pl/w67yh9w96k3dnkbs3slbk2gw0000gn/T/ghc62638_0/libghc_21.dylib: malformed mach-o: load commands size (36088) > 32768 Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13231#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13231: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: aufheben | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #12479 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: new => closed * resolution: => duplicate * related: => #12479 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13231#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13231: ghc: panic! (the 'impossible' happened) -------------------------------------+------------------------------------- Reporter: aufheben | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #12479 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by aufheben): Thanks! Sorry that I accidentally reopened the issue after editing the bug. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13231#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC