Bug 909836 - libguestfs-test-tool --qemu segfaults
Summary: libguestfs-test-tool --qemu segfaults
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-11 09:33 UTC by Richard W.M. Jones
Modified: 2013-02-11 15:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-11 15:16:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2013-02-11 09:33:56 UTC
Description of problem:

(Reported by Amit Shah)

$ libguestfs-test-tool --qemu /usr/bin/qemu-kvm 
Segmentation fault (core dumped)

The stack trace is:

(gdb) bt
#0  guestfs_set_qemu (g=0x0, 
    qemu=qemu@entry=0x7fffffffdf77 "/usr/bin/qemu-kvm") at actions-3.c:169
#1  0x0000000000402615 in set_qemu (path=0x7fffffffdf77 "/usr/bin/qemu-kvm", 
    use_wrapper=use_wrapper@entry=0) at test-tool.c:341
#2  0x0000000000401c67 in main (argc=3, argv=0x7fffffffdb18) at test-tool.c:102

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

libguestfs 1.20, 1.21

How reproducible:

100%

Steps to Reproduce:
See above.

Comment 1 Richard W.M. Jones 2013-02-11 15:16:16 UTC
Fixed upstream in:
https://github.com/libguestfs/libguestfs/commit/df983d19946fec697db2c502d7a6bb36ff0d2df5

I'll backport this fix to F18 & RHEL 7 in the next
stable release.


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