qemu-img segmentation fault when asking for options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
=======
Impact: qemu-img segfaults
Test case: qemu-img convert -O qcow2 -o ? a b
Regression potential: this only ensures that data is initialized before we call a fn dereferencing it. Any regressions will be localized to qemu-img.
=======
When you ask for options for a command on the precise version of qemu-img
qemu-img convert -O qcow2 -o ? a b
The tool seg faults:
Supported options:
size Virtual disk size
backing_file File name of a base image
backing_fmt Image format of the base image
encryption Encrypt the image
cluster_size qcow2 cluster size
preallocation Preallocation mode (allowed values: off, metadata)
Segmentation fault (core dumped)
This is fixed upstream in later versions, but may be worth backporting to precise.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: qemu-utils 1.0+noroms-
ProcVersionSign
Uname: Linux 3.2.0-65-generic i686
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Fri Oct 31 10:41:52 2014
MarkForUpload: True
SourcePackage: qemu-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Hi,
I can't actually reproduce this on my precise server. Could you please
show the full, precise set of commands you used starting with an empty
directory?
status: incomplete