Bug 1174869

Summary: libvirtd crash after consecutive migrations
Product: Red Hat Enterprise Linux 7 Reporter: Francesco Romani <fromani>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: jdenemar, jtomko, rbalakri
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-17 08:11:01 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: 1151953    

Description Francesco Romani 2014-12-16 16:11:54 UTC
Description of problem:
During an automated test of oVirt involving automated migration of some VMs, libvirtd crashed.

Logs and coredump attached.

How reproducible:
Not really sure. Seems more likely with consecutive migration, but failed to find a common cause yet.

Steps to Reproduce:
1. run 5 VMs on a node
2. migrate all of them at the same time
3.

Actual results:
In still unclear circumstances, libvirt crashes

Expected results:
No crash

Comment 3 Ján Tomko 2014-12-16 16:22:16 UTC
Looking at the stacktrace.txt:
#0  __strchr_sse42 () at ../sysdeps/x86_64/multiarch/strchr.S:136
#1  0x00007fd471e744d0 in virParseOwnershipIds (label=0x0, uidPtr=uidPtr@entry=0x7fd462dad818, gidPtr=gidPtr@entry=0x7fd462dad81c) at util/virutil.c:2072
#2  0x00007fd45b20521e in qemuOpenFile (driver=driver@entry=0x7fd454161dd0, vm=vm@entry=0x7fd43400cc60, 
    path=path@entry=0x7fd434013e10 "/rhev/data-center/e57f317b-010a-40fe-832a-88801dd2f2b4/9345b29e-0551-4bee-9f88-de9b86612079/images/d2bae584-09f2-426e-83a9-655c42552c25/6abb9336-2b13-4627-bead-937e595208ba", oflags=oflags@entry=0, 
    needUnlink=needUnlink@entry=0x0, bypassSecurityDriver=bypassSecurityDriver@entry=0x0) at qemu/qemu_driver.c:2780
#3  0x00007fd45b20e21e in qemuDomainGetBlockInfo (dom=0x7fd438015710, 
    path=0x7fd434013e10 "/rhev/data-center/e57f317b-010a-40fe-832a-88801dd2f2b4/9345b29e-0551-4bee-9f88-de9b86612079/images/d2bae584-09f2-426e-83a9-655c42552c25/6abb9336-2b13-4627-bead-937e595208ba", info=0x7fd462dadb40, 
    flags=<optimized out>) at qemu/qemu_driver.c:10124

This is the same crash as in bug 1162208 and bug 1171124

Comment 5 Jiri Denemark 2014-12-17 08:11:01 UTC

*** This bug has been marked as a duplicate of bug 1162208 ***