[libvirt] Segfault in libvirt with lxc driver

Thomas Hunger tehunger at gmail.com
Wed Mar 14 09:12:16 UTC 2012


Hi,

I am running libvirt 0.10 on debian [1] and I am getting the following
segfault [2] about once a day when using the lxc driver. I don't know
how to reproduce the circumstances unfortunately. It seems to happen
when destroying domains. I attached the debug log leading up to the
segfault. Is this useful? Do you need more information?

best, Tom

[1]
$ uname -a
Linux zap 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux

[2]
Program received signal SIGSEGV, Segmentation fault.
lxcMonitorEvent (watch=43, fd=23, events=<value optimized out>, data=0x82ffa0)
   at /tmp/buildd/libvirt-0.9.10/./src/lxc/lxc_driver.c:1512
1512    /tmp/buildd/libvirt-0.9.10/./src/lxc/lxc_driver.c: No such file
or directory.
       in /tmp/buildd/libvirt-0.9.10/./src/lxc/lxc_driver.c

(gdb) bt
#0  lxcMonitorEvent (watch=43, fd=23, events=<value optimized out>,
data=0x82ffa0)
   at /tmp/buildd/libvirt-0.9.10/./src/lxc/lxc_driver.c:1512
#1  0x00007ffff77c48b2 in virEventPollDispatchHandles () at
/tmp/buildd/libvirt-0.9.10/./src/util/event_poll.c:490
#2  virEventPollRunOnce () at
/tmp/buildd/libvirt-0.9.10/./src/util/event_poll.c:637
#3  0x00007ffff77c32f7 in virEventRunDefaultImpl () at
/tmp/buildd/libvirt-0.9.10/./src/util/event.c:247
#4  0x00007ffff788dffd in virNetServerRun (srv=0x76a410) at
/tmp/buildd/libvirt-0.9.10/./src/rpc/virnetserver.c:735
#5  0x0000000000423430 in main (argc=<value optimized out>,
argv=<value optimized out>)
   at /tmp/buildd/libvirt-0.9.10/./daemon/libvirtd.c:1602
-------------- next part --------------
A non-text attachment was scrubbed...
Name: segfault
Type: application/octet-stream
Size: 1053 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120314/c0776e76/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_output.gz
Type: application/x-gzip
Size: 17558 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120314/c0776e76/attachment-0001.bin>


More information about the libvir-list mailing list