#2398: segfault in cmpLocks on 64 bit multicore
----------------------------+-----------------------------------------------
Reporter: sclv | Owner: simonmar
Type: bug | Status: new
Priority: high | Milestone: 6.10.1
Component: Runtime System | Version: 6.8.3
Severity: major | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Linux |
----------------------------+-----------------------------------------------
Changes (by simonmar):
* priority: low => high
* owner: => simonmar
Comment:
Replying to [comment:6 sclv]:
> Looking through the code, it seems to me that the HashTable used by
FileLock.c isn't concurrent/threadsafe, and neither FileLock.c nor the
foreign call to it from GHC.Handle serialize access.
Absolutely right, I completely failed to do the proper locking here. I'll
fix it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2398#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs