[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 0/8] Various KVM PCI device assignment improvements



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]