"virsh" list

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

 



Hello,

I installed libvirt from package manager(debian apt) and want to modify
feture in it, so i git clone from https://libvirt.org/git/?p=libvirt.git;a=summary

But now i have trouble to start virsh.

I have traced the email:

https://www.redhat.com/archives/libvirt-users/2017-February/msg00074.html

Here is output of command below:

strace -o libvirt.log -f -s 1000 /usr/sbin/libvirtd

https://github.com/yuzibo/linux-programming/blob/master/tmp/libvirt.log

Here:
sudo gdb -p $(pgrep libvirtd)
(gdb) t a a bt
[New LWP 14781]
[New LWP 14782]
[New LWP 14783]
[New LWP 14784]
[New LWP 14785]
[New LWP 14786]
[New LWP 14787]
[New LWP 14788]
[New LWP 14789]
[New LWP 14790]
[New LWP 14791]
[New LWP 14792]
[New LWP 14793]
[New LWP 14794]
[New LWP 14795]
[New LWP 14796]
[New LWP 14799]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fcf4c75f67d in poll () at ../sysdeps/unix/syscall-template.S:84
84../sysdeps/unix/syscall-template.S: (no such file or directory)没有那个文件或目录.
""
Thread 18 (Thread 0x7fcf3a4e8700 (LWP 14799)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x7fcf3400cc90,
   m=m@entry=0x7fcf3400cc50) at util/virthread.c:154
#2  0x00007fcf405498a0 in udevEventHandleThread (opaque=<optimized out>)
   at node_device/node_device_udev.c:1606
#3  0x00007fcf4e17ec02 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf3a4e8700)
   at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 17 (Thread 0x7fcf3b315700 (LWP 14796)):
#0  0x00007fcf4c75f67d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcf4c77917e in __poll_chk (fds=<optimized out>,
   nfds=<optimized out>, timeout=<optimized out>, fdslen=<optimized out>)
   at poll_chk.c:27
#2  0x00007fcf4e10f281 in poll (__timeout=-1, __nfds=<optimized out>,
   __fds=0x7fcf3b3143b0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:41
#3  virCommandProcessIO (cmd=cmd@entry=0x7fcf34015d30)
--Type <return> to continue, or q <return> to quit---
   at util/vircommand.c:2085
#4  0x00007fcf4e1134ea in virCommandRun (cmd=0x7fcf34015d30,
   exitstatus=exitstatus@entry=0x7fcf3b314924) at util/vircommand.c:2316
#5  0x00007fcf3e239fca in virQEMUCapsInitQMPCommandRun (
   cmd=cmd@entry=0x7fcf34015b10, forceTCG=forceTCG@entry=false)
   at qemu/qemu_capabilities.c:4262
#6  0x00007fcf3e23f4b9 in virQEMUCapsInitQMP (qmperr=0x7fcf3b314970,
   runGid=<optimized out>, runUid=<optimized out>, libDir=<optimized out>,
   qemuCaps=0x7fcf340159d0) at qemu/qemu_capabilities.c:4318
#7  virQEMUCapsNewForBinaryInternal (hostArch=VIR_ARCH_X86_64,
   binary=0x7fcf3403e160 "/usr/local/bin/qemu-system-x86_64",
   libDir=<optimized out>, runUid=<optimized out>, runGid=<optimized out>,
   microcodeVersion=166,
   kernelVersion=0x7fcf3404e120 "4.14.0+ #1 SMP Sun Nov 26 15:17:48 HKT 2017")
   at qemu/qemu_capabilities.c:4405
#8  0x00007fcf3e23f793 in virQEMUCapsNewData (binary=<optimized out>,
   privData=<optimized out>) at qemu/qemu_capabilities.c:4447
#9  0x00007fcf4e18ca1e in virFileCacheNewData (
   name=0x7fcf3403e160 "/usr/local/bin/qemu-system-x86_64",
   cache=0x7fcf3404ddf0) at util/virfilecache.c:219
#10 virFileCacheValidate (cache=cache@entry=0x7fcf3404ddf0,
   name=name@entry=0x7fcf3403e160 "/usr/local/bin/qemu-system-x86_64",
   data=data@entry=0x7fcf3b314ae0) at util/virfilecache.c:290
---Type <return> to continue, or q <return> to quit---
#11 0x00007fcf4e18cd77 in virFileCacheLookup (
   cache=cache@entry=0x7fcf3404ddf0,
   name=name@entry=0x7fcf3403e160 "/usr/local/bin/qemu-system-x86_64")
  at util/virfilecache.c:323
#12 0x00007fcf3e23f9ee in virQEMUCapsCacheLookup (
  cache=cache@entry=0x7fcf3404ddf0,
  binary=0x7fcf3403e160 "/usr/local/bin/qemu-system-x86_64")
 at qemu/qemu_capabilities.c:4583
#13 0x00007fcf3e23fc94 in virQEMUCapsInitGuest (guestarch=VIR_ARCH_X86_64,
  hostarch=VIR_ARCH_X86_64, cache=0x7fcf3404ddf0, caps=0x7fcf3404ded0)
   at qemu/qemu_capabilities.c:736
#14 virQEMUCapsInit (cache=0x7fcf3404ddf0) at qemu/qemu_capabilities.c:971
#15 0x00007fcf3e28d3a0 in virQEMUDriverCreateCapabilities (
  driver=driver@entry=0x7fcf3401cbd0) at qemu/qemu_conf.c:1101
