Mirko Raasch wrote:
How can i use valgrind or some other debugging options with "/etc/init.d/libvirt-bin"?

This won't work for valgrind, but the gdb "attach" command will let you connect to (and thus get a stack trace from) a running process.

If your libvirtd has PID 12054, for instance:

$ gdb /usr/sbin/libvirtd
(gdb) attach 12054
...let it attach, and then cause the crash...
(gdb) bt
^^ and post the output.

The stack trace will be most informative if your build was done with debug symbols enabled and not stripped on installation.

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to