Bug 646538

Summary: [abrt] qemu-img-2:0.13.0-1.fc14: get_cluster_table: Process /usr/bin/qemu-img was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: amit.shah, berrange, crobinso, dwmw2, ehabkost, itamar, jaswinder, jforbes, knoel, ondrejj, scottt.tw, tburke, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6c0e196bce89c3cce4a9ada18d37d0d45b4049a6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-20 19:49:16 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
File: backtrace
Fix for the qcow2 preallocate segfault none

Description Richard W.M. Jones 2010-10-25 11:53:52 EDT
abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: qemu-img create -f qcow2 -o preallocation=metadata /dev/null 1M
component: qemu
crash_function: get_cluster_table
executable: /usr/bin/qemu-img
package: qemu-img-2:0.13.0-1.fc14
rating: 4
reason: Process /usr/bin/qemu-img was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1288021976
uid: 500

How to reproduce
With qemu-img 0.13.0-1 from Fedora 14, non-root, do:

$ qemu-img create -f qcow2 -o preallocation=metadata /dev/null 1M
Formatting '/dev/null', fmt=qcow2 size=1048576 encryption=off cluster_size=0 preallocation='metadata' 
Segmentation fault (core dumped)
Comment 1 Richard W.M. Jones 2010-10-25 11:53:58 EDT
Created attachment 455566 [details]
File: backtrace
Comment 2 Richard W.M. Jones 2010-10-25 11:54:35 EDT
Does not segfault on F13.
Comment 3 Stefan Hajnoczi 2010-10-26 09:27:15 EDT
Created attachment 455769 [details]
Fix for the qcow2 preallocate segfault

This patch has been sent to qemu-devel for upstream inclusion.
Comment 4 Cole Robinson 2012-05-20 19:49:16 EDT
F14 is EOL and this fix is already in F15, so closing.