#3105: Panic during profiling build after recompiling a dependency with
-auto-all
--------------------------------------------------+-------------------------
Reporter: FSalad | Owner:
Type: bug | Status: new
Priority: normal | Component: Profiling
Version: 6.10.1 | Severity: normal
Keywords: profiler,profiling,panic,cost centres | Testcase:
Os: Linux | Architecture: x86
--------------------------------------------------+-------------------------
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
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3105>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs