[Pkg-libvirt-maintainers] Bug#731552: virt-manager GUI and TUI segfault or hang on VM creation

Guido Günther agx at sigxcpu.org
Sun Sep 28 12:32:09 UTC 2014


Hi,
On Fri, Dec 06, 2013 at 03:26:55PM +0000, Tom Jordaan wrote:
> Package: virt-manager
> Version: 0.9.5-1
> Severity: important
> 
> Dear Maintainer,
> *** Please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
> 
> Trying to build a CentOS 6 VM using xen fullvirt on Debian stable, but 
> virt-manager either segfaults or hangs.
> 
> 2013-12-06 15:14:15,768 (cli:71): virt-manager startup
> 2013-12-06 15:14:15,768 (virt-manager:306): Launched as: /usr/share/virt-manager/virt-manager.py --debug 2
> 2013-12-06 15:14:15,769 (virt-manager:307): GTK version: (2, 24, 10)
> 2013-12-06 15:14:15,769 (virt-manager:308): virt-manager version: 0.9.5
> 2013-12-06 15:14:15,769 (virt-manager:309): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
> 2013-12-06 15:14:15,831 (cli:118): virtinst version: 0.600.4
> 2013-12-06 15:14:15,831 (cli:119): virtinst import: <module 'virtinst' from '/usr/lib/pymodules/python2.7/virtinst/__init__.pyc'>
> 2013-12-06 15:14:15,866 (keyring:30): gnomekeyring bindings not installed, no keyring support
> 2013-12-06 15:14:15,897 (engine:411): No inspection thread because libguestfs is too old, not available, or libvirt is not thread safe.
> 2013-12-06 15:14:15,899 (systray:138): Showing systray: False
> 2013-12-06 15:14:15,900 (engine:202): About to connect to uris ['xen:///']
> 2013-12-06 15:14:15,942 (manager:172): Showing manager
> 2013-12-06 15:14:15,966 (engine:327): window counter incremented to 1
> 2013-12-06 15:14:15,966 (manager:172): Showing manager
> 2013-12-06 15:14:15,971 (connection:963): Scheduling background open thread for xen:///
> 2013-12-06 15:14:15,971 (connection:1019): Background 'open connection' thread is running
> 2013-12-06 15:14:16,085 (connection:1070): Background open thread complete, scheduling notify
> 2013-12-06 15:14:16,086 (connection:1075): Notifying open result
> 2013-12-06 15:14:16,088 (connection:1082): xen:/// capabilities:
> <capabilities>
> 
>   <host>
>     <cpu>
>       <arch>x86_64</arch>
>       <features>
>         <pae/>
>       </features>
>     </cpu>
>     <power_management>
>       <suspend_mem/>
>       <suspend_disk/>
>     </power_management>
>     <migration_features>
>       <live/>
>       <uri_transports>
>         <uri_transport>xenmigr</uri_transport>
>       </uri_transports>
>     </migration_features>
>   </host>
> 
>   <guest>
>     <os_type>xen</os_type>
>     <arch name='x86_64'>
>       <wordsize>64</wordsize>
>       <emulator>qemu-dm</emulator>
>       <machine>xenpv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>   </guest>
> 
>   <guest>
>     <os_type>xen</os_type>
>     <arch name='i686'>
>       <wordsize>32</wordsize>
>       <emulator>qemu-dm</emulator>
>       <machine>xenpv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>     <features>
>       <pae/>
>     </features>
>   </guest>
> 
>   <guest>
>     <os_type>hvm</os_type>
>     <arch name='i686'>
>       <wordsize>32</wordsize>
>       <emulator>qemu-dm</emulator>
>       <loader>hvmloader</loader>
>       <machine>xenfv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>     <features>
>       <pae/>
>       <nonpae/>
>       <acpi default='on' toggle='yes'/>
>       <apic default='on' toggle='yes'/>
>     </features>
>   </guest>
> 
>   <guest>
>     <os_type>hvm</os_type>
>     <arch name='x86_64'>
>       <wordsize>64</wordsize>
>       <emulator>qemu-dm</emulator>
>       <loader>hvmloader</loader>
>       <machine>xenfv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>     <features>
>       <acpi default='on' toggle='yes'/>
>       <apic default='on' toggle='yes'/>
>     </features>
>   </guest>
> 
> </capabilities>
> 
> 2013-12-06 15:14:16,355 (connection:579): Connection managed save support: False
> 2013-12-06 15:14:16,457 (connection:161): Using libvirt API for netdev enumeration
> 2013-12-06 15:14:16,458 (connection:201): Using libvirt API for mediadev enumeration
> 2013-12-06 15:14:20,317 (create:169): Showing new vm wizard
> 2013-12-06 15:14:20,319 (create:867): Guest type set to os_type=hvm, arch=x86_64, dom_type=xen
> 2013-12-06 15:14:23,812 (create:867): Guest type set to os_type=xen, arch=x86_64, dom_type=xen
> 2013-12-06 15:14:28,057 (create:2105): Starting OS detection thread for media=http://mirrors.kernel.org/centos/6.4/os/i386/
> 2013-12-06 15:14:28,060 (DistroInstaller:215): DistroInstaller location is a network source.
> 2013-12-06 15:14:28,363 (OSDistro:65): Attempting to detect distro:
> 2013-12-06 15:14:28,663 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/.treeinfo
> 2013-12-06 15:14:28,965 (ImageFetcher:94): Saved file to /var/tmp/virtinst-.treeinfo.lSY4_D
> 2013-12-06 15:14:29,059 (create:2090): Finished OS detection.
> 2013-12-06 15:14:29,855 (DistroInstaller:215): DistroInstaller location is a network source.
> 2013-12-06 15:14:29,871 (Installer:182): scratchdir=/home/tomj/.virtinst/boot
> 2013-12-06 15:14:32,665 (create:1040): Default storage path is: /var/lib/libvirt/images/sakkun-1.img
> 2013-12-06 15:14:35,945 (create:867): Guest type set to os_type=hvm, arch=x86_64, dom_type=xen
> 2013-12-06 15:14:39,711 (DistroInstaller:215): DistroInstaller location is a network source.
> 2013-12-06 15:14:39,723 (create:1040): Default storage path is: /var/lib/libvirt/images/sakkun-1.img
> 2013-12-06 15:14:39,785 (create:1854): Creating a VM sakkun
>   Type: xen,hvm
>   UUID: ccd0cad3-6f42-f56f-cf78-9e61aebb742b
>   Install Source: http://mirrors.kernel.org/centos/6.4/os/i386/
>   OS: linux:rhel6
>   Kernel args: None
>   Memory: 1024
>   Max Memory: 1024
>   # VCPUs: 1
>   Filesize: 7.8125
> 2013-12-06 15:14:39,789 (asyncjob:184): Creating async job for function cb=<bound method vmmCreate.do_install of <vmmCreate object at 0x3201690 (virtManager+create+vmmCreate at 0x32f26a0)>>
> 2013-12-06 15:14:39,795 (create:1943): Starting background install process
> 2013-12-06 15:14:39,797 (Installer:182): scratchdir=/home/tomj/.virtinst/boot
> 2013-12-06 15:14:40,099 (OSDistro:65): Attempting to detect distro:
> 2013-12-06 15:14:40,400 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/.treeinfo
> 2013-12-06 15:14:40,699 (ImageFetcher:94): Saved file to /home/tomj/.virtinst/boot/virtinst-.treeinfo.YrlKpJ
> 2013-12-06 15:14:40,701 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/images/pxeboot/vmlinuz
> 2013-12-06 15:14:43,786 (ImageFetcher:94): Saved file to /home/tomj/.virtinst/boot/virtinst-vmlinuz.kDoUvo
> 2013-12-06 15:14:43,789 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/images/pxeboot/initrd.img
> 2013-12-06 15:14:58,745 (ImageFetcher:94): Saved file to /home/tomj/.virtinst/boot/virtinst-initrd.img._6M3SJ
> 2013-12-06 15:14:58,778 (DistroInstaller:350): Uploading kernel/initrd media
> 2013-12-06 15:14:58,794 (DistroInstaller:73): Existing pool 'boot-scratch' found for /var/lib/xen
> 2013-12-06 15:14:58,845 (VirtualDisk:240): Path '/var/lib/xen' is target for pool 'boot-scratch'. Creating volume 'virtinst-vmlinuz.kDoUvo'.
> 2013-12-06 15:14:58,862 (Storage:1196): Creating storage volume 'virtinst-vmlinuz.kDoUvo' with xml:
> <volume>
>   <name>virtinst-vmlinuz.kDoUvo</name>
>   <capacity>3917440</capacity>
>   <allocation>0</allocation>
>   <target>
>     <format type='raw'/>
>   </target>
> </volume>
> 
> 2013-12-06 15:14:58,911 (Storage:1220): Storage volume 'virtinst-vmlinuz.kDoUvo' install complete.
> 
> At this point, segmentation fault occurred, from STDOUT.
> 
> virt-install likewise:
> 
> Script started on Fri 06 Dec 2013 14:44:50 GMT
> ]0;tomj at sachiel: ~tomj at sachiel:~$ virt-install --no-fork --debug --name sakkun --ram 512 --disk vo 
> l=default/sakkun.img  --location http://mirrors.kernel.org/centos/6.4/os/i386/
> Usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]
> 
> virt-install: error: no such option: --no-fork
> ]0;tomj at sachiel: ~tomj at sachiel:~$ virt-install --no-fork --debug --name sakkun --ram 512 --disk vol
> l=default/sakkun.img  --location http://mirrors.kernel.org/centos/6.4/os/i386/no-fork --debug --name sakkun --ram 512 --disk vol=
> ]0;tomj at sachiel: ~tomj at sachiel:~$ 
> 
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (cli:227) Launched with command line:
> /usr/bin/virt-install -no-fork --debug --name sakkun --ram 512 --disk vol=default/sakkun.img --location http://mirrors.kernel.org/centos/6.4/os/i386/
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (cli:332) Requesting libvirt URI default
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (cli:334) Received libvirt URI xen:///
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (virt-install:258) Requesting virt method 'default', hv type 'default'.
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (virt-install:469) Received virt method 'xen'
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (virt-install:470) Hypervisor name is 'xen'
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (cli:941) DISPLAY is set: graphics defaulting to VNC.
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (cli:959) --graphics compat generated: vnc
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (cli:1534) Parsed volume: as pool='default' vol='sakkun.img'
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (DistroInstaller:215) DistroInstaller location is a network source.
> [Fri, 06 Dec 2013 14:45:00 virt-install 14634] DEBUG (OSDistro:65) Attempting to detect distro:
> [Fri, 06 Dec 2013 14:45:01 virt-install 14634] DEBUG (ImageFetcher:83) Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/.treeinfo
> [Fri, 06 Dec 2013 14:45:01 virt-install 14634] DEBUG (ImageFetcher:94) Saved file to /var/tmp/virtinst-.treeinfo.PAiqwt
> [Fri, 06 Dec 2013 14:45:01 virt-install 14634] DEBUG (virt-install:626) Guest.has_install_phase: True
> 
> Starting install...
> [Fri, 06 Dec 2013 14:45:01 virt-install 14634] DEBUG (Installer:182) scratchdir=/home/tomj/.virtinst/boot
> [Fri, 06 Dec 2013 14:45:01 virt-install 14634] DEBUG (OSDistro:65) Attempting to detect distro:
> [Fri, 06 Dec 2013 14:45:02 virt-install 14634] DEBUG (ImageFetcher:83) Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/.treeinfo
> [Fri, 06 Dec 2013 14:45:02 virt-install 14634] DEBUG (ImageFetcher:94) Saved file to /home/tomj/.virtinst/boot/virtinst-.treeinfo.G1E9Ci
> 
> Retrieving file .treeinfo...                             |  782 B     00:00 ... 
> [Fri, 06 Dec 2013 14:45:02 virt-install 14634] DEBUG (ImageFetcher:83) Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/images/pxeboot/vmlinuz
> Retrieving file vmlinuz..  1% [               ]  0.0 B/s |  66 kB     --:-- ETA 
> Retrieving file vmlinuz..  4% [-              ] 172 kB/s | 182 kB     00:21 ETA 
> Retrieving file vmlinuz.. 10% [=-             ] 200 kB/s | 386 kB     00:17 ETA 
> Retrieving file vmlinuz.. 21% [===            ] 275 kB/s | 818 kB     00:10 ETA 
> Retrieving file vmlinuz.. 35% [=====          ] 369 kB/s | 1.3 MB     00:06 ETA 
> Retrieving file vmlinuz.. 56% [========-      ] 504 kB/s | 2.1 MB     00:03 ETA 
> Retrieving file vmlinuz.. 85% [============-  ] 689 kB/s | 3.2 MB     00:00 ETA 
> [Fri, 06 Dec 2013 14:45:04 virt-install 14634] DEBUG (ImageFetcher:94) Saved file to /home/tomj/.virtinst/boot/virtinst-vmlinuz.hom3Wi
> 
> Retrieving file vmlinuz...                               | 7.5 MB     00:02 ... 
> [Fri, 06 Dec 2013 14:45:04 virt-install 14634] DEBUG (ImageFetcher:83) Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/images/pxeboot/initrd.img
> Retrieving file initrd.im  1% [               ]  0.0 B/s | 348 kB     --:-- ETA 
> Retrieving file initrd.im  3% [-              ] 1.4 MB/s | 1.2 MB     00:20 ETA 
> Retrieving file initrd.im  6% [-              ] 1.4 MB/s | 1.8 MB     00:19 ETA 
> Retrieving file initrd.im  8% [=              ] 1.4 MB/s | 2.4 MB     00:18 ETA 
> Retrieving file initrd.im 10% [=-             ] 1.5 MB/s | 3.1 MB     00:17 ETA 
> Retrieving file initrd.im 12% [=-             ] 1.5 MB/s | 3.8 MB     00:16 ETA 
> Retrieving file initrd.im 15% [==             ] 1.6 MB/s | 4.4 MB     00:15 ETA 
> Retrieving file initrd.im 17% [==-            ] 1.6 MB/s | 5.1 MB     00:14 ETA 
> Retrieving file initrd.im 19% [==-            ] 1.7 MB/s | 5.8 MB     00:14 ETA 
> Retrieving file initrd.im 22% [===            ] 1.7 MB/s | 6.5 MB     00:13 ETA 
> Retrieving file initrd.im 24% [===-           ] 1.7 MB/s | 7.2 MB     00:12 ETA 
> Retrieving file initrd.im 26% [====           ] 1.8 MB/s | 7.9 MB     00:12 ETA 
> Retrieving file initrd.im 29% [====           ] 1.8 MB/s | 8.6 MB     00:11 ETA 
> Retrieving file initrd.im 31% [====-          ] 1.8 MB/s | 9.3 MB     00:11 ETA 
> Retrieving file initrd.im 33% [=====          ] 1.8 MB/s |  10 MB     00:10 ETA 
> Retrieving file initrd.im 36% [=====          ] 1.9 MB/s |  11 MB     00:10 ETA 
> Retrieving file initrd.im 38% [=====-         ] 1.9 MB/s |  11 MB     00:09 ETA 
> Retrieving file initrd.im 41% [======         ] 1.9 MB/s |  12 MB     00:09 ETA 
> Retrieving file initrd.im 43% [======-        ] 1.9 MB/s |  13 MB     00:08 ETA 
> Retrieving file initrd.im 45% [======-        ] 2.0 MB/s |  14 MB     00:08 ETA 
> Retrieving file initrd.im 48% [=======        ] 2.0 MB/s |  14 MB     00:07 ETA 
> Retrieving file initrd.im 50% [=======-       ] 2.0 MB/s |  15 MB     00:07 ETA 
> Retrieving file initrd.im 53% [=======-       ] 2.0 MB/s |  16 MB     00:06 ETA 
> Retrieving file initrd.im 55% [========       ] 2.1 MB/s |  16 MB     00:06 ETA 
> Retrieving file initrd.im 58% [========-      ] 2.1 MB/s |  17 MB     00:05 ETA 
> Retrieving file initrd.im 60% [=========      ] 2.1 MB/s |  18 MB     00:05 ETA 
> Retrieving file initrd.im 63% [=========      ] 2.1 MB/s |  19 MB     00:05 ETA 
> Retrieving file initrd.im 65% [=========-     ] 2.2 MB/s |  19 MB     00:04 ETA 
> Retrieving file initrd.im 68% [==========     ] 2.2 MB/s |  20 MB     00:04 ETA 
> Retrieving file initrd.im 70% [==========-    ] 2.2 MB/s |  21 MB     00:03 ETA 
> Retrieving file initrd.im 73% [===========    ] 2.2 MB/s |  22 MB     00:03 ETA 
> Retrieving file initrd.im 76% [===========    ] 2.2 MB/s |  22 MB     00:03 ETA 
> Retrieving file initrd.im 78% [===========-   ] 2.2 MB/s |  23 MB     00:02 ETA 
> Retrieving file initrd.im 81% [============   ] 2.3 MB/s |  24 MB     00:02 ETA 
> Retrieving file initrd.im 84% [============-  ] 2.3 MB/s |  25 MB     00:01 ETA 
> Retrieving file initrd.im 87% [=============  ] 2.4 MB/s |  26 MB     00:01 ETA 
> Retrieving file initrd.im 91% [=============- ] 2.4 MB/s |  27 MB     00:01 ETA 
> Retrieving file initrd.im 94% [============== ] 2.5 MB/s |  28 MB     00:00 ETA 
> Retrieving file initrd.im 98% [==============-] 2.5 MB/s |  29 MB     00:00 ETA 
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (ImageFetcher:94) Saved file to /home/tomj/.virtinst/boot/virtinst-initrd.img.mNLRQE
> 
> Retrieving file initrd.img...                            |  59 MB     00:12 ... 
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (DistroInstaller:396) Auto detected OS type as: linux
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (DistroInstaller:400) Auto detected OS variant as: rhel6
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (DistroInstaller:350) Uploading kernel/initrd media
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (DistroInstaller:73) Existing pool 'boot-scratch' found for /var/lib/xen
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (VirtualDisk:240) Path '/var/lib/xen' is target for pool 'boot-scratch'. Creating volume 'virtinst-vmlinuz.hom3Wi'.
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (Storage:1196) Creating storage volume 'virtinst-vmlinuz.hom3Wi' with xml:
> <volume>
>   <name>virtinst-vmlinuz.hom3Wi</name>
>   <capacity>3917440</capacity>
>   <allocation>0</allocation>
>   <target>
>     <format type='raw'/>
>   </target>
> </volume>
> 
> 
> Allocating 'virtinst-vmlinuz.hom3Wi'                     | 3.7 MB     00:00     
> [Fri, 06 Dec 2013 14:45:17 virt-install 14634] DEBUG (Storage:1220) Storage volume 'virtinst-vmlinuz.hom3Wi' install complete.
> Segmentation fault
> ]0;tomj at sachiel: ~tomj at sachiel:~$ virt-install -no-fork --debug --name sakkun --ram 512 --disk vol=
> =default/sakkun.img  --location http://mirrors.kernel.org/centos/6.4/os/i386/
> 
> virt-0manager --debug --nno-fork
> Usage: virt-manager [options]
> 
> virt-manager.py: error: no such option: -n
> ]0;tomj at sachiel: ~tomj at sachiel:~$ virt-manager --debug -no-fork-no-fork
> 2013-12-06 14:45:49,950 (cli:71): virt-manager startup
> 2013-12-06 14:45:49,951 (virt-manager:306): Launched as: /usr/share/virt-manager/virt-manager.py --debug --no-fork
> 2013-12-06 14:45:49,951 (virt-manager:307): GTK version: (2, 24, 10)
> 2013-12-06 14:45:49,951 (virt-manager:308): virt-manager version: 0.9.5
> 2013-12-06 14:45:49,951 (virt-manager:309): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
> 2013-12-06 14:45:50,010 (cli:118): virtinst version: 0.600.4
> 2013-12-06 14:45:50,011 (cli:119): virtinst import: <module 'virtinst' from '/usr/lib/pymodules/python2.7/virtinst/__init__.pyc'>
> 2013-12-06 14:45:50,045 (keyring:30): gnomekeyring bindings not installed, no keyring support
> 2013-12-06 14:45:50,079 (engine:411): No inspection thread because libguestfs is too old, not available, or libvirt is not thread safe.
> 2013-12-06 14:45:50,081 (systray:138): Showing systray: False
> 2013-12-06 14:45:50,082 (engine:202): About to connect to uris ['xen:///']
> 2013-12-06 14:45:50,127 (manager:172): Showing manager
> 2013-12-06 14:45:50,153 (engine:327): window counter incremented to 1
> 2013-12-06 14:45:50,153 (manager:172): Showing manager
> 2013-12-06 14:45:50,158 (connection:963): Scheduling background open thread for xen:///
> 2013-12-06 14:45:50,158 (connection:1019): Background 'open connection' thread is running
> 2013-12-06 14:45:50,265 (connection:1070): Background open thread complete, scheduling notify
> 2013-12-06 14:45:50,266 (connection:1075): Notifying open result
> 2013-12-06 14:45:50,268 (connection:1082): xen:/// capabilities:
> <capabilities>
> 
>   <host>
>     <cpu>
>       <arch>x86_64</arch>
>       <features>
>         <pae/>
>       </features>
>     </cpu>
>     <power_management>
>       <suspend_mem/>
>       <suspend_disk/>
>     </power_management>
>     <migration_features>
>       <live/>
>       <uri_transports>
>         <uri_transport>xenmigr</uri_transport>
>       </uri_transports>
>     </migration_features>
>   </host>
> 
>   <guest>
>     <os_type>xen</os_type>
>     <arch name='x86_64'>
>       <wordsize>64</wordsize>
>       <emulator>qemu-dm</emulator>
>       <machine>xenpv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>   </guest>
> 
>   <guest>
>     <os_type>xen</os_type>
>     <arch name='i686'>
>       <wordsize>32</wordsize>
>       <emulator>qemu-dm</emulator>
>       <machine>xenpv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>     <features>
>       <pae/>
>     </features>
>   </guest>
> 
>   <guest>
>     <os_type>hvm</os_type>
>     <arch name='i686'>
>       <wordsize>32</wordsize>
>       <emulator>qemu-dm</emulator>
>       <loader>hvmloader</loader>
>       <machine>xenfv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>     <features>
>       <pae/>
>       <nonpae/>
>       <acpi default='on' toggle='yes'/>
>       <apic default='on' toggle='yes'/>
>     </features>
>   </guest>
> 
>   <guest>
>     <os_type>hvm</os_type>
>     <arch name='x86_64'>
>       <wordsize>64</wordsize>
>       <emulator>qemu-dm</emulator>
>       <loader>hvmloader</loader>
>       <machine>xenfv</machine>
>       <domain type='xen'>
>       </domain>
>     </arch>
>     <features>
>       <acpi default='on' toggle='yes'/>
>       <apic default='on' toggle='yes'/>
>     </features>
>   </guest>
> 
> </capabilities>
> 
> 2013-12-06 14:45:50,551 (connection:579): Connection managed save support: False
> 2013-12-06 14:45:50,653 (connection:161): Using libvirt API for netdev enumeration
> 2013-12-06 14:45:50,654 (connection:201): Using libvirt API for mediadev enumeration
> 2013-12-06 14:45:52,635 (create:169): Showing new vm wizard
> 2013-12-06 14:45:52,637 (create:867): Guest type set to os_type=hvm, arch=x86_64, dom_type=xen
> 2013-12-06 14:45:56,875 (create:867): Guest type set to os_type=xen, arch=x86_64, dom_type=xen
> 2013-12-06 14:45:59,545 (create:2105): Starting OS detection thread for media=http://mirrors.kernel.org/centos/6.4/os/i386/
> 2013-12-06 14:45:59,548 (DistroInstaller:215): DistroInstaller location is a network source.
> 2013-12-06 14:45:59,851 (OSDistro:65): Attempting to detect distro:
> 2013-12-06 14:46:00,150 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/.treeinfo
> 2013-12-06 14:46:00,450 (ImageFetcher:94): Saved file to /var/tmp/virtinst-.treeinfo.Gv5812
> 2013-12-06 14:46:00,548 (create:2090): Finished OS detection.
> 2013-12-06 14:46:01,606 (DistroInstaller:215): DistroInstaller location is a network source.
> 2013-12-06 14:46:01,620 (Installer:182): scratchdir=/home/tomj/.virtinst/boot
> 2013-12-06 14:46:05,337 (create:1040): Default storage path is: /var/lib/libvirt/images/sakkun-1.img
> 2013-12-06 14:46:13,601 (create:867): Guest type set to os_type=hvm, arch=x86_64, dom_type=xen
> 2013-12-06 14:46:14,862 (DistroInstaller:215): DistroInstaller location is a network source.
> 2013-12-06 14:46:14,874 (create:1040): Default storage path is: /var/lib/libvirt/images/sakkun-1.img
> 2013-12-06 14:46:14,935 (create:1854): Creating a VM sakkun
>   Type: xen,hvm
>   UUID: 0c71fdcb-c422-04fb-4512-ddfad5a187dc
>   Install Source: http://mirrors.kernel.org/centos/6.4/os/i386/
>   OS: linux:rhel6
>   Kernel args: None
>   Memory: 1024
>   Max Memory: 1024
>   # VCPUs: 1
>   Filesize: 7.8125
> 2013-12-06 14:46:14,940 (asyncjob:184): Creating async job for function cb=<bound method vmmCreate.do_install of <vmmCreate object at 0x2fb75f0 (virtManager+create+vmmCreate at 0x3019ee0)>>
> 2013-12-06 14:46:14,945 (create:1943): Starting background install process
> 2013-12-06 14:46:14,949 (Installer:182): scratchdir=/home/tomj/.virtinst/boot
> 2013-12-06 14:46:15,248 (OSDistro:65): Attempting to detect distro:
> 2013-12-06 14:46:15,547 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/.treeinfo
> 2013-12-06 14:46:15,847 (ImageFetcher:94): Saved file to /home/tomj/.virtinst/boot/virtinst-.treeinfo.EaDDPq
> 2013-12-06 14:46:15,849 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/images/pxeboot/vmlinuz
> 2013-12-06 14:46:18,620 (ImageFetcher:94): Saved file to /home/tomj/.virtinst/boot/virtinst-vmlinuz.c6Ow4P
> 2013-12-06 14:46:18,623 (ImageFetcher:83): Fetching URI: http://mirrors.kernel.org/centos/6.4/os/i386/images/pxeboot/initrd.img
> 2013-12-06 14:46:29,625 (ImageFetcher:94): Saved file to /home/tomj/.virtinst/boot/virtinst-initrd.img.ge7fJ7
> 2013-12-06 14:46:29,642 (DistroInstaller:350): Uploading kernel/initrd media
> 2013-12-06 14:46:29,658 (DistroInstaller:73): Existing pool 'boot-scratch' found for /var/lib/xen
> 2013-12-06 14:46:29,716 (VirtualDisk:240): Path '/var/lib/xen' is target for pool 'boot-scratch'. Creating volume 'virtinst-vmlinuz.c6Ow4P'.
> 2013-12-06 14:46:29,734 (Storage:1196): Creating storage volume 'virtinst-vmlinuz.c6Ow4P' with xml:
> <volume>
>   <name>virtinst-vmlinuz.c6Ow4P</name>
>   <capacity>3917440</capacity>
>   <allocation>0</allocation>
>   <target>
>     <format type='raw'/>
>   </target>
> </volume>
> 
> 2013-12-06 14:46:29,792 (Storage:1220): Storage volume 'virtinst-vmlinuz.c6Ow4P' install complete.
> Segmentation fault

Since both virt-manager and virtinst segfault this looks like a
problem in one of the used libs. Can you produce a backtrace with
libvirt0-dbg installed?
Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list