Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1110679

Summary: Fail to display spice guest graphical console with the latest spice-gtk
Product: Red Hat Enterprise Linux 6 Reporter: tingting zheng <tzheng>
Component: spice-gtkAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.6CC: acathrow, cfergeau, codong, dblechte, djasa, dyuan, juzhou, lcui, marcandre.lureau, mzhan, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-18 16:46:41 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:

Description tingting zheng 2014-06-18 08:55:36 UTC
Description
Fail to display spice guest graphical console with the latest spice-gtk

Version:
spice-gtk-0.22-4.el6.x86_64
spice-glib-0.22-4.el6.x86_64
spice-gtk-python-0.22-4.el6.x86_64
spice-server-0.12.4-9.el6.x86_64
virt-manager-0.9.0-26.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Launch virt-manager.
2.Boot a spice guest,open console from virt-manager,error shows:
Cannot display graphical console type 'spice':/usr/lib64/libspice-client-glib-2.0.so.8: undefined symbol: g_get_monotonic_time

3.The same error shows when using virt-viewer to launch guest:
# virt-viewer test
virt-viewer: symbol lookup error: /usr/lib64/libspice-client-glib-2.0.so.8: undefined symbol: g_get_monotonic_time

4.If I download spice-gtk to spice-gtk-0.22-3.el6.x86_64,no such error shows and spice guest console can be launched successfully.

Actual results:
As descripiton.

Expected results:
spice guest console can be launched successfully.

Comment 2 Christophe Fergeau 2014-06-18 09:04:40 UTC
spice-gtk-0.22-4 was built against glib 2.28 (this is related to bug #1101398). This bug should go away if you upgrade to glib2 2.28 instead of glib2 2.26 which I think you are currently using.

Comment 3 tingting zheng 2014-06-18 09:22:23 UTC
(In reply to Christophe Fergeau from comment #2)
> spice-gtk-0.22-4 was built against glib 2.28 (this is related to bug
> #1101398). This bug should go away if you upgrade to glib2 2.28 instead of
> glib2 2.26 which I think you are currently using.

I checked my host,it indeed uses glib 2.26.
After upgrade to glib2 2.28,virt-viewer can work well.
So,spice-gtk should be used together with glib 2.28, however why there is no dependency added in spice-gtk,users will have no idea that they need to update glib while updating spice-gtk.

Comment 4 Christophe Fergeau 2014-06-18 09:31:33 UTC
(In reply to tingting zheng from comment #3)
> 
> I checked my host,it indeed uses glib 2.26.
> After upgrade to glib2 2.28,virt-viewer can work well.
> So,spice-gtk should be used together with glib 2.28, however why there is no
> dependency added in spice-gtk,users will have no idea that they need to
> update glib while updating spice-gtk.

This runtime dependency on glib 2.28 appeared implicitly because glib 2.28 was present in the build root when the latest spice-gtk build was done. We could set the correct version in spice-gtk Requires, but ideally glib would make it possible to automatically detect this :(
For what it's worth, I don't think we support users upgrading only a subset of rhel6.6 packages.

Comment 5 Marc-Andre Lureau 2014-06-18 14:19:38 UTC
let's bump requirement, this will also please people who need https proxy support

Comment 6 Marc-Andre Lureau 2014-06-18 14:21:47 UTC
(ah https proxy support is only available in 2.24)

Comment 7 Marc-Andre Lureau 2014-06-18 14:22:00 UTC
(ah https proxy support is only available in 0.24)

Comment 8 Marc-Andre Lureau 2014-06-18 16:46:41 UTC

*** This bug has been marked as a duplicate of bug 1097338 ***

Comment 9 David Jaša 2014-06-20 13:52:11 UTC
just for the record, the spice-gtk-0.22-6 with the new glib requirement works.