
Hi Daniel, On Thu, Dec 18, 2008 at 1:47 PM, Daniel P. Berrange <berrange@redhat.com>wrote:
ps ax shows the following output right after the service is started:
3605 ? S 0:00 /usr/sbin/libvirtd --daemon 3624 ? Z 0:00 [libvirtd] <defunct>
If I don't enable any network at /etc/libvirt/qemu/networks/autostart, then there's no error.
This suggest libvirtd itself is *not* crashing. Some process that libvirtd runs is dieing - not sure which though.
Please kill all libvirtd instances, and making sure you have compiled with debugging info turned on (ie, '-g' compile flag), then run
# valgrind /usr/sbin/libvirtd
And also try
LIBVIRT_DEBUG=1 /usr/sbin/libvirtd
and send the output for both of these.
The output of these seperately, and combined (total 3 files) are attached. Guessing that there might a compiler flag problem, here's what our default compiler uses while compiling packages: cflags = -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2 cxxflags = -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2 host = i686-pc-linux-gnu jobs = -j1 ldflags = -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu A typical compile line for libvirt includes the following command, except the -g debug flag that we added: gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/include/libxml2 -DLIBDIR=\"/usr/lib\" -DBINDIR=\"/usr/libexec\" -DSBINDIR=\"/usr/sbin\" -DSYSCONF_DIR=\"/etc\" -DLOCALEBASEDIR=\"/usr/share/locale\" -DLOCAL_STATE_DIR=\"/var\" -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2 *-g* -MT libvirt_driver_xen_la-xen_internal.lo -MD -MP -MF .deps/libvirt_driver_xen_la-xen_internal.Tpo -c xen_internal.c -fPIC -DPIC -o .libs/libvirt_driver_xen_la-xen_internal.o Thanks again for any insight and please don't hesitate if you need further info from my side. Best Regards, Emre