On Tue, Oct 09, 2007 at 03:50:37PM +0530, Veerendra wrote:
Hi all,
I have installed <mailto:libvir-list@redhat.com>libvirt-0.3.3-1, on my
RHEL 5 64 bit machine(KerVer 2.6.18-8.el5xen).
But I am getting core-dump , while executing virsh command.
Could anyone please help me to solve this?
#gdb /usr/bin/virsh core
Core was generated by `virsh'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000393686ca27 in malloc_consolidate () from /lib64/libc.so.6
(gdb) where
#0 0x000000393686ca27 in malloc_consolidate () from /lib64/libc.so.6
#1 0x000000393686eea2 in _int_malloc () from /lib64/libc.so.6
#2 0x00000039368706dd in malloc () from /lib64/libc.so.6
#3 0x000000393685eb4a in __fopen_internal () from /lib64/libc.so.6
#4 0x000000393682cb5f in read_alias_file () from /lib64/libc.so.6
#5 0x000000393682d09e in _nl_expand_alias () from /lib64/libc.so.6
#6 0x000000393682b93e in _nl_find_domain () from /lib64/libc.so.6
#7 0x000000393682b2ff in __dcigettext () from /lib64/libc.so.6
#8 0x000000393687530c in strerror_r () from /lib64/libc.so.6
#9 0x000000393687514e in strerror () from /lib64/libc.so.6
#10 0x00002aaaaab018f2 in __virConfReadFile () from /usr/lib64/libvirt.so.0
#11 0x00002aaaaab021ec in __virConfReadFile () from /usr/lib64/libvirt.so.0
#12 0x00002aaaaaadd44b in virInitialize () from /usr/lib64/libvirt.so.0
#13 0x000000000040a65e in ?? ()
#14 0x000000393681d8a4 in __libc_start_main () from /lib64/libc.so.6
#15 0x00000000004033b9 in ?? ()
#16 0x00007fffd2df95c8 in ?? ()
#17 0x0000000000000000 in ?? ()
Rerun under gdb control, as I'm unable to find where this may occur just
from the tack strace given. __virConfReadFile only calls virConfError
which does not call strerror, put a breakpoint in __virConfReadFile and
__virRaiseError and try to find out what is happening please.
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/