On Fri, 2014-04-25 at 14:12 -0600, Jim Fehlig wrote:
I dropped initializing the variable and pushed the patch.
Thanks!
Thanks! I rebased to current master (no additional patches on my end)
tried to test and suddenly libvirtd is segfaulting in libxl when I run
virsh create. The fault is at "nexus->ev = 0" in osevent_release_nexus.
I haven't changed my Xen and I updated libvirt from
cc92ee32cde8d0ce0092d3ff30aece90af7b1781 + this patch to
eec2f65946388102f8acdd63f13c21a8b9aae806, nothing in that range looks
relevant.
Any ideas?
Ian.
2014-04-28 11:02:44.719+0000: 3029: info : libvirt version: 1.2.4
2014-04-28 11:02:44.719+0000: 3029: error : dnsmasqCapsRefreshInternal:726 : Cannot check
dnsmasq binary dnsmasq: No such file or directory
2014-04-28 11:02:44.723+0000: 3029: error : virFirewallValidateBackend:156 : direct
firewall backend requested, but /sbin/ebtables is not available: No such file or
directory
2014-04-28 11:02:44.753+0000: 3029: error : virExec:417 : Cannot find
'pm-is-supported' in path: No such file or directory
2014-04-28 11:02:44.753+0000: 3029: warning : virQEMUCapsInit:946 : Failed to get host
power management capabilities
[Thread 0xb1553420 (LWP 3029) exited]
2014-04-28 11:02:45.679+0000: 3022: error : libxlDomainStart:1189 : internal error:
libxenlight failed to create new domain 'libvirt-test'
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5017420 (LWP 3022)]
0xb1706324 in osevent_release_nexus (gc=0xb5016904, nexi_idle=0x2a0b5c74, nexus=0x0) at
libxl_event.c:119
119 libxl_event.c: No such file or directory.
(gdb) bt
#0 0xb1706324 in osevent_release_nexus (gc=0xb5016904, nexi_idle=0x2a0b5c74, nexus=0x0)
at libxl_event.c:119
#1 0xb1706e60 in osevent_hook_pre_release (nexus=0x2a0b5ccc, nexi_idle=<optimized
out>, ev=0x2a0b5cb8, gc=0xb5016904) at libxl_event.c:149
#2 libxl__ev_fd_deregister (gc=0xb5016904, ev=0x2a0b5cb8) at libxl_event.c:231
#3 0xb16dd2b4 in libxl_ctx_free (ctx=0x2a0b5c00) at libxl.c:156
#4 0xb173cbd6 in libxlDomainObjPrivateDispose () from
/opt/libvirt/lib/libvirt/connection-driver/libvirt_driver_libxl.so
#5 0xb6c8745a in virObjectUnref () from /opt/libvirt/lib/libvirt.so.0
#6 0xb173cc5a in libxlDomainObjPrivateFree () from
/opt/libvirt/lib/libvirt/connection-driver/libvirt_driver_libxl.so
#7 0xb6cb39ee in virDomainObjDispose () from /opt/libvirt/lib/libvirt.so.0
#8 0xb6c8745a in virObjectUnref () from /opt/libvirt/lib/libvirt.so.0
#9 0xb6cb4342 in virDomainObjListRemove () from /opt/libvirt/lib/libvirt.so.0
#10 0xb173ffb4 in libxlDomainCreateXML () from
/opt/libvirt/lib/libvirt/connection-driver/libvirt_driver_libxl.so
#11 0xb6d389d0 in virDomainCreateXML () from /opt/libvirt/lib/libvirt.so.0
#12 0x2a018b8a in remoteDispatchDomainCreateXML ()
#13 0x2a018ac8 in remoteDispatchDomainCreateXMLHelper ()
#14 0x2a054cee in virNetServerProgramDispatchCall ()
#15 0x2a05493a in virNetServerProgramDispatch ()
#16 0x2a04efc8 in virNetServerProcessMsg ()
#17 0x2a04f080 in virNetServerHandleJob ()
#18 0xb6c9d318 in virThreadPoolWorker () from /opt/libvirt/lib/libvirt.so.0
#19 0xb6c9cd9c in virThreadHelper () from /opt/libvirt/lib/libvirt.so.0
#20 0xb6be3ebc in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#21 0xb6b517f8 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#22 0xb6b517f8 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)