assert in rts/Schedule.c

Karel Gardas karel.gardas at centrum.cz
Fri Jan 6 20:38:59 CET 2012


Hello,

I'm curious if I'm the only one seeing asserts like:

Stdout:

Stderr:
PolyKinds09: internal error: ASSERTION FAILED: file rts/Schedule.c, line 528

     (GHC version 7.5.20120103 for arm_unknown_linux)
     Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Aborted


This happen a lot during testsuite run. As far as I see, threaded1 tests 
are affected at least. Platform is ARM/Ubuntu 11.10 + LLVM 3.0 (from 
ubuntu packages) + GHC HEAD:

$ ./ghc-stage2 --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  -Wl,--hash-size=31 
-Wl,--reduce-memory-overheads")
  ,("ar command","/usr/bin/ar")
  ,("ar flags","q")
  ,("ar supports at file","YES")
  ,("touch command","touch")
  ,("dllwrap command","/bin/false")
  ,("windres command","/bin/false")
  ,("perl command","/usr/bin/perl")
  ,("target os","OSLinux")
  ,("target arch","ArchARM {armISA = ARMv7, armISAExt = [VFPv3,NEON]}")
  ,("target has GNU nonexec stack","False")
  ,("target has .ident directive","True")
  ,("target has subsections via symbols","False")
  ,("LLVM llc command","/usr/lib/llvm-3.0/bin/llc")
  ,("LLVM opt command","/usr/lib/llvm-3.0/bin/opt")
  ,("Project version","7.5.20120103")
  ,("Booter version","7.0.3")
  ,("Stage","2")
  ,("Build platform","arm-unknown-linux")
  ,("Host platform","arm-unknown-linux")
  ,("Target platform","arm-unknown-linux")
  ,("Have interpreter","NO")
  ,("Object splitting supported","NO")
  ,("Have native code generator","NO")
  ,("Support SMP","YES")
  ,("Unregisterised","NO")
  ,("Tables next to code","YES")
  ,("RTS ways","l debug  thr thr_debug thr_l  ")
  ,("Leading underscore","NO")
  ,("Debug on","False")
  ,("LibDir","/export/home/karel/vcs/ghc-src/ghc-head/inplace/lib")
  ,("Global Package 
DB","/export/home/karel/vcs/ghc-src/ghc-head/inplace/lib/package.conf.d")
  ,("Gcc Linker 
flags","[\"-Wl,--hash-size=31\",\"-Wl,--reduce-memory-overheads\"]")
  ,("Ld Linker flags","[\"--hash-size=31\",\"--reduce-memory-overheads\"]")
  ]


settings looks:

$ cat settings
[("GCC extra via C opts", " -fwrapv"),
  ("C compiler command", "/usr/bin/gcc"),
  ("C compiler flags", " -fno-stack-protector  -Wl,--hash-size=31 
-Wl,--reduce-memory-overheads"),
  ("ar command", "/usr/bin/ar"),
  ("ar flags", "q"),
  ("ar supports at file", "YES"),
  ("touch command", "touch"),
  ("dllwrap command", "/bin/false"),
  ("windres command", "/bin/false"),
  ("perl command", "/usr/bin/perl"),
  ("target os", "OSLinux"),
  ("target arch", "ArchARM {armISA = ARMv7, armISAExt = [VFPv3,NEON]}"),
  ("target has GNU nonexec stack", "False"),
  ("target has .ident directive", "True"),
  ("target has subsections via symbols", "False"),
  ("LLVM llc command", "/usr/lib/llvm-3.0/bin/llc"),
  ("LLVM opt command", "/usr/lib/llvm-3.0/bin/opt")
  ]


Thanks,
Karel



More information about the Cvs-ghc mailing list