[Bug 1388036] Re: qemu-img segmentation fault when asking for options
This bug was fixed in the package qemu-kvm - 1.0+noroms-0ubuntu14.20 --- qemu-kvm (1.0+noroms-0ubuntu14.20) precise-proposed; urgency=medium * Fix segfault on qemu-img convert with nonexistent source file (LP: #1388036) -- Serge HallynThu, 20 Nov 2014 10:11:21 -0600 ** Changed in: qemu-kvm (Ubuntu Precise) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388036 Title: qemu-img segmentation fault when asking for options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1388036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1388036] Re: qemu-img segmentation fault when asking for options
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388036 Title: qemu-img segmentation fault when asking for options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1388036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1388036] Re: qemu-img segmentation fault when asking for options
ubuntu@srv-3wzed:~$ uname -a Linux srv-3wzed 3.2.0-69-virtual #103-Ubuntu SMP Tue Sep 2 05:28:41 UTC 2014 i686 i686 i386 GNU/Linux ubuntu@srv-3wzed:~$ dpkg -s qemu-utils | grep Version Version: 1.0+noroms-0ubuntu14.20 ubuntu@srv-3wzed:~$ qemu-img convert -O qcow2 -o ? a b 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 preallocationPreallocation mode (allowed values: off, metadata) ubuntu@srv-3wzed:~$ sudo qemu-img convert -O qcow2 -o ? a b 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 preallocationPreallocation mode (allowed values: off, metadata) Also fixed on i686 version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388036 Title: qemu-img segmentation fault when asking for options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1388036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1388036] Re: qemu-img segmentation fault when asking for options
ubuntu@srv-puxvl:~$ uname -a Linux srv-puxvl 3.2.0-70-virtual #105-Ubuntu SMP Wed Sep 24 20:06:46 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux ubuntu@srv-puxvl:~$ dpkg -s qemu-utils | grep Version Version: 1.0+noroms-0ubuntu14.20 ubuntu@srv-puxvl:~$ qemu-img convert -O qcow2 -o ? a b 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 preallocationPreallocation mode (allowed values: off, metadata) ubuntu@srv-puxvl:~$ sudo qemu-img convert -O qcow2 -o ? a b 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 preallocationPreallocation mode (allowed values: off, metadata) The fix corrects the segmentation fault. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388036 Title: qemu-img segmentation fault when asking for options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1388036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1388036] Re: qemu-img segmentation fault when asking for options
Hello Neil, or anyone else affected, Accepted qemu-kvm into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/qemu-kvm/1.0+noroms- 0ubuntu14.20 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: qemu-kvm (Ubuntu Precise) Status: Triaged => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388036 Title: qemu-img segmentation fault when asking for options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1388036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1388036] Re: qemu-img segmentation fault when asking for options
** Description changed: + + 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 preallocationPreallocation 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-0ubuntu14.18 ProcVersionSignature: Ubuntu 3.2.0-65.98-generic 3.2.60 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388036 Title: qemu-img segmentation fault when asking for options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1388036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1388036] Re: qemu-img segmentation fault when asking for options
Thanks! Brilliant example of how assumptions can interfere with bug reproductions. I had never tried with 'a' not existing. That appears to be the trigger. ** Also affects: qemu-kvm (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided => Medium ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete => Fix Released ** Changed in: qemu-kvm (Ubuntu Precise) Importance: Undecided => Medium ** Changed in: qemu-kvm (Ubuntu Precise) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1388036 Title: qemu-img segmentation fault when asking for options To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1388036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs