[GHC] #10154: strange closure type 983040 (GHC version 7.8.3 for x86_64_unknown_linux)

GHC ghc-devs at haskell.org
Thu Mar 12 12:22:52 UTC 2015


#10154: strange closure type 983040 (GHC version 7.8.3 for x86_64_unknown_linux)
-------------------------------------+-------------------------------------
        Reporter:  masterdezign      |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:
       Component:  Compiler          |                 Version:  7.8.3
      Resolution:                    |                Keywords:  strange
Operating System:  Linux             |  closure type
 Type of failure:  Runtime crash     |            Architecture:
      Blocked By:                    |  Unknown/Multiple
 Related Tickets:                    |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Old description:

> After compiling project with RTS options
>
> $ ghc --make -threaded Simul.hs -fforce-recomp -O2
>
> and running it on Ubuntu 12.04
>
> $ time ./Simul +RTS -N6
>
> repeatedly received this message:
>
> Simul: internal error: evacuate: strange closure type 983040
>     (GHC version 7.8.3 for x86_64_unknown_linux)
>     Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug
> Command terminated by signal 6
> 2131.46user 45.57system 6:13.95elapsed 582%CPU (0avgtext+0avgdata
> 185328maxresident)k
> 248inputs+0outputs (2major+11705minor)pagefaults 0swaps
>
> $ ghc --info
>  [("Project name","The Glorious Glasgow Haskell Compilation System")
>  ,("GCC extra via C opts"," -fwrapv")
>  ,("C compiler command","/usr/bin/gcc")
>  ,("C compiler flags"," -fno-stack-protector")
>  ,("C compiler link flags","")
>  ,("Haskell CPP command","/usr/bin/gcc")
>  ,("Haskell CPP flags","-E -undef -traditional")
>  ,("ld command","/usr/bin/ld")
>  ,("ld flags","")
>  ,("ld supports compact unwind","YES")
>  ,("ld supports build-id","YES")
>  ,("ld supports filelist","NO")
>  ,("ld is GNU ld","YES")
>  ,("ar command","/usr/bin/ar")
>  ,("ar flags","q")
>  ,("ar supports at file","YES")
>  ,("touch command","touch")
>  ,("dllwrap command","/bin/false")
>  ,("windres command","/bin/false")
>  ,("libtool command","libtool")
>  ,("perl command","/usr/bin/perl")
>  ,("target os","OSLinux")
>  ,("target arch","ArchX86_64")
>  ,("target word size","8")
>  ,("target has GNU nonexec stack","True")
>  ,("target has .ident directive","True")
>  ,("target has subsections via symbols","False")
>  ,("Unregisterised","NO")
>  ,("LLVM llc command","llc")
>  ,("LLVM opt command","opt")
>  ,("Project version","7.8.3")
>  ,("Booter version","7.4.1")
>  ,("Stage","2")
>  ,("Build platform","x86_64-unknown-linux")
>  ,("Host platform","x86_64-unknown-linux")
>  ,("Target platform","x86_64-unknown-linux")
>  ,("Have interpreter","YES")
>  ,("Object splitting supported","YES")
>  ,("Have native code generator","YES")
>  ,("Support SMP","YES")
>  ,("Tables next to code","YES")
>  ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn
> thr_debug_dyn l_dyn thr_l_dyn")
>  ,("Support dynamic-too","YES")
>  ,("Support parallel --make","YES")
>  ,("Dynamic by default","NO")
>  ,("GHC Dynamic","YES")
>  ,("Leading underscore","NO")
>  ,("Debug on","False")
>  ,("LibDir","/usr/local/haskell/ghc-7.8.3-x86_64/lib/ghc-7.8.3")
>  ,("Global Package
> DB","/usr/local/haskell/ghc-7.8.3-x86_64/lib/ghc-7.8.3/package.conf.d")
>  ]

New description:

 After compiling project with RTS options

 $ ghc --make -threaded Simul.hs -fforce-recomp -O2

 and running it on Ubuntu 12.04

 $ time ./Simul +RTS -N6

 repeatedly received this message:

 Simul: internal error: evacuate: strange closure type 983040
     (GHC version 7.8.3 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Command terminated by signal 6
 2131.46user 45.57system 6:13.95elapsed 582%CPU (0avgtext+0avgdata
 185328maxresident)k
 248inputs+0outputs (2major+11705minor)pagefaults 0swaps

 $ ghc --info
  [("Project name","The Glorious Glasgow Haskell Compilation System")
  ,("GCC extra via C opts"," -fwrapv")
  ,("C compiler command","/usr/bin/gcc")
  ,("C compiler flags"," -fno-stack-protector")
  ,("C compiler link flags","")
  ,("Haskell CPP command","/usr/bin/gcc")
  ,("Haskell CPP flags","-E -undef -traditional")
  ,("ld command","/usr/bin/ld")
  ,("ld flags","")
  ,("ld supports compact unwind","YES")
  ,("ld supports build-id","YES")
  ,("ld supports filelist","NO")
  ,("ld is GNU ld","YES")
  ,("ar command","/usr/bin/ar")
  ,("ar flags","q")
  ,("ar supports at file","YES")
  ,("touch command","touch")
  ,("dllwrap command","/bin/false")
  ,("windres command","/bin/false")
  ,("libtool command","libtool")
  ,("perl command","/usr/bin/perl")
  ,("target os","OSLinux")
  ,("target arch","ArchX86_64")
  ,("target word size","8")
  ,("target has GNU nonexec stack","True")
  ,("target has .ident directive","True")
  ,("target has subsections via symbols","False")
  ,("Unregisterised","NO")
  ,("LLVM llc command","llc")
  ,("LLVM opt command","opt")
  ,("Project version","7.8.3")
  ,("Booter version","7.4.1")
  ,("Stage","2")
  ,("Build platform","x86_64-unknown-linux")
  ,("Host platform","x86_64-unknown-linux")
  ,("Target platform","x86_64-unknown-linux")
  ,("Have interpreter","YES")
  ,("Object splitting supported","YES")
  ,("Have native code generator","YES")
  ,("Support SMP","YES")
  ,("Tables next to code","YES")
  ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn
 thr_debug_dyn l_dyn thr_l_dyn")
  ,("Support dynamic-too","YES")
  ,("Support parallel --make","YES")
  ,("Dynamic by default","NO")
  ,("GHC Dynamic","YES")
  ,("Leading underscore","NO")
  ,("Debug on","False")
  ,("LibDir","/usr/local/haskell/ghc-7.8.3-x86_64/lib/ghc-7.8.3")
  ,("Global Package
 DB","/usr/local/haskell/ghc-7.8.3-x86_64/lib/ghc-7.8.3/package.conf.d")
  ]

 Linux 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64
 x86_64 x86_64 GNU/Linux

--

Comment (by masterdezign):

 Linux 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64
 x86_64 x86_64 GNU/Linux

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10154#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list