Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Virt-viewer and virt-viewer (spice-gtk) crashes.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
aditya3098
n00b
n00b


Joined: 05 Nov 2014
Posts: 19
Location: India

PostPosted: Sun Feb 01, 2015 6:22 am    Post subject: [SOLVED] Virt-viewer and virt-viewer (spice-gtk) crashes. Reply with quote

I have a windows xp virtual machine running under libvirt(kvm).
Sometimes, the gtk viewer (virt-viewer) and full manager (virt-manager) crash. The vm is still alive, though.
Recently, I installed http://www.battoexeconverter.com/, which crashes the viewer every time it opens (See video, which only contains virt-viewer, but the same happens for virt-manager). I figured it is an issue with spice-gtk.

Relevant programs
Code:

0 thangorodrim 11:48 ~/spiceissues $ eix virt-
* app-emacs/nxml-libvirt-schemas
     Available versions:  ~0.9.7 ~1.2.1
     Homepage:            http://www.libvirt.org/
     Description:         Extension for nxml-mode with libvirt schemas

[I] app-emulation/libvirt-glib
     Available versions:  0.1.8^t 0.1.9^t ~0.2.0^t {+introspection python +vala PYTHON_TARGETS="python2_7"}
     Installed versions:  0.1.9^t(10:42:58 AM 12/31/2014)(introspection python vala PYTHON_TARGETS="python2_7")
     Homepage:            http://libvirt.org/git/?p=libvirt-glib.git
     Description:         GLib and GObject mappings for libvirt

* app-emulation/libvirt-snmp
     Available versions:  ~0.0.2-r2 ~0.0.3
     Homepage:            http://libvirt.org
     Description:         Provides SNMP functionality for libvirt

[I] app-emulation/virt-manager
     Available versions:  0.10.0-r2 ~1.0.1-r1 1.1.0 ~1.1.0-r2 **9999 {debug gnome-keyring gtk policykit sasl PYTHON_TARGETS="python2_7"}
     Installed versions:  1.1.0(10:43:41 AM 12/31/2014)(gtk policykit -debug -gnome-keyring -sasl PYTHON_TARGETS="python2_7")
     Homepage:            http://virt-manager.org
     Description:         A graphical tool for administering virtual machines

[I] app-emulation/virt-viewer
     Available versions:  0.5.6 ~0.5.7 ~0.6.0 ~1.0 ~2.0 {debug sasl +spice +vnc}
     Installed versions:  0.5.6(11:10:54 AM 02/01/2015)(spice vnc -debug -sasl)
     Homepage:            http://virt-manager.org/
     Description:         Graphical console client for connecting to virtual machines

* app-emulation/virt-what
     Available versions:  1.12 {dmi}
     Homepage:            http://people.redhat.com/~rjones/virt-what/
     Description:         Detects if the current machine is running in a virtual machine

* dev-php/libvirt-php
     Available versions:  ~0.4.8^t **9999^t {doc PHP_TARGETS="php5-4 php5-5 php5-6"}
     Homepage:            http://libvirt.org/php/
     Description:         PHP 5 bindings for libvirt

[I] dev-python/libvirt-python
     Available versions:  1.2.10^t ~1.2.11^t **9999 9999[1] {test PYTHON_TARGETS="python2_7 python3_3 python3_4"}
     Installed versions:  9999[1](10:43:30 AM 12/31/2014)(-test PYTHON_TARGETS="python2_7 python3_3")
     Homepage:            http://www.libvirt.org
     Description:         libvirt Python bindings

0 thangorodrim 11:42 ~/spiceissues $ eix libvirt
* app-emacs/nxml-libvirt-schemas
     Available versions:  ~0.9.7 ~1.2.1
     Homepage:            http://www.libvirt.org/
     Description:         Extension for nxml-mode with libvirt schemas

[I] app-emulation/libvirt
     Available versions:  1.2.10-r3(0/1.2.10) ~1.2.11-r2(0/1.2.11) **9999 {audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd sasl selinux systemd
+udev uml +vepa virt-network virtualbox wireshark-plugins xen ELIBC="glibc"}
     Installed versions:  1.2.10-r3(04:56:27 PM 01/03/2015)(caps libvirtd macvtap nls policykit qemu udev vepa virt-network -audit -avahi -firewalld -fuse -iscsi -lvm -lxc -nfs -numa -openvz -parted -pcap -phyp -rbd -sasl -selinux
-systemd -uml -virtualbox -wireshark-plugins -xen ELIBC="glibc")
     Homepage:            http://www.libvirt.org/
     Description:         C toolkit to manipulate virtual machines

