Segfault when using remote-viewer to connect to spice on wayland
I tried using remote-viewer on Pop os 20.04 based on ubuntu 20.04 with a wayland session, when using it to connect to a SPICE VM on a Proxmox server the application always segfaults.
This happens everytime I start remote-viewer like this. however i can launch it without any arguments just fine ($ remote-viewer
). However when connecting via the GUI it will still segfault only the initial GUI works.
It works just fine on X
GDB output of coredump:
gdb /usr/local/bin/remote-viewer /tmp/core-remote-viewer-11-1000-1000-202269-1589463526
GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/remote-viewer...
[New LWP 202269]
[New LWP 202271]
[New LWP 202270]
[New LWP 202273]
[New LWP 202274]
[New LWP 202275]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `remote-viewer /home/stefan/Downloads/Qir+g_qF'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f421a147842 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
[Current thread is 1 (Thread 0x7f4215259580 (LWP 202269))]
(gdb) help
remote-viewer --spice-debug ~/Downloads/50amb2_0
(remote-viewer:203886): GSpice-DEBUG: 15:48:55.945: spice-session.c:288 New session (compiled from package spice-gtk 0.37)
(remote-viewer:203886): GSpice-DEBUG: 15:48:55.945: spice-session.c:292 Supported channels: main, display, inputs, cursor, playback, record, smartcard, usbredir, webdav
(remote-viewer:203886): GSpice-DEBUG: 15:48:55.945: usb-device-manager.c:485 auto-connect filter set to 0x03,-1,-1,-1,0|-1,-1,-1,-1,1
(remote-viewer:203886): GSpice-DEBUG: 15:48:55.954: spice-session.c:1814 no migration in progress
Spice-INFO: 15:48:55.955: channel-main.c:334:spice_main_set_property: SpiceMainChannel::color-depth has been deprecated. Property is ignored
(remote-viewer:203886): GSpice-DEBUG: 15:48:55.955: spice-channel.c:141 main-1:0: spice_channel_constructed
(remote-viewer:203886): GSpice-DEBUG: 15:48:55.955: spice-session.c:2309 main-1:0: new main channel, switching
Segmentation fault (core dumped)
(remote-viewer:204059): virt-viewer-DEBUG: 15:49:58.504: Opening display to /home/stefan/Downloads/SnlVsbNs
(remote-viewer:204059): virt-viewer-DEBUG: 15:49:58.504: Guest (null) has a spice display
(remote-viewer:204059): virt-viewer-DEBUG: 15:49:58.512: After open connection callback fd=-1
(remote-viewer:204059): virt-viewer-DEBUG: 15:49:58.512: Opening connection to display at /home/stefan/Downloads/SnlVsbNs
(remote-viewer:204059): virt-viewer-DEBUG: 15:49:58.514: New spice channel 0x55d31ae54de0 SpiceMainChannel 0
(remote-viewer:204059): virt-viewer-DEBUG: 15:49:58.514: notebook show status 0x55d31af78360
Segmentation fault (core dumped)