#16 0x00007fcf3e2d0be2 in qemuStateInitialize (privileged=true,
 callback=<optimized out>, opaque=<optimized out>) at qemu/qemu_driver.c:851
#17 0x00007fcf4e2b0bff in virStateInitialize (privileged=<optimized out>,
  callback=0x564b91ad18a0 <daemonInhibitCallback>, opaque=0x564b933e4540)
  at libvirt.c:662
#18 0x0000564b91ad18fb in daemonRunStateInit (opaque=0x564b933e4540)
       at remote/remote_daemon.c:802
#19 0x00007fcf4e17ec02 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
	    ---Type <return> to continue, or q <return> to quit---
#20 0x00007fcf4ca26494 in start_thread (arg=0x7fcf3b315700)
   at pthread_create.c:333
#21 0x00007fcf4c768acf in clone ()
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

   Thread 16 (Thread 0x7fcf3bb16700 (LWP 14795)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933f1bc8,
   m=m@entry=0x564b933f1ba0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
   opaque=opaque@entry=0x564b933d6d80) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf3bb16700)
       at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 15 (Thread 0x7fcf3c317700 (LWP 14794)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933f1bc8,
---Type <return> to continue, or q <return> to quit---
		    m=m@entry=0x564b933f1ba0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
   opaque=opaque@entry=0x564b933d6cc0) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf3c317700)
   at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

   Thread 14 (Thread 0x7fcf3cb18700 (LWP 14793)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933f1bc8,
		    m=m@entry=0x564b933f1ba0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d6c00) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf3cb18700)
     at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
   ---Type <return> to continue, or q <return> to quit---

  Thread 13 (Thread 0x7fcf3d319700 (LWP 14792)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933f1bc8,
		    m=m@entry=0x564b933f1ba0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
   opaque=opaque@entry=0x564b933d6b20) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf3d319700)
   at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

   Thread 12 (Thread 0x7fcf3db1a700 (LWP 14791)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933f1bc8,
		    m=m@entry=0x564b933f1ba0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d6a60) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
---Type <return> to continue, or q <return> to quit---
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf3db1a700)
   at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 11 (Thread 0x7fcf41df5700 (LWP 14790)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e49b8,
  m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f944 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d5ca0) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf41df5700)
      at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

   Thread 10 (Thread 0x7fcf425f6700 (LWP 14789)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
---Type <return> to continue, or q <return> to quit---
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e49b8,
		    m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f944 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d5b00) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf425f6700)
  at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
	    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 9 (Thread 0x7fcf42df7700 (LWP 14788)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
  at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e49b8,
	    m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f944 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d5bc0) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf42df7700)
   at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
---Type <return> to continue, or q <return> to quit---
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 8 (Thread 0x7fcf435f8700 (LWP 14787)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
		        at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e49b8,
  m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f944 in virThreadPoolWorker (
   opaque=opaque@entry=0x564b933d5b00) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf435f8700)
       at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 7 (Thread 0x7fcf43df9700 (LWP 14786)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e49b8,
  m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f944 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d5d60) at util/virthreadpool.c:124
---Type <return> to continue, or q <return> to quit---
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf43df9700)
   at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

	    Thread 6 (Thread 0x7fcf445fa700 (LWP 14785)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
  at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e4918,
		    m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d5b00) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf445fa700)
  at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 5 (Thread 0x7fcf44dfb700 (LWP 14784)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
  ---Type <return> to continue, or q <return> to quit---
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e4918,
		    m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
   opaque=opaque@entry=0x564b933d5bc0) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf44dfb700)
   at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

   Thread 4 (Thread 0x7fcf455fc700 (LWP 14783)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
  at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e4918,
		    m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
   opaque=opaque@entry=0x564b933d5ca0) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf455fc700)
  at pthread_create.c:333
---Type <return> to continue, or q <return> to quit---
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 3 (Thread 0x7fcf45dfd700 (LWP 14782)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
  at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e4918,
	    m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
  opaque=opaque@entry=0x564b933d5d60) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf45dfd700)
       at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 2 (Thread 0x7fcf465fe700 (LWP 14781)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
   at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf4e17ee36 in virCondWait (c=c@entry=0x564b933e4918,
		    m=m@entry=0x564b933e48f0) at util/virthread.c:154
#2  0x00007fcf4e17f983 in virThreadPoolWorker (
---Type <return> to continue, or q <return> to quit---
  opaque=opaque@entry=0x564b933d5e20) at util/virthreadpool.c:124
#3  0x00007fcf4e17ebd8 in virThreadHelper (data=<optimized out>)
   at util/virthread.c:206
#4  0x00007fcf4ca26494 in start_thread (arg=0x7fcf465fe700)
       at pthread_create.c:333
#5  0x00007fcf4c768acf in clone ()
  at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

  Thread 1 (Thread 0x7fcf4eb4dd40 (LWP 14780)):
#0  0x00007fcf4c75f67d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcf4e122684 in poll (__timeout=-1, __nfds=6, __fds=<optimized out>)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  virEventPollRunOnce () at util/vireventpoll.c:641
#3  0x00007fcf4e121371 in virEventRunDefaultImpl () at util/virevent.c:327
#4  0x00007fcf4e243e4d in virNetDaemonRun (dmn=0x564b933e4540)
			    at rpc/virnetdaemon.c:850
#5  0x0000564b91ad0d5e in main (argc=<optimized out>, argv=<optimized out>)
			        at remote/remote_daemon.c:1460

Thank you in advance!

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux