virsh crashed with SIGSEGV in xdr_string()

Bug #1039678 reported by Jamie Strandboge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Medium
Jamie Strandboge

Bug Description

I was having problems with image corruption in my sec-lucid-amd64 VM and so I used 'virsh snapshot-list' to see what snapshots were there. This resulted in a segfault:

$ virsh snapshot-list sec-lucid-amd64
Segmentation fault (core dumped)

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: libvirt-bin 0.9.13-0ubuntu7
ProcVersionSignature: Ubuntu 3.5.0-10.10-generic 3.5.1
Uname: Linux 3.5.0-10-generic x86_64
ApportVersion: 2.4-0ubuntu8
Architecture: amd64
Date: Tue Aug 21 13:29:14 2012
ExecutablePath: /usr/bin/virsh
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110425.2)
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.5.0-10-generic root=UUID=88689ad2-74b5-442c-9290-8ae60b63e16b ro quiet splash vt.handoff=7
SegvAnalysis:
 Segfault happened at: 0x7fce0e727a91 <__strlen_sse2+49>: pcmpeqb (%rax),%xmm0
 PC (0x7fce0e727a91) ok
 source "(%rax)" (0x000000b0) not located in a known VMA region (needed readable region)!
 destination "%xmm0" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: libvirt
StacktraceTop:
 xdr_string (xdrs=0x7fff0a77a160, cpp=0x7fff0a77a370, maxsize=1048576) at xdr.c:758
 ?? () from /usr/lib/libvirt.so.0
 ?? () from /usr/lib/libvirt.so.0
 ?? () from /usr/lib/libvirt.so.0
 virNetMessageEncodePayload () from /usr/lib/libvirt.so.0
Title: virsh crashed with SIGSEGV in xdr_string()
UpgradeStatus: Upgraded to quantal on 2012-08-13 (7 days ago)
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare sbuild
modified.conffile..etc.dnsmasq.d.libvirt.bin: [deleted]

Related branches

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 xdr_string (xdrs=0x7fff0a77a160, cpp=0x7fff0a77a370, maxsize=1048576) at xdr.c:758
 remoteRegister () at /build/buildd/libvirt-0.9.13/./src/remote/remote_driver.c:5472
 xdr_remote_nonnull_network (xdrs=0x7fff0a77a160, objp=0x7fff0a77a370) at /build/buildd/libvirt-0.9.13/./src/remote/remote_protocol.c:71
 ?? () at /build/buildd/libvirt-0.9.13/./src/remote/remote_protocol.c:4532 from /tmp/tmpMTy0h3/usr/lib/libvirt.so.0
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in libvirt (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Changed in libvirt (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
milestone: none → ubuntu-12.10-beta-1
status: New → In Progress
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 0.9.13-0ubuntu9

---------------
libvirt (0.9.13-0ubuntu9) quantal; urgency=low

  * debian/patches/lp1039678.patch: fix segfault in 'snapshot-list'
    - LP: #1039678
 -- Jamie Strandboge <email address hidden> Tue, 21 Aug 2012 13:59:34 -0500

Changed in libvirt (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.