Bug 1107518

Summary: Unnecessary warning info show when using virt-viewer -k to launch a spice guest
Product: Red Hat Enterprise Linux 6 Reporter: tingting zheng <tzheng>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: cfergeau, codong, dblechte, dyuan, jjongsma, juzhou, lcui, marcandre.lureau, mzhan, rbalakri, tjamrisk
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-0.6.0-6.el6 Doc Type: Bug Fix
Doc Text:
no doc required
Story Points: ---
Clone Of:
: 1107519 (view as bug list) Environment:
Last Closed: 2014-10-14 06:31:34 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:
Bug Depends On:    
Bug Blocks: 1107519    

Description tingting zheng 2014-06-10 06:32:10 UTC
Description
Unnecessary warning info show when using virt-viewer -k to launch a spice guest

Version:
virt-viewer-0.6.0-5.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Prepare a spice+qxl guest with graphics,the xml shows as below:
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <graphics type='spice' autoport='yes'/>
    <video>
      <model type='qxl' ram='65536' vram='65536' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>

2.Use virt-viewer -k to launch the guest,shutdown guest from virt-viewer console or just use virsh destroy $guest,warning info show as below:
# virt-viewer rhel6.5 -k 

(virt-viewer:7262): virt-viewer-WARNING **: Couldn't load configuration: File is empty
(virt-viewer:7262): virt-viewer-DEBUG: kiosk mode: skip extra monitors that don't fit on client
(virt-viewer:7262): virt-viewer-DEBUG: kiosk mode: skip extra monitors that don't fit on client
(virt-viewer:7262): virt-viewer-DEBUG: kiosk mode: skip extra monitors that don't fit on client

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

(virt-viewer:7262): virt-viewer-CRITICAL **: virt_viewer_window_set_display: assertion `VIRT_VIEWER_IS_WINDOW(self)' failed

(virt-viewer:7262): virt-viewer-CRITICAL **: virt_viewer_app_remove_nth_window: assertion `win != NULL' failed

(virt-viewer:7262): virt-viewer-CRITICAL **: virt_viewer_window_set_display: assertion `VIRT_VIEWER_IS_WINDOW(self)' failed

(virt-viewer:7262): virt-viewer-CRITICAL **: virt_viewer_app_remove_nth_window: assertion `win != NULL' failed

(virt-viewer:7262): virt-viewer-CRITICAL **: virt_viewer_window_set_display: assertion `VIRT_VIEWER_IS_WINDOW(self)' failed

(virt-viewer:7262): virt-viewer-CRITICAL **: virt_viewer_app_remove_nth_window: assertion `win != NULL' failed

(virt-viewer:7262): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().

(virt-viewer:7262): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().

(virt-viewer:7262): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().

(virt-viewer:7262): virt-viewer-WARNING **: Can't hide windows in kiosk mode

Actual results:
As descripiton.

Expected results:
No such warning info show.

Additional info:
The bug can not be reproduced for vnc guest and guest without graphics.

Comment 2 Marc-Andre Lureau 2014-06-10 12:18:42 UTC
Sent patch series:
https://www.redhat.com/archives/virt-tools-list/2014-June/msg00053.html

Comment 4 tingting zheng 2014-06-18 10:28:28 UTC
Tested the bug with:
virt-viewer-0.6.0-7.el6.x86_64

No such warning info shows when following steps in description,so move the bug to VERIFIED.

Comment 5 Marc-Andre Lureau 2014-07-23 17:02:35 UTC
*** Bug 1118365 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2014-10-14 06:31:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1379.html