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

GHC ghc-devs at haskell.org
Fri Mar 13 15:47:22 UTC 2015


#10154: strange closure type 983040 (GHC version 7.8.3 for x86_64_unknown_linux)
-------------------------------------+-------------------------------------
        Reporter:  masterdezign      |                   Owner:
            Type:  bug               |                  Status:  infoneeded
        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:
-------------------------------------+-------------------------------------

Comment (by masterdezign):

 Attaching the code.

 It is hard to determine the piece of code which fails, since it might take
 several hours until the problem appears.

 There is a clue what might be related to the problem,
 if you replace

 {{{
   _ <- A.mapConcurrently calcWithMsg grid
 }}}

 in the main module (Simul.hs) with

 {{{
 foldM calcWithMsg grid
 }}}

 then the program does not seem to fail (I am checking if that is always
 the case).

 Also, I am not sure if Data.Vector.Unboxed behaves well when using it
 unsafely (see Rk.hs).

 Thank you.

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


More information about the ghc-tickets mailing list