http://bugzilla.opensuse.org/show_bug.cgi?id=1065335 Bug ID: 1065335 Summary: remote-viewer segfault on wayland with spice when mouse enters guest window Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Tools Assignee: virt-bugs@suse.de Reporter: michiel@nexigon.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Build Identifier: Remote-viewer crashes when pointing the mouse inside the a guest window via spice. It doesn't happen in a xorg gnome session. Disabling the spice-vdagent.service in the guest has no effect. Tested with an openSuse Leap 42.3 guest but also reproducible with Windows 10, seems like an issue on client side. This also affects virt-manager, when using that to view the guest screen via spice. It crashes too. Connecting via VNC works fine. Reproducible: Always Steps to Reproduce: 1. Create a QEMU KVM guest via virt-manager, in this test case on localhost, openSuse Leap 42.3 2. use spice as display server, which is default. 3. ensure you are logged in a wayland session 4. start up the guest 5. connect to it: remote-viewer spice://localhost:5900 6. move the mouse inside the guest window Actual Results: Guest window crashes Expected Results: Guest window should not crash To be frank the issue appeared to me when using Proxmox VE, which uses remote-viewer (virt-viewer) to make the connection to the qemu sessions on the proxmox host. I cannot connect to that host via virt-manager or remote-viewer manually so I built a local test environment on my TW machine to reproduce the issue. openSUSE-release-20171023-1.4 virt-viewer-6.0-1.1 virt-manager-1.4.3-2.1 kernel-default-4.13.8-1.1 wayland-1.14.0-1.1 ~> remote-viewer -V remote-viewer version 6.0 Inside gnome wayland session: ~> remote-viewer --debug spice://localhost:5900 (remote-viewer:12206): virt-viewer-DEBUG: Opening display to spice://localhost:5900 (remote-viewer:12206): virt-viewer-DEBUG: Guest (null) has a spice display (remote-viewer:12206): virt-viewer-DEBUG: After open connection callback fd=-1 (remote-viewer:12206): virt-viewer-DEBUG: Opening connection to display at spice://localhost:5900 (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b2406a0 SpiceMainChannel 0 (remote-viewer:12206): virt-viewer-DEBUG: notebook show status 0x55ee5b1562d0 (remote-viewer:12206): virt-viewer-DEBUG: main channel: opened (remote-viewer:12206): virt-viewer-DEBUG: notebook show status 0x55ee5b1562d0 (remote-viewer:12206): virt-viewer-DEBUG: virt_viewer_app_set_uuid_string: UUID changed to c5063334-647b-45c5-bb18-6e42f942f96a (remote-viewer:12206): virt-viewer-DEBUG: app is not in full screen (remote-viewer:12206): virt-viewer-DEBUG: app is not in full screen (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b3d0c50 SpiceUsbredirChannel 1 (remote-viewer:12206): virt-viewer-DEBUG: new usbredir channel (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b3d5490 SpiceUsbredirChannel 0 (remote-viewer:12206): virt-viewer-DEBUG: new usbredir channel (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b3d36f0 SpiceRecordChannel 0 (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b3c59c0 SpicePlaybackChannel 0 (remote-viewer:12206): virt-viewer-DEBUG: new audio channel (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b3d43a0 SpiceCursorChannel 0 (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b3d1720 SpiceDisplayChannel 0 (remote-viewer:12206): virt-viewer-DEBUG: New spice channel 0x55ee5b3c9a20 SpiceInputsChannel 0 (remote-viewer:12206): virt-viewer-DEBUG: new inputs channel (remote-viewer:12206): virt-viewer-DEBUG: creating spice display (#:0) (remote-viewer:12206): virt-viewer-DEBUG: Insert display 0 0x55ee5b204f40 (remote-viewer:12206): virt-viewer-DEBUG: Found a window without a display, reusing for display #0 (remote-viewer:12206): virt-viewer-DEBUG: notebook show display 0x55ee5b1562d0 (remote-viewer:12206): virt-viewer-DEBUG: Allocated 1024x768 (remote-viewer:12206): virt-viewer-DEBUG: Child allocate 1024x768 (remote-viewer:12206): Gtk-WARNING **: Allocating size to SpiceDisplay 0x55ee5b668340 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? Segmentatiefout (geheugendump gemaakt) ~> GDK_BACKEND=x11 remote-viewer spice://localhost:5900 No crash Inside gnome xorg session: No issues, no crashes Inside weston session segfault, same as on wayland -- You are receiving this mail because: You are on the CC list for the bug.