Bug 516024

Summary: guestfish: segfault in tab completion of device name
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: mbooth, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-06 14:11:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2009-08-06 12:50:00 UTC
To reproduce, run guestfish, then type:

alloc /tmp/test.img 200M
run
sfdiskM /de       <--- now hit the [TAB] key

Result:

*** glibc detected *** /home/rjones/d/libguestfs/fish/.libs/lt-guestfish: double free or corruption (fasttop): 0x000000000065df10 ***
======= Backtrace: =========
/lib64/libc.so.6[0x7ffff7431986]
/home/rjones/d/libguestfs/fish/.libs/lt-guestfish[0x413149]
/lib64/libreadline.so.6(rl_completion_matches+0x63)[0x7ffff7976c63]
/lib64/libreadline.so.6[0x7ffff7976d1a]
/lib64/libreadline.so.6(rl_complete_internal+0x123)[0x7ffff79782c3]
/lib64/libreadline.so.6(_rl_dispatch_subseq+0xd2)[0x7ffff796fd72]
/lib64/libreadline.so.6(readline_internal_char+0xa0)[0x7ffff7970530]
/lib64/libreadline.so.6(readline+0x55)[0x7ffff7970a35]
/home/rjones/d/libguestfs/fish/.libs/lt-guestfish[0x4142b4]
/home/rjones/d/libguestfs/fish/.libs/lt-guestfish[0x41514c]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7ffff73dab8d]
/home/rjones/d/libguestfs/fish/.libs/lt-guestfish[0x406a49]

Version:

git 5d78de834c53bfe29d2cc0397ac093428abe8425

Comment 1 Richard W.M. Jones 2009-08-06 13:40:53 UTC
Posted:
https://www.redhat.com/archives/libguestfs/2009-August/msg00089.html

Comment 3 Fedora Update System 2009-08-06 18:09:58 UTC
libguestfs-1.0.66-1.fc11.1 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.66-1.fc11.1

Comment 4 Fedora Update System 2009-08-07 08:33:47 UTC
libguestfs-1.0.66-4.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/libguestfs-1.0.66-4.el5

Comment 5 Fedora Update System 2009-08-14 08:23:21 UTC
libguestfs-1.0.67-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.67-1.fc11

Comment 6 Fedora Update System 2009-08-14 09:13:32 UTC
libguestfs-1.0.67-1.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/libguestfs-1.0.67-1.el5

Comment 7 Fedora Update System 2009-08-19 18:31:29 UTC
libguestfs-1.0.68-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.68-2.fc11

Comment 8 Fedora Update System 2009-08-19 21:54:58 UTC
libguestfs-1.0.68-5.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/libguestfs-1.0.68-5.el5

Comment 9 Fedora Update System 2009-09-06 20:47:18 UTC
libguestfs-1.0.68-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-09-08 22:59:10 UTC
libguestfs-1.0.68-5.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.