[GHC] #10731: System.IO.openTempFile is not thread safe on Windows

GHC ghc-devs at haskell.org
Mon Aug 3 20:57:17 UTC 2015


#10731: System.IO.openTempFile is not thread safe on Windows
-------------------------------------+-------------------------------------
        Reporter:  NeilMitchell      |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  libraries/base    |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Windows           |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by NeilMitchell):

 Note that the exceptions start happening within seconds - this doesn't
 seem to be a difficult race condition to hit. I'm on Windows 8.1, but it
 reproduces just as easily with Windows 7.

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


More information about the ghc-tickets mailing list