#2398: segfault in cmpLocks
------------------------+---------------------------------------------------
Reporter: sclv | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.3 | Severity: major
Keywords: | Testcase:
Architecture: Unknown | Os: Linux
------------------------+---------------------------------------------------
GHC's runtime file locking breaks under high volume usage. Under high
enough volume it segfaults as such:
{{{
#0 0x0000000000437555 in cmpLocks ()
#1 0x000000000044a4c9 in lookupHashTable ()
#2 0x0000000000437641 in lockFile ()
#3 0x00000000004246cf in base_GHCziHandle_zdLr5QQzdwccall_info ()
#4 0x0000000000000000 in ?? ()
}}}
Under lower load, at times it will simply hang.
(Note, the testfile is intended to be run with a directory "foo" in the
current working directory, and with that directory filled with roughly
10000 numbered copies of a usefully large file. For the tests I ran, I
chose the first chapter of "A Tale of Two Cities.")
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2398>
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