Hi Daniel, <br><br><div class="gmail_quote">On Thu, Dec 18, 2008 at 1:47 PM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> ps ax shows the following output right after the service is started:<br>
><br>
>  3605 ?        S      0:00 /usr/sbin/libvirtd --daemon<br>
>  3624 ?        Z      0:00 [libvirtd] <defunct><br>
><br>
> If I don't enable any network at  /etc/libvirt/qemu/networks/autostart, then<br>
> there's no error.<br>
<br>
</div>This suggest libvirtd itself is *not* crashing. Some process that<br>
libvirtd runs is dieing - not sure which though.<br>
<br>
Please kill all libvirtd  instances, and making sure you have compiled<br>
with debugging info turned on (ie, '-g' compile flag), then run<br>
<br>
 # valgrind /usr/sbin/libvirtd<br>
<br>
And also try<br>
<br>
  LIBVIRT_DEBUG=1 /usr/sbin/libvirtd<br>
<br>
and send the output for both of these.</blockquote></div><br>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:<br>
<div style="margin-left: 40px;"><br>cflags = -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2<br>cxxflags = -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2<br>
host = i686-pc-linux-gnu                                                                                  <br>jobs = -j1<br>ldflags = -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu<br></div><br>A typical compile line for libvirt includes the following command, except the -g debug flag that we added:<br>
<br><div style="margin-left: 40px;"> 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 <b>-g</b> -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_interna!
 l.o<br>
</div><br><br>Thanks again for any insight and please don't hesitate if you need further info from my side.<br><br>Best Regards,<br><br><br>Emre<br>