[I] app-emulation/libvirt-glib
     Available versions:  0.1.8^t 0.1.9^t ~0.2.0^t {+introspection python +vala PYTHON_TARGETS="python2_7"}
     Installed versions:  0.1.9^t(10:42:58 AM 12/31/2014)(introspection python vala PYTHON_TARGETS="python2_7")
     Homepage:            http://libvirt.org/git/?p=libvirt-glib.git
     Description:         GLib and GObject mappings for libvirt

* app-emulation/libvirt-snmp
     Available versions:  ~0.0.2-r2 ~0.0.3
     Homepage:            http://libvirt.org
     Description:         Provides SNMP functionality for libvirt

* dev-php/libvirt-php
     Available versions:  ~0.4.8^t **9999^t {doc PHP_TARGETS="php5-4 php5-5 php5-6"}
     Homepage:            http://libvirt.org/php/
     Description:         PHP 5 bindings for libvirt

[I] dev-python/libvirt-python
     Available versions:  1.2.10^t ~1.2.11^t **9999 9999[1] {test PYTHON_TARGETS="python2_7 python3_3 python3_4"}
     Installed versions:  9999[1](10:43:30 AM 12/31/2014)(-test PYTHON_TARGETS="python2_7 python3_3")
     Homepage:            http://www.libvirt.org
     Description:         libvirt Python bindings

[1] "netcrave-ebuilds" /var/lib/layman/netcrave

Found 6 matches.
0 thangorodrim 11:42 ~/spiceissues $ eix spice-gtk
[I] net-misc/spice-gtk
     Available versions:  0.20-r1 0.21 ~0.25-r1 {dbus doc gstreamer gtk3 +introspection policykit pulseaudio python sasl smartcard static-libs usbredir vala webdav PYTHON_TARGETS="python2_7"}
     Installed versions:  0.21(10:42:15 AM 12/31/2014)(dbus gstreamer gtk3 introspection policykit python usbredir -doc -pulseaudio -sasl -smartcard -static-libs -vala PYTHON_TARGETS="python2_7")
     Homepage:            http://spice-space.org http://gitorious.org/spice-gtk
     Description:         Set of GObject and Gtk objects for connecting to Spice servers and a client GUI

0 thangorodrim 11:42 ~/spiceissues $


Only virt-viewer provides any commandline output, but both crash:

Code:

0 thangorodrim 11:38 ~ $ virt-viewer --connect  qemu:///system winxp

(virt-viewer:22333): GLib-CRITICAL **: Source ID 45 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 77 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 78 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 79 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 80 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 81 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 82 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 83 was not found when attempting to remove it

(virt-viewer:22333): GSpice-WARNING **: Warning no automount-inhibiting implementation available

(virt-viewer:22333): GLib-CRITICAL **: Source ID 158 was not found when attempting to remove it

(virt-viewer:22333): GLib-CRITICAL **: Source ID 159 was not found when attempting to remove it
0 thangorodrim 11:38 ~ $ sudo virsh start winxp                     
Domain winxp started

0 thangorodrim 11:39 ~ $ virt-viewer --connect  qemu:///system winxp

(virt-viewer:22372): GLib-CRITICAL **: Source ID 46 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 78 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 79 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 80 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 81 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 82 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 83 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 84 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 166 was not found when attempting to remove it

(virt-viewer:22372): GLib-CRITICAL **: Source ID 167 was not found when attempting to remove it

