On Wed, Apr 21, 2010 at 14:34, Stephen Shaw <sshaw(a)decriptor.com> wrote:
I'm getting a seg fault when running virsh snapshot-create 1, but
only
when virt-manager is open and connected.
Here is some of the debug info I was able to come up with -
http://fpaste.org/9GO6/ (bt)
http://fpaste.org/7gkH/ ('thread apply all bt)
Here is the text since those seem to be expired:
################ bt
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff14d4910 (LWP 10112)]
0x000000000047c570 in qemuMonitorSend (mon=0x730570,
msg=0x7ffff14d3ac0) at qemu/qemu_monitor.c:708
708 while (!mon->msg->finished) {
(gdb) bt
#0 0x000000000047c570 in qemuMonitorSend (mon=0x730570,
msg=0x7ffff14d3ac0) at qemu/qemu_monitor.c:708
#1 0x000000000047edb5 in qemuMonitorCommandWithHandler (mon=0x730570,
cmd=0x4c4df5 "info balloon", passwordHandler=0,
passwordOpaque=0x0, scm_fd=-1, reply=0x7ffff14d3bd0) at
qemu/qemu_monitor_text.c:232
#2 0x000000000047ef29 in qemuMonitorCommandWithFd (mon=0x730570,
cmd=0x4c4df5 "info balloon", scm_fd=-1, reply=0x7ffff14d3bd0)
at qemu/qemu_monitor_text.c:266
#3 0x000000000047ef64 in qemuMonitorCommand (mon=0x730570,
cmd=0x4c4df5 "info balloon", reply=0x7ffff14d3bd0)
at qemu/qemu_monitor_text.c:273
#4 0x000000000047f8cc in qemuMonitorTextGetBalloonInfo (mon=0x730570,
currmem=0x7ffff14d3c70) at qemu/qemu_monitor_text.c:552
#5 0x000000000047d04b in qemuMonitorGetBalloonInfo (mon=0x730570,
currmem=0x7ffff14d3c70) at qemu/qemu_monitor.c:958
#6 0x000000000044fd80 in qemudDomainGetInfo (dom=0x762af0,
info=0x7ffff14d3d70) at qemu/qemu_driver.c:4462
#7 0x00007ffff7897f5e in virDomainGetInfo (domain=0x762af0,
info=0x7ffff14d3d70) at libvirt.c:3010
#8 0x0000000000422019 in remoteDispatchDomainGetInfo
(server=0x6fcbf0, client=0x7fffe8000900, conn=0x7309d0,
hdr=0x7fffe8140c20,
rerr=0x7ffff14d3de0, args=0x7ffff14d3ee0, ret=0x7ffff14d3e80) at
remote.c:1417
#9 0x000000000042c8f1 in remoteDispatchClientCall (server=0x6fcbf0,
client=0x7fffe8000900, msg=0x7fffe8100c10) at dispatch.c:506
#10 0x000000000042c49a in remoteDispatchClientRequest
(server=0x6fcbf0, client=0x7fffe8000900, msg=0x7fffe8100c10) at
dispatch.c:388
#11 0x000000000041a94f in qemudWorker (data=0x6ff9d0) at libvirtd.c:1553
#12 0x00007ffff67ac65d in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff651be1d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()
################# thread apply all bt
Thread 7 (Thread 0x7ffff04d2910 (LWP 10114)):
#0 0x00007ffff67b1049 in pthread_cond_wait@(a)GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x000000000043b6a7 in virCondWait (c=0x6fcc18, m=0x6fcbf0) at
util/threads-pthread.c:100
#2 0x000000000041a88f in qemudWorker (data=0x6ffa00) at libvirtd.c:1532
#3 0x00007ffff67ac65d in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff651be1d in clone () from /lib64/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7ffff0cd3910 (LWP 10113)):
#0 0x00007ffff67b1049 in pthread_cond_wait@(a)GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x000000000043b6a7 in virCondWait (c=0x6fcc18, m=0x6fcbf0) at
util/threads-pthread.c:100
#2 0x000000000041a88f in qemudWorker (data=0x6ff9e8) at libvirtd.c:1532
#3 0x00007ffff67ac65d in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff651be1d in clone () from /lib64/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7ffff14d4910 (LWP 10112)):
#0 0x000000000047c570 in qemuMonitorSend (mon=0x730570,
msg=0x7ffff14d3ac0) at qemu/qemu_monitor.c:708
#1 0x000000000047edb5 in qemuMonitorCommandWithHandler (mon=0x730570,
cmd=0x4c4df5 "info balloon", passwordHandler=0,
passwordOpaque=0x0, scm_fd=-1, reply=0x7ffff14d3bd0) at
qemu/qemu_monitor_text.c:232
#2 0x000000000047ef29 in qemuMonitorCommandWithFd (mon=0x730570,
cmd=0x4c4df5 "info balloon", scm_fd=-1, reply=0x7ffff14d3bd0)
at qemu/qemu_monitor_text.c:266
#3 0x000000000047ef64 in qemuMonitorCommand (mon=0x730570,
cmd=0x4c4df5 "info balloon", reply=0x7ffff14d3bd0)
at qemu/qemu_monitor_text.c:273
#4 0x000000000047f8cc in qemuMonitorTextGetBalloonInfo (mon=0x730570,
currmem=0x7ffff14d3c70) at qemu/qemu_monitor_text.c:552
#5 0x000000000047d04b in qemuMonitorGetBalloonInfo (mon=0x730570,
currmem=0x7ffff14d3c70) at qemu/qemu_monitor.c:958
#6 0x000000000044fd80 in qemudDomainGetInfo (dom=0x762af0,
info=0x7ffff14d3d70) at qemu/qemu_driver.c:4462
#7 0x00007ffff7897f5e in virDomainGetInfo (domain=0x762af0,
info=0x7ffff14d3d70) at libvirt.c:3010
#8 0x0000000000422019 in remoteDispatchDomainGetInfo
(server=0x6fcbf0, client=0x7fffe8000900, conn=0x7309d0,
hdr=0x7fffe8140c20,
rerr=0x7ffff14d3de0, args=0x7ffff14d3ee0, ret=0x7ffff14d3e80) at
remote.c:1417
#9 0x000000000042c8f1 in remoteDispatchClientCall (server=0x6fcbf0,
client=0x7fffe8000900, msg=0x7fffe8100c10) at dispatch.c:506
#10 0x000000000042c49a in remoteDispatchClientRequest
(server=0x6fcbf0, client=0x7fffe8000900, msg=0x7fffe8100c10) at
dispatch.c:388
---Type <return> to continue, or q <return> to quit---
#11 0x000000000041a94f in qemudWorker (data=0x6ff9d0) at libvirtd.c:1553
#12 0x00007ffff67ac65d in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff651be1d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7ffff1cd5910 (LWP 10110)):
#0 0x00007ffff67b1049 in pthread_cond_wait@(a)GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x000000000043b6a7 in virCondWait (c=0x6fcc18, m=0x6fcbf0) at
util/threads-pthread.c:100
#2 0x000000000041a88f in qemudWorker (data=0x6ff9b8) at libvirtd.c:1532
#3 0x00007ffff67ac65d in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff651be1d in clone () from /lib64/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7ffff24d6910 (LWP 10108)):
#0 0x00007ffff67b1049 in pthread_cond_wait@(a)GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x000000000043b6a7 in virCondWait (c=0x6fcc18, m=0x6fcbf0) at
util/threads-pthread.c:100
#2 0x000000000041a88f in qemudWorker (data=0x6ff9a0) at libvirtd.c:1532
#3 0x00007ffff67ac65d in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff651be1d in clone () from /lib64/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7ffff2cd7910 (LWP 10107)):
#0 0x00007ffff6512d03 in poll () from /lib64/libc.so.6
#1 0x0000000000416cea in virEventRunOnce () at event.c:593
#2 0x000000000041bfd8 in qemudOneLoop () at libvirtd.c:2200
#3 0x000000000041c4ef in qemudRunLoop (opaque=0x6fcbf0) at libvirtd.c:2309
#4 0x00007ffff67ac65d in start_thread () from /lib64/libpthread.so.0
#5 0x00007ffff651be1d in clone () from /lib64/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fd2790 (LWP 10104)):
#0 0x00007ffff67ad96d in pthread_join () from /lib64/libpthread.so.0
#1 0x000000000041f265 in main (argc=2, argv=0x7fffffffe3e8) at libvirtd.c:3227