Ticket #3105 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

Panic during profiling build after recompiling a dependency with -auto-all

Reported by: FSalad Owned by:
Priority: normal Milestone:
Component: Profiling Version: 6.10.1
Keywords: profiler,profiling,panic,cost centres Cc:
Operating System: Linux Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Hi,

I recompiled some dependencies of my project like this (to see more cost centres):

cabal install --reinstall --ghc-option=-auto-all OpenGL GLUT ftgl

then while trying to recompile my project:

cabal clean
cabal install --enable-library-profiling --enable-executable-profiling --disable-documentation --ghc-options="-O2 -ddump-simpl-stats"

the first (non-profiling) build succeeds, but then during the profiling build:

ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.1 for i386-unknown-linux):
        applyTypeToArgs
    OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.VertexSpec.$wa2{v rC2} [gid]
      rb{v a1sB8} [lid]
      rb1{v a1sB9} [lid]
      rb2{v a1sBa} [lid]
      rb3{v a1sBb} [lid]
      eta{v a1sB4} [lid]
    forall a{tv a1sB7} [tv].
    (base:GHC.Ptr.Ptr{tc 33A} a{tv a1sB7} [tv]
     -> ghc-prim:GHC.Types.Int{(w) tc 3J}
     -> base:GHC.IOBase.IO{tc 32I} a{tv a1sB7} [tv])
    -> base:GHC.Ptr.Ptr{tc 33A}
         (OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.VertexSpec.Color3{tc rnw}
            a{tv a1sB7} [tv])
    -> ghc-prim:GHC.Prim.State#{(w) tc 32q}
         ghc-prim:GHC.Prim.RealWorld{(w) tc 31E}
    -> (# ghc-prim:GHC.Prim.State#{(w) tc 32q}
            ghc-prim:GHC.Prim.RealWorld{(w) tc 31E},
          OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.VertexSpec.Color3{tc rnw}
            a{tv a1sB7} [tv] #)

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Change History

Changed 4 years ago by FSalad

  • severity changed from normal to minor

(resolved by recompiling another dependency, which depended on the ones previously recompiled)

Changed 4 years ago by simonmar

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to invalid

So this is another instance of an inconsistent set of compiled packages.

Note: See TracTickets for help on using tickets.