(virt-viewer:22372): GSpice-WARNING **: Warning no automount-inhibiting implementation available
(/usr/bin/virt-viewer:22372): Spice-ERROR **: /var/tmp/portage/net-misc/spice-gtk-0.21/work/spice-gtk-0.21/spice-common/common/pixman_utils.c:1343:bitmap_1be_32_to_32: assertion `palette != NULL' failed
[1]    22372 abort      virt-viewer --connect qemu:///system winxp
134 thangorodrim 11:39 ~ $ virt-manager
0 thangorodrim 11:39 ~ $             


And the video:

http://www.sudoforlunch.org/issue.ogv
_________________
The day microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
https://forums.gentoo.org/viewtopic-t-1002264.html systemd-kerneld is comming...(dramatic pause)...soon


Last edited by aditya3098 on Mon Feb 02, 2015 12:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
aditya3098
n00b
n00b


Joined: 05 Nov 2014
Posts: 19
Location: India

PostPosted: Mon Feb 02, 2015 12:41 pm    Post subject: Reply with quote

Here is the debug output of virt-viewer:
Code:

134 thangorodrim 18:11 ~ $ virt-viewer --debug --connect qemu:///system winxp
(virt-viewer:4172): virt-viewer-DEBUG: Insert window 0 0x8890f0
(virt-viewer:4172): virt-viewer-DEBUG: fullscreen display 0: 0
(virt-viewer:4172): virt-viewer-DEBUG: fullscreen display 0: 0
(virt-viewer:4172): virt-viewer-DEBUG: connecting ...
(virt-viewer:4172): virt-viewer-DEBUG: Opening connection to libvirt with URI qemu:///system
(virt-viewer:4172): virt-viewer-DEBUG: Add handle 11 1 0x8a00c0
(virt-viewer:4172): virt-viewer-DEBUG: initial connect
(virt-viewer:4172): virt-viewer-DEBUG: notebook show status 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: notebook show status 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: Guest winxp is running, determining display
(virt-viewer:4172): virt-viewer-DEBUG: Set connect info: (null),(null),(null),-1,(null),(null),(null),0
(virt-viewer:4172): virt-viewer-DEBUG: Guest winxp has a spice display
(virt-viewer:4172): virt-viewer-DEBUG: Guest graphics address is 127.0.0.1:5900
(virt-viewer:4172): virt-viewer-DEBUG: Set connect info: localhost,127.0.0.1,5900,-1,(null),(null),(null),-1
(virt-viewer:4172): virt-viewer-DEBUG: Error operation forbidden: read only access prevents virDomainOpenGraphics
(virt-viewer:4172): virt-viewer-DEBUG: After open connection callback fd=-1
(virt-viewer:4172): virt-viewer-DEBUG: Opening direct TCP connection to display at 127.0.0.1:5900:-1
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0x7fd3a0 SpiceMainChannel 0
(virt-viewer:4172): virt-viewer-DEBUG: Checking full screen auto-conf
(virt-viewer:4172): virt-viewer-DEBUG: auto-conf disabled
(virt-viewer:4172): virt-viewer-DEBUG: notebook show status 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: Add timeout 0x89ead0 -1 0x7f77495262f8 0x89b020 1

(virt-viewer:4172): GLib-CRITICAL **: Source ID 46 was not found when attempting to remove it
(virt-viewer:4172): virt-viewer-DEBUG: main channel: opened
(virt-viewer:4172): virt-viewer-DEBUG: notebook show status 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: Checking full screen auto-conf
(virt-viewer:4172): virt-viewer-DEBUG: auto-conf disabled
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xa66e10 SpiceUsbredirChannel 3
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xa79210 SpiceUsbredirChannel 2
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xb41b10 SpiceUsbredirChannel 1
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xb20e10 SpiceUsbredirChannel 0
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xb37c10 SpiceRecordChannel 0
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xb46510 SpicePlaybackChannel 0
(virt-viewer:4172): virt-viewer-DEBUG: new audio channel
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xde5410 SpiceCursorChannel 0
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xdeb7a0 SpiceDisplayChannel 0
(virt-viewer:4172): virt-viewer-DEBUG: New spice channel 0xdec1c0 SpiceInputsChannel 0
(virt-viewer:4172): virt-viewer-DEBUG: new inputs channel

(virt-viewer:4172): GLib-CRITICAL **: Source ID 80 was not found when attempting to remove it

(virt-viewer:4172): GLib-CRITICAL **: Source ID 81 was not found when attempting to remove it

(virt-viewer:4172): GLib-CRITICAL **: Source ID 82 was not found when attempting to remove it

(virt-viewer:4172): GLib-CRITICAL **: Source ID 83 was not found when attempting to remove it

(virt-viewer:4172): GLib-CRITICAL **: Source ID 84 was not found when attempting to remove it

(virt-viewer:4172): GLib-CRITICAL **: Source ID 85 was not found when attempting to remove it

(virt-viewer:4172): GLib-CRITICAL **: Source ID 86 was not found when attempting to remove it
(virt-viewer:4172): virt-viewer-DEBUG: creating spice display (#:0)
(virt-viewer:4172): virt-viewer-DEBUG: Preparing main window resize
(virt-viewer:4172): virt-viewer-DEBUG: Decided todo 718x853 (desktop is 718x853, fullscreen is 1440x900
(virt-viewer:4172): virt-viewer-DEBUG: notebook show status 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: Allocated 718x853
(virt-viewer:4172): virt-viewer-DEBUG: Child allocate 718x853
(virt-viewer:4172): virt-viewer-DEBUG: display 0x914310 ready:1
(virt-viewer:4172): virt-viewer-DEBUG: notebook show display 0x8251c0

(virt-viewer:4172): GSpice-WARNING **: Warning no automount-inhibiting implementation available

(virt-viewer:4172): GLib-CRITICAL **: Source ID 169 was not found when attempting to remove it

(virt-viewer:4172): GLib-CRITICAL **: Source ID 170 was not found when attempting to remove it
(virt-viewer:4172): virt-viewer-DEBUG: Dispatch handler 11 1 0x8a00c0
(virt-viewer:4172): virt-viewer-DEBUG: Dispatch handler 11 2 0x8a00c0
(virt-viewer:4172): virt-viewer-DEBUG: display 0x914310 ready:0
(virt-viewer:4172): virt-viewer-DEBUG: notebook show status 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: display 0x914310 ready:1
(virt-viewer:4172): virt-viewer-DEBUG: notebook show display 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: Preparing main window resize
(virt-viewer:4172): virt-viewer-DEBUG: Decided todo 640x480 (desktop is 640x480, fullscreen is 1440x900
(virt-viewer:4172): virt-viewer-DEBUG: Allocated 718x853
(virt-viewer:4172): virt-viewer-DEBUG: Child allocate 718x539
(virt-viewer:4172): virt-viewer-DEBUG: display 0x914310 ready:0
(virt-viewer:4172): virt-viewer-DEBUG: notebook show status 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: display 0x914310 ready:1
(virt-viewer:4172): virt-viewer-DEBUG: notebook show display 0x8251c0
(virt-viewer:4172): virt-viewer-DEBUG: Preparing main window resize
(virt-viewer:4172): virt-viewer-DEBUG: Decided todo 718x853 (desktop is 718x853, fullscreen is 1440x900
(virt-viewer:4172): virt-viewer-DEBUG: Allocated 718x853
(virt-viewer:4172): virt-viewer-DEBUG: Child allocate 718x853
(virt-viewer:4172): virt-viewer-DEBUG: Dispatch handler 11 1 0x8a00c0
(virt-viewer:4172): virt-viewer-DEBUG: Dispatch handler 11 2 0x8a00c0
(virt-viewer:4172): virt-viewer-DEBUG: Dispatch handler 11 1 0x8a00c0
(virt-viewer:4172): virt-viewer-DEBUG: Dispatch handler 11 2 0x8a00c0
(/usr/bin/virt-viewer:4172): Spice-ERROR **: /var/tmp/portage/net-misc/spice-gtk-0.21/work/spice-gtk-0.21/spice-common/common/pixman_utils.c:1343:bitmap_1be_32_to_32: assertion `palette != NULL' failed
[1]    4172 abort      virt-viewer --debug --connect qemu:///system winxp


_________________
The day microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
https://forums.gentoo.org/viewtopic-t-1002264.html systemd-kerneld is comming...(dramatic pause)...soon
Back to top
View user's profile Send private message
aditya3098
n00b
n00b


Joined: 05 Nov 2014
Posts: 19
Location: India

PostPosted: Mon Feb 02, 2015 12:59 pm    Post subject: Reply with quote

Solved by upgrading to the latest ~arch spice-gtk.
_________________
The day microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
https://forums.gentoo.org/viewtopic-t-1002264.html systemd-kerneld is comming...(dramatic pause)...soon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum