Re: [libvirt] virsh hangs

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

 



On Tue, Jun 23, 2009 at 03:28:40PM -0700, Garry Dolley wrote:
> On Tue, Jun 23, 2009 at 09:39:25PM +0100, Daniel P. Berrange wrote:
> > Install the -debug packages for libvirt, and get a trace
> > of all its threads under GDB, eg
> > 
> >   (gdb) thread apply all backtrace
> > 
> > 
> > Also, capture traces of the client & server, by setting LIBVIRT_DEBUG=1
> > before running each.
> 
> I solved the problem, but thanks for this info.  I'll use it next
> time.
> 
> How do I attach gdb to a running process? (I'm a gdb noob)

  gdb path_to_the_binary

  (gdb) attach pid_of_the_process

this will attach to the process, load the debugging informations, stop
the process and get back to the gdb prompt for commands.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]