Bug 1229394

Summary: [abrt] qemu-img: get_block_status(): qemu-img killed by SIGABRT
Product: [Fedora] Fedora Reporter: Eric Harney <eharney>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: amit.shah, berrange, cfergeau, crobinso, dwmw2, famz, itamar, jsnow, kwolf, pbonzini, rjones, stefanha, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c17b8ae279d52f3129b997b688102120409700ff
Whiteboard: abrt_hash:bd1589702e90b061cab12df522c5e8fb4e3bae72
Fixed In Version: qemu-2.3.1-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1283116 1283278 (view as bug list) Environment:
Last Closed: 2015-08-18 05:15:53 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:    
Bug Blocks: 1283116, 1283278, 1290683    
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: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Eric Harney 2015-06-08 15:17:22 UTC
Description of problem:
$ truncate -s 1G test_sparse
$ echo "a" >> test_sparse
$ qemu-img map test_sparse

Version-Release number of selected component:
qemu-img-2.3.0-4.fc22

Additional info:
reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        qemu-img map test_sparse
crash_function: get_block_status
executable:     /usr/bin/qemu-img
global_pid:     70309
kernel:         4.0.4-303.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (2 frames)
 #4 get_block_status at qemu-img.c:2190
 #5 img_map at qemu-img.c:2286

Comment 1 Eric Harney 2015-06-08 15:17:25 UTC
Created attachment 1036422 [details]
File: backtrace

Comment 2 Eric Harney 2015-06-08 15:17:26 UTC
Created attachment 1036423 [details]
File: cgroup

Comment 3 Eric Harney 2015-06-08 15:17:27 UTC
Created attachment 1036424 [details]
File: core_backtrace

Comment 4 Eric Harney 2015-06-08 15:17:28 UTC
Created attachment 1036425 [details]
File: dso_list

Comment 5 Eric Harney 2015-06-08 15:17:29 UTC
Created attachment 1036426 [details]
File: environ

Comment 6 Eric Harney 2015-06-08 15:17:30 UTC
Created attachment 1036427 [details]
File: limits

Comment 7 Eric Harney 2015-06-08 15:17:31 UTC
Created attachment 1036428 [details]
File: maps

Comment 8 Eric Harney 2015-06-08 15:17:32 UTC
Created attachment 1036429 [details]
File: mountinfo

Comment 9 Eric Harney 2015-06-08 15:17:33 UTC
Created attachment 1036430 [details]
File: namespaces

Comment 10 Eric Harney 2015-06-08 15:17:34 UTC
Created attachment 1036431 [details]
File: open_fds

Comment 11 Eric Harney 2015-06-08 15:17:35 UTC
Created attachment 1036432 [details]
File: proc_pid_status

Comment 12 Eric Harney 2015-06-08 15:17:36 UTC
Created attachment 1036433 [details]
File: var_log_messages

Comment 13 Cole Robinson 2015-06-08 20:52:53 UTC
Thanks for the simple reproducer! The assertion reproduces for me with qemu-2.1 up to current qemu.git

CCing some block layer folks

Comment 14 Kevin Wolf 2015-06-09 09:26:23 UTC
Sent an upstream patch to fix this:
http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg02505.html

Comment 15 Cole Robinson 2015-06-09 14:17:22 UTC
Thanks Kevin!

Comment 16 Fedora Update System 2015-08-11 22:10:47 UTC
qemu-2.3.0-7.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/qemu-2.3.0-7.fc22

Comment 17 Fedora Update System 2015-08-12 13:36:11 UTC
qemu-2.3.1-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/qemu-2.3.1-1.fc22

Comment 18 Fedora Update System 2015-08-13 16:57:16 UTC
Package qemu-2.3.1-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qemu-2.3.1-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-13402/qemu-2.3.1-1.fc22
then log in and leave karma (feedback).

Comment 19 Fedora Update System 2015-08-18 05:15:53 UTC
qemu-2.3.1-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.