** Description changed:
+ =======================
+ 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 :
virStorageBackendVolOpenCheckMode:1019 : cannot stat file '/dev/vg1/kvm.24': No
such file or directory
*** glibc detected *** libvirtd: free(): invalid pointer: 0x00007faaf8000078
***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7e626)[0x7fab09d9b626]
/usr/lib/libvirt.so.0(virFree+0x29)[0x7fab0b7f99c9]
/usr/lib/libvirt.so.0(virStorageVolDefFree+0x19)[0x7fab0b841469]
/usr/lib/libvirt.so.0(virStoragePoolObjClearVols+0x2a)[0x7fab0b8429ca]
libvirtd[0x4bd948]
libvirtd[0x4b6409]
libvirtd[0x4b6786]
/usr/lib/libvirt.so.0(virStateInitialize+0x6e)[0x7fab0b86729e]
libvirtd[0x420e61]
/usr/lib/libvirt.so.0(+0x4e9d2)[0x7fab0b8029d2]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7fab0a0e1e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fab09e0f4bd]
---
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-0.9.8-2ubuntu17.3.
** Changed in: libvirt (Ubuntu Precise)
Assignee: Serge Hallyn (serge-hallyn) => (unassigned)
** Changed in: libvirt (Ubuntu Precise)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1035320
Title:
free(): invalid pointer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1035320/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs