Bug 2032974
| Summary: | qemu-kvm crashing on vnc connect | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | lethalwp |
| Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
| qemu-kvm sub component: | Graphics | QA Contact: | Guo, Zhiyi <zhguo> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | bstinson, coli, jwboyer, tommym, virt-maint |
| Version: | CentOS Stream | Flags: | pm-rhel:
mirror+
|
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-12-16 00:20:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
the configuration of my vm doesn't containt socket but: <graphics type="vnc" port="-1" autoport="yes"> <listen type="address"/> </graphics> ]# virsh dumpxml win10ttt
<domain type='qemu'>
<name>win10ttt</name>
<uuid>e18f93b5-8b91-457a-a4c5-9846afbd33b5</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-rhel8.5.0'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<hyperv>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
</hyperv>
</features>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu64</model>
</cpu>
<clock offset='localtime'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
<timer name='hypervclock' present='yes'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/win10ttt.qcow2'/>
<target dev='sda' bus='sata'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0x12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0x13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<interface type='network'>
<mac address='52:54:00:7f:95:41'/>
<source network='default'/>
<model type='e1000e'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'>
<listen type='address'/>
</graphics>
<audio id='1' type='none'/>
<video>
<model type='vga' vram='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</memballoon>
</devices>
</domain>
*** This bug has been marked as a duplicate of bug 2000814 *** Can confirm I am also seeing this, and do not have sockets enabled.. This is NOT a duplicate |
Description of problem: when using virt-manager to manage & use virtual machines, qemu-kvm crashes. Version-Release number of selected component (if applicable): How reproducible: every time Steps to Reproduce: 1. install c9stream 2. open virt-manager create a new dummy machine example: win10, 512MB RAM, 1cpu, 1GB hdd 3. the virtual machine can't have a graphical server of SPICE (why was this deprecated???? it works perfectly on my fedora 35). So it has a gfx of "VNC" 4. if you close the config/console window, press play, the machine will boot up 5. as soon as you connect to the gfx console, qemu-kvm will coredump. Actual results: coredumps & stops the VM There is no abrtd in C9S to automatically fill a bug report??? Expected results: connecting to the VM Additional info: ~]# coredumpctl dump -o skdljflskd 11196 PID: 11196 (qemu-kvm) UID: 107 (qemu) GID: 107 (qemu) Signal: 6 (ABRT) Timestamp: Wed 2021-12-15 14:49:13 CET (2h 1min ago) Command Line: /usr/libexec/qemu-kvm -name guest=win10,debug-threads=on -S -object $'{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-2-win10/master-key.aes"}' -machine pc-q35-rhel8.5.0,usb=off,dump-guest-core=off,memory-backend=pc.ram -accel kvm -cpu Westmere,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff -m 128 -object $'{"qom-type":"memory-backend-ram","id":"pc.ram","size":134217728}' -overcommit mem-lock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 7c2b0b58-0d85-4ad7-9460-f591faed2139 -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=28,server=on,wait=off -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot strict=on -device pcie-root-port,port=16,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 -device pcie-root-port,port=17,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 -device pcie-root-port,port=18,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 -device pcie-root-port,port=19,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 -blockdev $'{"driver":"file","filename":"/var/lib/libvirt/images/win10.qcow2","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' -blockdev $'{"node-name":"libvirt-1-format","read-only":false,"driver":"qcow2","file":"libvirt-1-storage","backing":null}' -device ide-hd,bus=ide.0,drive=libvirt-1-format,id=sata0-0-0,bootindex=1 -netdev tap,fd=30,id=hostnet0 -device e1000e,netdev=hostnet0,id=net0,mac=52:54:00:f3:81:36,bus=pci.1,addr=0x0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0,bus=usb.0,port=1 -audiodev $'{"id":"audio1","driver":"none"}' -vnc 0.0.0.0:0,audiodev=audio1 -device VGA,id=video0,vgamem_mb=16,bus=pcie.0,addr=0x1 -device virtio-balloon-pci,id=balloon0,bus=pci.3,addr=0x0 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on Executable: /usr/libexec/qemu-kvm Control Group: /machine.slice/machine-qemu\x2d2\x2dwin10.scope/libvirt/emulator Unit: machine-qemu\x2d2\x2dwin10.scope Slice: machine.slice Boot ID: a84fb20b1d4c4f5185b4266eb76aa98b Machine ID: e409d6d7c85c4105b6714e810b42586f Hostname: xxx Storage: /var/lib/systemd/coredump/core.qemu-kvm.107.a84fb20b1d4c4f5185b4266eb76aa98b.11196.1639576153000000.zst (present) Disk Size: 1005.5K Message: Process 11196 (qemu-kvm) of user 107 dumped core. Found module linux-vdso.so.1 with build-id: ac55faa953d68c373ac4b6e3a6deba1b7738018f Found module libpcre2-8.so.0 with build-id: a5dafbac0243bdc2e3b5ab9a07d61d4b32f86927 Found module liblzma.so.5 with build-id: 66b7fca8b63a61d19c5ded440ee6a8bf05dcafa5 Found module libzstd.so.1 with build-id: 415c738420cd82e182b99fc4c6e6821098e80ce4 Found module libselinux.so.1 with build-id: c1d23d40bcf1fae271256fcbe90a46ff6dbcce20 Found module libkmod.so.2 with build-id: 722d3027106c561018756766be8bed5215ed0f31 Found module libuuid.so.1 with build-id: da656ae81596c151559892375d730bd35f76048c Found module libudev.so.1 with build-id: 7c275efc762b4b5a63016164ffd5a53962effbb1 Found module libcrypto.so.3 with build-id: 160347f4c843b8844a52c9f7b2721c4c9a9c6861 Found module libkeyutils.so.1 with build-id: 56cff55f1f24fbca7c8e8d05b26e0421753720de Found module libkrb5support.so.0 with build-id: 22e9f06a5b088d401df9153948492077b4e198af Found module libffi.so.8 with build-id: 48e3675db4765a2e42729140922e11a10016f7ab Found module libpcre.so.1 with build-id: cffb947bcc416dca3cd249cdb0a1c6f614549c30 Found module libnl-route-3.so.200 with build-id: 2f297144194e194e379c1c31dcd245220764a488 Found module libnl-3.so.200 with build-id: 5690fe17968270ad4ee00fdafe15cf0a4db9c7ed Found module libdaxctl.so.1 with build-id: c46dc4ef727b75a311e76e41940451a90b9f1080 Found module libndctl.so.6 with build-id: 8c52e205e3982b331bb9683f1a35d53bb1c11c50 Found module libresolv.so.2 with build-id: eaebc6c6a15dcc8af04ea904eb33aeb5557fcafd Found module libcom_err.so.2 with build-id: deb039f83bae82e65be49dd97ac3d900a053e265 Found module libk5crypto.so.3 with build-id: eca094d4bc539db337447b773462de7b592e785b Found module libkrb5.so.3 with build-id: a3fec09569ad99121e79e2d73b0d446169965d26 Found module libgssapi_krb5.so.2 with build-id: a2daa1c10270547f24b82fcb0034e84853d35344 Found module libcrypt.so.2 with build-id: 6ce4e5eb200e61d07398af52f8bcb316cf8466e0 Found module libgmp.so.10 with build-id: 754b87178e725c166a68353f043ba7638e0723e1 Found module libhogweed.so.6 with build-id: 21c32760f1f50b9d69b43e966b93fb3de8baa076 Found module libnettle.so.8 with build-id: 3eda844d5a5df2443a281158b0d7ca6e81483b59 Found module libtasn1.so.6 with build-id: 3d3a2f6f0d4a70919496afe25e329abd189b7882 Found module libunistring.so.2 with build-id: 15e34cdfafa3547f9c700489b842ceb86f6fb73e Found module libidn2.so.0 with build-id: 958c50fc94ecb196b24f3619762e7ec3f28a5b40 Found module libp11-kit.so.0 with build-id: b03163bf5b98313c7347e7270627a6b2dcd35060 Found module libstdc++.so.6 with build-id: 66b742a0a51ccd8a67fdf59a31663b0cd28dfcf2 Found module ld-linux-x86-64.so.2 with build-id: 2b7f1f415256e40ab15e5808c73eb7acf3c73ea3 Found module libc.so.6 with build-id: 723a5d3072f3b79f3716880303439e11f7661fc5 Found module libgcc_s.so.1 with build-id: a1a28a65f942690a11041922ba11c16f716565e2 Found module libm.so.6 with build-id: c58412f6a7fffa4068614708cdb5b15f2ba49c0a Found module libaio.so.1 with build-id: 9b75d21282f8e17ddfa06aff78dae4f8dcce4106 Found module libgmodule-2.0.so.0 with build-id: 952459b04fb217bc3e4a17b902759cf66c89a95d Found module libglib-2.0.so.0 with build-id: 0006a4eed3e835c7d7812e36e5d720c1a6eb8689 Found module libslirp.so.0 with build-id: fa9d492d6d050c6f5cb906a3f087a8a63e4201e2 Found module libibverbs.so.1 with build-id: 3e19d7349fe9ea4c79debeb8716df7000ab13159 Found module librdmacm.so.1 with build-id: 4f6798f3f4164a4aa4d75d8a890c760e2835c495 Found module libnuma.so.1 with build-id: a0c23354fdb39f51ec9e31aeae27a9f8ee034500 Found module libseccomp.so.2 with build-id: 5a5b4ee3bb99ee0378bd937fdef7a7b7255d0428 Found module libpmem.so.1 with build-id: 084e72da2642981fe75b446293655ae4a68c0663 Found module libsasl2.so.3 with build-id: 2864d8e1600f3b46016fd62c44269e92c5ec0ca1 Found module libgnutls.so.30 with build-id: b08009ada925278615f5592e982e0776c06e065e Found module libpng16.so.16 with build-id: 698f67f36c58fa443c6ba891e4a0f106553a0452 Found module libz.so.1 with build-id: 62196acf9f75625acb09840435bb396c62829e12 Found module liblzo2.so.2 with build-id: c42a1f1fd2f73000efcbe3d2fb6ad196170fd1cf Found module libsnappy.so.1 with build-id: 83553ef5fb4b9e530a3f05b68d92f320a6d53772 Found module libpixman-1.so.0 with build-id: 4420cf633fcf726fc8cef2dd84d817083afe13e5 Found module qemu-kvm with build-id: f18dece9fca5cb387c0fed83075e7c926dfb9477 Stack trace of thread 11196: #0 0x00007f7a48b907fc __pthread_kill_implementation (libc.so.6 + 0x8f7fc) #1 0x00007f7a48b43676 raise (libc.so.6 + 0x42676) #2 0x00007f7a48b2d7d3 abort (libc.so.6 + 0x2c7d3) #3 0x00007f7a48b2d6fb __assert_fail_base.cold (libc.so.6 + 0x2c6fb) #4 0x00007f7a48b3c396 __assert_fail (libc.so.6 + 0x3b396) #5 0x0000556bcaa9402d socket_sockaddr_to_address (qemu-kvm + 0x93f02d) #6 0x0000556bca4bdc2c vnc_connect (qemu-kvm + 0x368c2c) #7 0x0000556bca4be26c vnc_display_add_client (qemu-kvm + 0x36926c) #8 0x0000556bcaa13935 qmp_marshal_add_client (qemu-kvm + 0x8be935) #9 0x0000556bcaa65ae7 do_qmp_dispatch_bh (qemu-kvm + 0x910ae7) #10 0x0000556bcaa71491 aio_dispatch (qemu-kvm + 0x91c491) #11 0x0000556bcaa8b512 aio_ctx_dispatch (qemu-kvm + 0x936512) #12 0x00007f7a48e62f6f g_main_context_dispatch (libglib-2.0.so.0 + 0x54f6f) #13 0x0000556bcaa981f3 main_loop_wait (qemu-kvm + 0x9431f3) #14 0x0000556bca735f77 qemu_main_loop (qemu-kvm + 0x5e0f77) #15 0x0000556bca499582 main (qemu-kvm + 0x344582) #16 0x00007f7a48b2e560 __libc_start_call_main (libc.so.6 + 0x2d560) #17 0x00007f7a48b2e60c __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d60c) #18 0x0000556bca498c45 _start (qemu-kvm + 0x343c45) Stack trace of thread 11225: #0 0x00007f7a48c0687f __poll (libc.so.6 + 0x10587f) #1 0x00007f7a48eb756c g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa956c) #2 0x00007f7a48e62533 g_main_loop_run (libglib-2.0.so.0 + 0x54533) #3 0x0000556bca8affc4 iothread_run (qemu-kvm + 0x75afc4) #4 0x0000556bcaa7623a qemu_thread_start (qemu-kvm + 0x92123a) #5 0x00007f7a48b8eaaf start_thread (libc.so.6 + 0x8daaf) #6 0x00007f7a48c13740 __clone3 (libc.so.6 + 0x112740) Stack trace of thread 11221: #0 0x00007f7a48c0bfbd syscall (libc.so.6 + 0x10afbd) #1 0x0000556bcaa75f8f qemu_event_wait (qemu-kvm + 0x920f8f) #2 0x0000556bcaa82041 call_rcu_thread (qemu-kvm + 0x92d041) #3 0x0000556bcaa7623a qemu_thread_start (qemu-kvm + 0x92123a) #4 0x00007f7a48b8eaaf start_thread (libc.so.6 + 0x8daaf) #5 0x00007f7a48c13740 __clone3 (libc.so.6 + 0x112740) Stack trace of thread 11231: #0 0x00007f7a48b8b70a __futex_abstimed_wait_common (libc.so.6 + 0x8a70a) #1 0x00007f7a48b8de80 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8ce80) #2 0x0000556bcaa7589f qemu_cond_wait_impl (qemu-kvm + 0x92089f) #3 0x0000556bca4d42a7 vnc_worker_thread (qemu-kvm + 0x37f2a7) #4 0x0000556bcaa7623a qemu_thread_start (qemu-kvm + 0x92123a) #5 0x00007f7a48b8eaaf start_thread (libc.so.6 + 0x8daaf) #6 0x00007f7a48c13740 __clone3 (libc.so.6 + 0x112740) Stack trace of thread 11226: #0 0x00007f7a48c083fb ioctl (libc.so.6 + 0x1073fb) #1 0x0000556bca831fa7 kvm_vcpu_ioctl (qemu-kvm + 0x6dcfa7) #2 0x0000556bca831831 kvm_cpu_exec (qemu-kvm + 0x6dc831) #3 0x0000556bca83382a kvm_vcpu_thread_fn (qemu-kvm + 0x6de82a) #4 0x0000556bcaa7623a qemu_thread_start (qemu-kvm + 0x92123a) #5 0x00007f7a48b8eaaf start_thread (libc.so.6 + 0x8daaf) #6 0x00007f7a48c13740 __clone3 (libc.so.6 + 0x112740) ~]# rpm -qa | grep -i virt- libgovirt-0.3.7-4.el8.x86_64 libvirt-gobject-3.0.0-1.el8.x86_64 libvirt-glib-4.0.0-3.el9.x86_64 libvirt-gconfig-3.0.0-1.el8.x86_64 virt-what-1.21-2.el9.2.x86_64 python3-libvirt-7.9.0-1.el9.x86_64 libvirt-libs-7.10.0-1.el9.x86_64 libvirt-daemon-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-core-7.10.0-1.el9.x86_64 libvirt-daemon-driver-network-7.10.0-1.el9.x86_64 libvirt-daemon-config-network-7.10.0-1.el9.x86_64 libvirt-daemon-driver-nwfilter-7.10.0-1.el9.x86_64 libvirt-daemon-driver-qemu-7.10.0-1.el9.x86_64 libvirt-daemon-driver-secret-7.10.0-1.el9.x86_64 libvirt-daemon-config-nwfilter-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-disk-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-iscsi-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-logical-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-mpath-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-rbd-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-scsi-7.10.0-1.el9.x86_64 libvirt-daemon-driver-storage-7.10.0-1.el9.x86_64 libvirt-daemon-driver-interface-7.10.0-1.el9.x86_64 libvirt-daemon-driver-nodedev-7.10.0-1.el9.x86_64 libvirt-client-7.10.0-1.el9.x86_64 virt-manager-common-3.2.0-11.el9.noarch virt-manager-3.2.0-11.el9.noarch libvirt-7.10.0-1.el9.x86_64 ]# rpm -qa | grep -i qemu qemu-kvm-tools-6.1.0-7.el9.x86_64 qemu-guest-agent-6.1.0-7.el9.x86_64 qemu-kvm-core-6.1.0-7.el9.x86_64 qemu-virtiofsd-6.1.0-7.el9.x86_64 qemu-kvm-docs-6.1.0-7.el9.x86_64 qemu-kvm-audio-pa-6.1.0-7.el9.x86_64 qemu-kvm-common-6.1.0-7.el9.x86_64 qemu-pr-helper-6.1.0-7.el9.x86_64 qemu-kvm-block-rbd-6.1.0-7.el9.x86_64 ipxe-roms-qemu-20200823-7.git4bd064de.el9.noarch qemu-kvm-6.1.0-7.el9.x86_64 qemu-kvm-hw-usbredir-6.1.0-7.el9.x86_64 qemu-kvm-ui-opengl-6.1.0-7.el9.x86_64 qemu-img-6.1.0-7.el9.x86_64 libvirt-daemon-driver-qemu-7.10.0-1.el9.x86_64 could be linked with the 3 months old bug https://bugzilla.redhat.com/show_bug.cgi?id=2003679