Bug 811650

Summary: guestfs_last_error not set when qemu fails early during launch
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dyasny, mbooth, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 811673 (view as bug list) Environment:
Last Closed: 2012-04-12 09:25:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 811673    

Description Richard W.M. Jones 2012-04-11 15:47:49 UTC
Description of problem:

(Reported by Igor Lvovsky on RHEL 6.2 + libguestfs 1.16.15 from
preview repository)

> In [5]: guest.launch()                                                        
> python: Objects/stringobject.c:115: PyString_FromString: Assertion `str !=    
> ((void *)0)' failed.                                                          
> Aborted                                                                       

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

libguestfs 1.16.15 on RHEL 6.2/6.3.

Comment 1 Richard W.M. Jones 2012-04-11 16:01:12 UTC
For a reproducer, see:
https://bugzilla.redhat.com/show_bug.cgi?id=811649#c1

Comment 2 Richard W.M. Jones 2012-04-11 16:04:11 UTC
Can also reproduce this on libguestfs 1.17.27 on Fedora.

Comment 4 Richard W.M. Jones 2012-04-12 09:25:11 UTC
Fixed in 1.17.28.