Skip to content

RTS Crashes on Exit with double free

On compiling with

ghc -threaded -with-rtsopts="-N2 -A4m -H128m -G4"

or

ghc -threaded -with-rtsopts="-N2 -H128m -G4"

RTS crashes on exit (normal or sigINT) with glibc "free(): invalid pointer" and "double free or corruption (out)" errors, respectively.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information