[Bug 1130091] New: libtinfo: "munmap_chunk(): invalid pointer" when restoring TERM=linux after setting it to TERM=dumb