Red Hat Bugzilla – Bug 688978
guestfish: double free or corruption if TMPDIR points to a non-existent directory
Last modified: 2011-04-12 13:11:53 EDT
Description of problem:
[goldmann@work ~]$ TMPDIR=sadsadsa guestfish -a /dev/null
Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.
Type: 'help' for help on commands
'man' to read the manual
'quit' to quit the shell
libguestfs: error: sadsadsa/libguestfsXXXXXX: cannot create temporary directory: No such file or directory
*** glibc detected *** guestfish: double free or corruption (out): 0x00007fffeaa11510 ***
======= Backtrace: =========
======= Memory map: ========
Version-Release number of selected component (if applicable):
(NOTE: RWMJ tested this on 1.9.11 and could not reproduce
the problem. However I'm filing this bug just in case the
problem is still there, just hidden).
Steps to Reproduce:
This appears to have fixed itself magically between 1.8.1
and 1.8.2. Since I'm not sure what commit fixed it, I'm
leaving this bug open out of caution.
This is not happening with 1.9.18. Also I checked with
valgrind, and it cannot find anything.