segfault in cmpLocks on 64 bit multicore
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.")
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | Unknown |
Edited by sclv