Bug 588851 - guestfs_launch() returns -1, but guestfs_last_error() == NULL
Summary: guestfs_launch() returns -1, but guestfs_last_error() == NULL
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
(Show other bugs)
Version: unspecified
Hardware: All Linux
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 588860
TreeView+ depends on / blocked
 
Reported: 2010-05-04 17:43 UTC by Richard W.M. Jones
Modified: 2010-05-21 11:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-07 21:39:31 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Richard W.M. Jones 2010-05-04 17:43:39 UTC
Description of problem:

When guestfs_launch() returns -1, guestfs_last_error()
can return NULL.  This produces errors from the Perl
bindings such as:

  (null) at virt-rescue line 146.

where virt-rescue:146 is the line containing $g->launch()

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

libguestfs 1.3.9

How reproducible:

--?

Steps to Reproduce:
1. Run virt-rescue
2. In another window, kill the qemu process
3.
  
Actual results:

(null) at virt-rescue line 146.

Expected results:

A more useful error message.

Additional info:

Comment 2 Fedora Update System 2010-05-14 19:12:51 UTC
libguestfs-1.2.6-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libguestfs-1.2.6-1.fc13

Comment 3 Fedora Update System 2010-05-17 12:28:07 UTC
libguestfs-1.2.7-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/libguestfs-1.2.7-1.fc12

Comment 4 Fedora Update System 2010-05-17 12:47:54 UTC
libguestfs-1.2.7-1.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/libguestfs-1.2.7-1.el5

Comment 5 Fedora Update System 2010-05-17 13:00:21 UTC
libguestfs-1.2.7-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libguestfs-1.2.7-2.fc13

Comment 6 Fedora Update System 2010-05-21 11:33:35 UTC
libguestfs-1.2.7-2.fc13.1 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libguestfs-1.2.7-2.fc13.1


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