Bug 1010056

Summary: [abrt] libvirt-client-1.1.2-1.fc19: __assert_fail_base: Process /usr/bin/virsh was killed by signal 6 (SIGABRT)
Product: [Fedora] Fedora Reporter: Eric Blake <eblake>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, clalancette, crobinso, eblake, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:25cb6f558dd439b94d9ee61aab4a411c71b2ffb9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 19:08:46 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:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status none

Description Eric Blake 2013-09-19 19:57:08 UTC
Description of problem:
Bug reported on libvirt list, latent until 1.1.2 release turned it into an abort():
https://www.redhat.com/archives/libvir-list/2013-September/msg01143.html

Already patched on master and v1.1.2-maint:
commit fe64499dd14315b2d9d62cdf421bd3c97a46b7ac
Author: Simone Gotti <simone.gotti>
Date:   Thu Sep 19 15:08:29 2013 +0200

    virsh: add missing "async" option in opts_block_commit
    
    After commit 8aecd351266a66efa59b7f7be77bf66693d99ce0 it'll detect
    that a required option is not defined and it will assert and exit with:
    
    virsh.c:1364: vshCommandOpt: Assertion `valid->name' failed.
    
    Problem has been latent since commit ed23b106.
    
    Signed-off-by: Eric Blake <eblake>

Version-Release number of selected component:
libvirt-client-1.1.2-1.fc19

Additional info:
reporter:       libreport-2.1.7
backtrace_rating: 4
cmdline:        virsh -c test:///default blockcommit test a --wait
crash_function: __assert_fail_base
executable:     /usr/bin/virsh
kernel:         3.10.7-200.fc19.x86_64
runlevel:       N 5
type:           CCpp
uid:            14986
var_log_messages: Sep 19 13:53:48 red abrt[4807]: Saved core dump of pid 4804 (/usr/bin/virsh) to /var/tmp/abrt/ccpp-2013-09-19-13:53:47-4804 (11567104 bytes)

Truncated backtrace:
Thread no. 1 (6 frames)
 #2 __assert_fail_base at assert.c:92
 #3 __assert_fail at assert.c:101
 #4 vshCommandOpt at virsh.c:1365
 #5 vshCommandOptBool at virsh.c:1633
 #6 cmdBlockCommit at virsh-domain.c:1583
 #7 vshCommandRun at virsh.c:1722

Comment 1 Eric Blake 2013-09-19 19:57:16 UTC
Created attachment 800121 [details]
File: backtrace

Comment 2 Eric Blake 2013-09-19 19:57:21 UTC
Created attachment 800122 [details]
File: cgroup

Comment 3 Eric Blake 2013-09-19 19:57:28 UTC
Created attachment 800123 [details]
File: core_backtrace

Comment 4 Eric Blake 2013-09-19 19:57:34 UTC
Created attachment 800124 [details]
File: dso_list

Comment 5 Eric Blake 2013-09-19 19:57:39 UTC
Created attachment 800125 [details]
File: environ

Comment 6 Eric Blake 2013-09-19 19:57:45 UTC
Created attachment 800126 [details]
File: limits

Comment 7 Eric Blake 2013-09-19 19:57:50 UTC
Created attachment 800127 [details]
File: maps

Comment 8 Eric Blake 2013-09-19 19:57:56 UTC
Created attachment 800128 [details]
File: open_fds

Comment 9 Eric Blake 2013-09-19 19:58:02 UTC
Created attachment 800129 [details]
File: proc_pid_status

Comment 10 Eric Blake 2013-09-19 19:58:19 UTC
Fedora 20 and rawhide are impacted (also Fedora 19 if using fedora-virt-preview)

Comment 11 Cole Robinson 2013-09-23 19:08:46 UTC
Fixed in libvirt-1.1.2-3.fc21