This is bad ! Can you re-run with 'valgrind virsh' and post
the errors
it shows
virsh # create ovz.xml
==8393==
==8393== Invalid read of size 4
==8393== at 0x40A3CF2: (within /usr/lib/libvirt.so.0.5.1)
==8393== by 0x40A5A93: (within /usr/lib/libvirt.so.0.5.1)
==8393== by 0x404D8D1: virDomainCreateXML (in /usr/lib/libvirt.so.0.5.1)
==8393== by 0x8056895: (within /usr/bin/virsh)
==8393== by 0x804C195: (within /usr/bin/virsh)
==8393== by 0x80597EA: (within /usr/bin/virsh)
==8393== by 0x4126924: (below main) (in /lib/libc-2.8.90.so)
==8393== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==8393==
==8393== Process terminating with default action of signal 11 (SIGSEGV)
==8393== Access not within mapped region at address 0x8
==8393== at 0x40A3CF2: (within /usr/lib/libvirt.so.0.5.1)
==8393== by 0x40A5A93: (within /usr/lib/libvirt.so.0.5.1)
==8393== by 0x404D8D1: virDomainCreateXML (in /usr/lib/libvirt.so.0.5.1)
==8393== by 0x8056895: (within /usr/bin/virsh)
==8393== by 0x804C195: (within /usr/bin/virsh)
==8393== by 0x80597EA: (within /usr/bin/virsh)
==8393== by 0x4126924: (below main) (in /lib/libc-2.8.90.so)
==8393==
==8393== ERROR SUMMARY: 44 errors from 9 contexts (suppressed: 0 from 0)
==8393==
==8393== 1 errors in context 1 of 9:
==8393== Invalid read of size 4
==8393== at 0x40A3CF2: (within /usr/lib/libvirt.so.0.5.1)
==8393== by 0x40A5A93: (within /usr/lib/libvirt.so.0.5.1)
==8393== by 0x404D8D1: virDomainCreateXML (in /usr/lib/libvirt.so.0.5.1)
==8393== by 0x8056895: (within /usr/bin/virsh)
==8393== by 0x804C195: (within /usr/bin/virsh)
==8393== by 0x80597EA: (within /usr/bin/virsh)
==8393== by 0x4126924: (below main) (in /lib/libc-2.8.90.so)
==8393== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==8393==
==8393== 1 errors in context 2 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x4009F9C: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4003051: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393==
==8393== 1 errors in context 3 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x4009C7E: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4003051: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393==
==8393== 1 errors in context 4 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x4009C76: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4003051: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393==
==8393== 1 errors in context 5 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x4009C7E: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4002F46: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393==
==8393== 1 errors in context 6 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x4009C76: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4002F46: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393==
==8393== 2 errors in context 7 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x400AC8A: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4002F46: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393==
==8393== 17 errors in context 8 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x4009F9C: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4002F46: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393==
==8393== 19 errors in context 9 of 9:
==8393== Conditional jump or move depends on uninitialised value(s)
==8393== at 0x400B4B5: _dl_relocate_object (in /lib/ld-2.8.90.so)
==8393== by 0x4002F46: dl_main (in /lib/ld-2.8.90.so)
==8393== by 0x401320E: _dl_sysdep_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000D98: _dl_start (in /lib/ld-2.8.90.so)
==8393== by 0x4000956: (within /lib/ld-2.8.90.so)
==8393== IN SUMMARY: 44 errors from 9 contexts (suppressed: 0 from 0)
==8393==
==8393== malloc/free: in use at exit: 84,638 bytes in 613 blocks.
==8393== malloc/free: 1,543 allocs, 930 frees, 166,402 bytes allocated.
==8393==
==8393== searching for pointers to 613 not-freed blocks.
==8393== checked 411,932 bytes.
==8393==
==8393== LEAK SUMMARY:
==8393== definitely lost: 0 bytes in 0 blocks.
==8393== possibly lost: 0 bytes in 0 blocks.
==8393== still reachable: 84,638 bytes in 613 blocks.
==8393== suppressed: 0 bytes in 0 blocks.
==8393== Rerun with --leak-check=full to see details of leaked memory.
--8393-- memcheck: sanity checks: 6 cheap, 2 expensive
--8393-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--8393-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--8393-- memcheck: auxmaps_L2: 0 searches, 0 nodes
--8393-- memcheck: SMs: n_issued = 26 (416k, 0M)
--8393-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--8393-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--8393-- memcheck: SMs: max_undefined = 3 (48k, 0M)
--8393-- memcheck: SMs: max_defined = 77 (1232k, 1M)
--8393-- memcheck: SMs: max_non_DSM = 26 (416k, 0M)
--8393-- memcheck: max sec V bit nodes: 276 (14k, 0M)
--8393-- memcheck: set_sec_vbits8 calls: 1233 (new: 276, updates: 957)
--8393-- memcheck: max shadow mem size: 734k, 0M
--8393-- translate: fast SP updates identified: 12,480 ( 88.9%)
--8393-- translate: generic_known SP updates identified: 1,058 ( 7.5%)
--8393-- translate: generic_unknown SP updates identified: 490 ( 3.4%)
--8393-- tt/tc: 24,409 tt lookups requiring 27,195 probes
--8393-- tt/tc: 24,409 fast-cache updates, 3 flushes
--8393-- transtab: new 11,504 (227,328 -> 3,334,263; ratio 146:10) [0 scs]
--8393-- transtab: dumped 0 (0 -> ??)
--8393-- transtab: discarded 6 (185 -> ??)
--8393-- scheduler: 651,511 jumps (bb entries).
--8393-- scheduler: 6/25,065 major/minor sched events.
--8393-- sanity: 7 cheap, 2 expensive checks.
--8393-- exectx: 1,543 lists, 1,396 contexts (avg 0 per list)
--8393-- exectx: 2,516 searches, 1,971 full compares (783 per 1000)
--8393-- exectx: 0 cmp2, 103 cmp4, 0 cmpAll
--8393-- errormgr: 9 supplist searches, 450 comparisons during search
--8393-- errormgr: 44 errlist searches, 111 comparisons during search
Segmentation fault
Or run under 'gdb virsh' and get a stack trace.
[root@alt-03 ~]# gdb virsh -d 5
GNU gdb 6.6-alt3 (ALT Linux)
(gdb) run
Starting program: /usr/bin/virsh
[New Thread -1214211888 (LWP 15303)]
Welcome to virsh, the virtualization interactive terminal.
virsh # create ovz.xml
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214211888 (LWP 15303)]
0xb7f19cf2 in ?? () from /usr/lib/libvirt.so.0
(gdb) backtrace
#0 0xb7f19cf2 in ?? () from /usr/lib/libvirt.so.0
#1 0xb7f1ba94 in ?? () from /usr/lib/libvirt.so.0
#2 0xb7ec38d2 in virDomainCreateXML () from /usr/lib/libvirt.so.0
#3 0x08056896 in ?? ()
#4 0x0804c196 in ?? ()
#5 0x080597eb in ?? ()
#6 0xb7d21925 in __libc_start_main () from /lib/libc.so.6
#7 0x0804b5c1 in ?? ()
(gdb)
- Ivan
This message (including attachments) is private and confidential. If you have received
this message in error, please notify us and remove it from your system.