free(): invalid pointer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
SRU justification
1. Impact: libvirt crashes
2. Development fix: upstream commit which avoids freeing memoryin an error path where it has not been allocated.
3. Stable fix: cherrypick development fix.
4. Test case: specify invalid lvm volume and start vm
5. Regression potential: should be none as it was a straightforward cherrypick of upstream commit.
=======
libvirtd is crashing for me with these messages:
---
2012-08-10 12:34:10.459+0000: 11684: info : libvirt version: 0.9.8
2012-08-10 12:34:10.459+0000: 11684: error : virStorageBacke
*** glibc detected *** libvirtd: free(): invalid pointer: 0x00007faaf8000078 ***
======= Backtrace: =========
/lib/x86_
/usr/lib/
/usr/lib/
/usr/lib/
libvirtd[0x4bd948]
libvirtd[0x4b6409]
libvirtd[0x4b6786]
/usr/lib/
libvirtd[0x420e61]
/usr/lib/
/lib/x86_
/lib/x86_
---
Apparently, the problem was some dangling LVM volume still listed by "lvs" but actually not existent in /dev/vg1.
I'm running precise, amd64, libvirt-
Related branches
description: | updated |
Changed in libvirt (Ubuntu Precise): | |
assignee: | Serge Hallyn (serge-hallyn) → nobody |
status: | Confirmed → Triaged |
Thanks for reporting this bug.
I suspect upstream commit 380f326955a25f8 4dca45b4eead2a7 aa4d11e6f2 may be the fix for crash. Are you still able to reproduce this at will? If so I'll push a package with the proposed fix to a ppa for testing.