[GHC] #12208: double free or corruption (TEST=T5644 WAY=threaded1)