#2563: With -N4: "internal error: RELEASE_LOCK: I do not own this lock: Task.c
269"
----------------------+-----------------------------------------------------
 Reporter:  TomMD     |          Owner:                
     Type:  bug       |         Status:  closed        
 Priority:  normal    |      Milestone:  6.10.1        
Component:  Compiler  |        Version:  6.8.2         
 Severity:  normal    |     Resolution:  duplicate     
 Keywords:            |     Difficulty:  Unknown       
 Testcase:            |   Architecture:  x86_64 (amd64)
       Os:  Linux     |  
----------------------+-----------------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 This works fine with 6.10 (actually it was probably #2192 that fixed it,
 in 6.8.3).

 Incedentally, if you want the program to really work in parallel, you'll
 have to change the definition of `hashAndPrint` to something like this:

 {{{
 hashAndPrint str f = do
         bs <- L.readFile f
         let z = f ++ ": " ++ show (md5 bs)
         seq (length z) $ putMVar str z
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2563#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to