Bug 688978 - guestfish: double free or corruption if TMPDIR points to a non-existent directory
guestfish: double free or corruption if TMPDIR points to a non-existent direc...
Status: CLOSED INSUFFICIENT_DATA
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-18 13:44 EDT by Richard W.M. Jones
Modified: 2011-04-12 13:11 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-04-12 13:11:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2011-03-18 13:44:59 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

><fs> launch 
libguestfs: error: sadsadsa/libguestfsXXXXXX: cannot create temporary directory: No such file or directory
*** glibc detected *** guestfish: double free or corruption (out): 0x00007fffeaa11510 ***
======= Backtrace: =========
/lib64/libc.so.6[0x32dd476d63]
/usr/lib64/libguestfs.so.0[0x37464550a6]
guestfish[0x4234f8]
guestfish[0x4238aa]
guestfish[0x424707]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x32dd41ee5d]
guestfish[0x40a3d9]
======= Memory map: ========

Version-Release number of selected component (if applicable):

guestfish 1.8.1

(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).

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Richard W.M. Jones 2011-03-18 14:50:56 EDT
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.
Comment 2 Richard W.M. Jones 2011-04-12 13:11:53 EDT
This is not happening with 1.9.18.  Also I checked with
valgrind, and it cannot find anything.

Note You need to log in before you can comment on or make changes to this bug.