Bug 1299345

Summary: [abrt] qemu-img: get_block_status(): qemu-img killed by SIGABRT
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kurik <jkurik>
Component: qemu-kvm-rhevAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: chayang, derez, hreitz, huding, jkurik, juzhang, knoel, kwolf, mkolaja, mrezanin, nsoffer, rbalakri, sherold, virt-bugs, virt-maint, xfu, ykaul
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-rhev-2.3.0-31.el7_2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1298886 Environment:
Last Closed: 2016-01-28 16:03:26 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:
Bug Depends On: 1298886    
Bug Blocks:    

Description Jan Kurik 2016-01-18 07:47:41 UTC
This bug has been copied from bug #1298886 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 3 Miroslav Rezanina 2016-01-18 10:21:06 UTC
Fix included in qemu-kvm-rhev-2.3.0-31.el7_2.6

Comment 5 FuXiangChun 2016-01-22 07:51:23 UTC
Reproduced this bug with qemu-img-rhev-2.3.0-31.el7.x86_64 & qemu-kvm-rhev-2.3.0-31.el7.x86_64


# truncate -s 1G test_sparse
#  truncate -s 1G test_sparse
# echo "a" >> test_sparse
# qemu-img map test_sparse
Offset          Length          Mapped to       File
qemu-img: qemu-img.c:2294: get_block_status: Assertion `nb_sectors' failed.
Aborted (core dumped)


verified the bug with qemu-img-rhev-2.3.0-31.el7_2.7.x86_64 & qemu-kvm-rhev-2.3.0-31.el7_2.7.x86_64

# truncate -s 1G test_sparse
# echo "a" >> test_sparse
# qemu-img map test_sparse
Offset          Length          Mapped to       File
0x40000000      0x200           0x40000000      test_sparse

according to this result.  The bug is fixed.

Comment 9 errata-xmlrpc 2016-01-28 16:03:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-0084.html

Comment 10 Ademar Reis 2016-05-31 19:24:23 UTC
*** Bug 1327592 has been marked as a duplicate of this bug. ***