Bug 837544
Summary: | snapshot-list return core dumped | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | yanbing du <ydu> |
Component: | libvirt | Assignee: | Eric Blake <eblake> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | acathrow, dallan, dyasny, dyuan, eblake, jyang, mzhan, pkrempa, rwu, whuang, zhpeng |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.10.2-5.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 07:18:43 UTC | Type: | Bug |
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: | 807545, 840699 |
Description
yanbing du
2012-07-04 08:14:31 UTC
Can you please provide a stacktrace of virsh when it crashes? How did you prepare the domain? Is this a case where it has no snapshots at all? Segfault fixed upstream with commit: commit d59e10338d97bd7e842c83551067aa26d685bdc9 Author: Peter Krempa <pkrempa> Date: Wed Jul 4 10:58:39 2012 +0200 remote: Fill remote parameters in remoteDomainListAllSnapshots() after this commit is applied I've got a division by zero error that was caused by incorrect order of arguments for vshCalloc. This problem is solved by commit: commit 3cdb3b4e648c6690fba3647da88d73f99367b8be Author: Peter Krempa <pkrempa> Date: Wed Jul 4 12:15:19 2012 +0200 virsh: Fix ordering of arguments when calling vshCalloc. Moving to POST. (In reply to comment #2) > Can you please provide a stacktrace of virsh when it crashes? How did you > prepare the domain? Is this a case where it has no snapshots at all? It occurred no matter snapshots exist or not, and the domain it normally installed via virt-manager with no special setting. Anyway, it already fixed upstream. Verify this bug with : libvirt-0.10.0-0rc0.el6.x86_64 # virsh snapshot-list ga Name Creation Time State ------------------------------------------------------------ One followup patch to fix one possible segfault of snapshot-list: # virsh snapshot-list test1 --descendants --current --tree (Reported by Kyla) http://post-office.corp.redhat.com/archives/rhvirt-patches/2012-October/msg01086.html. Move the bug to POST for further testing. Verify this bug : libvirt-0.10.2-5.el6.x86_64 # virsh snapshot-list test Name Creation Time State ------------------------------------------------------------ s-new 2012-10-24 14:17:15 +0800 running s-new-disk 2012-10-24 14:17:28 +0800 disk-snapshot s1 2012-10-09 14:03:54 +0800 disk-snapshot ss1 2012-10-24 14:22:58 +0800 disk-snapshot ss2 2012-10-24 14:25:03 +0800 disk-snapshot # virsh snapshot-list test --descendants --current --tree ss2 there is not core dumped 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. http://rhn.redhat.com/errata/RHSA-2013-0276.html |