[GHC] #5899: RTS crash w/ strange closure type 603975781 on OS X 10.8

GHC ghc-devs at haskell.org
Wed Oct 30 22:37:32 UTC 2013


#5899: RTS crash w/ strange closure type 603975781 on OS X 10.8
-------------------------+-------------------------------------------------
        Reporter:        |            Owner:
  dylukes                |           Status:  closed
            Type:  bug   |        Milestone:  7.4.2
        Priority:  high  |          Version:  7.4.1
       Component:        |         Keywords:  rts, strange closure,
  Runtime System         |  internal error, os x
      Resolution:        |     Architecture:  x86_64 (amd64)
  worksforme             |       Difficulty:  Unknown
Operating System:        |       Blocked By:
  MacOS X                |  Related Tickets:
 Type of failure:        |
  Runtime crash          |
       Test Case:        |
        Blocking:        |
-------------------------+-------------------------------------------------
Changes (by CoreyOConnor):

 * cc: simonmar (added)


Comment:

 I think I've encountered a similar error. Not sure.

 I do not have a short set of repro steps right now. The example program in
 comment 2 works fine. My repo steps are a bit annoying....

 1. install vty from git at github.com:coreyoconnor/vty.git
 2. install yi and yi-contrib from git at github.com:coreyoconnor/yi.git
 3. use the following ~/.yi/yi.hs:

 {{{
 module Main where
 import qualified Yi.Config.Users.Corey as Config
 main = Config.main
 }}}

 4. start yi
 5. enter exactly ":tabedit test.txt". This will create a new "tab" with
 the test.txt title.
 6. type "gt" - next tab
 7. type "gT" - previous tab

 At this point yi crashes. However, due to the terminal setup there may be
 no output. type "reset" and enter to reset the terminal.

 The error output by GHC is:
 {{{
 yi-darwin-x86_64: internal error: evacuate: strange closure type 67827
     (GHC version 7.6.3 for x86_64_apple_darwin)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

 The closure type is different each time.

 The compiler environment is:

 * GHC 7.6.3 installed via the haskell platform 2013.2.0.0
 * Mac OS version 10.8.5
 * XCode 5.0 installed and command line tools installed
 * /usr/bin/gcc is:

 {{{
 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
 --with-gxx-include-dir=/usr/include/c++/4.2.1
 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
 Target: x86_64-apple-darwin12.5.0
 Thread model: posix
 }}}

 The settings used is:

 {{{
 [("GCC extra via C opts", " -fwrapv"),
  ("C compiler command", "/usr/bin/gcc"),
  ("C compiler flags", " -m64 -fno-stack-protector  -m64"),
  ("ar command", "/usr/bin/ar"),
  ("ar flags", "clqs"),
  ("ar supports at file", "@ArSupportsAtFile@"),
  ("touch command", "touch"),
  ("dllwrap command", "/bin/false"),
  ("windres command", "/bin/false"),
  ("perl command", "/usr/bin/perl"),
  ("target os", "OSDarwin"),
  ("target arch", "ArchX86_64"),
  ("target word size", "8"),
  ("target has GNU nonexec stack", "False"),
  ("target has .ident directive", "True"),
  ("target has subsections via symbols", "True"),
  ("LLVM llc command", "llc"),
  ("LLVM opt command", "opt")
  ]
 }}}

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


More information about the ghc-tickets mailing list