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 1647170

Summary: fros-recordmydesktop RPM package does not install required transitive dependencies or function upon install
Product: Red Hat Enterprise Linux 7 Reporter: Devon <dshumake>
Component: frosAssignee: ekulik
Status: CLOSED ERRATA QA Contact: Jan Houska <jhouska>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.7CC: ekulik, jhouska, mkyral
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.0-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:03:25 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: 1608711    
Bug Blocks: 1630920    

Description Devon 2018-11-06 19:27:29 UTC
Description of problem:

fros-recordmydesktop RPM package does not install required transitive dependencies or function upon install.

After installation, and even after attempting to resolve possible dependencies fros fails with the following python error followed by a seg fault.

$ fros 
/usr/lib/python2.7/site-packages/pyfros/controls.py:22: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
Segmentation fault

How reproducible:

Consistently

Steps to Reproduce:
1. Install fros-recordmydesktop from optional repository
2. Attempt to run fros
3. Segfault

Actual results:

Python error and segfault

Expected results:

fros desktop recording to work.

Comment 2 Miroslav Suchý 2018-11-07 12:11:12 UTC
We will try to look at this in 7.7 time frame.

Comment 3 ekulik 2018-11-14 16:57:47 UTC
Fedora has a patch to fix the crash: https://src.fedoraproject.org/rpms/fros/blob/master/f/0002-Specify-prototypes-for-used-X11-C-functions.patch

The PyGObject warning is a red herring in this case.

Comment 4 ekulik 2018-11-15 12:40:59 UTC
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1069340. The sub-package should not exist in the first place, as recordmydesktop itself was retired and is not available.

Comment 5 ekulik 2018-11-19 15:12:21 UTC
fros-recordmydesktop removed and PyGObject warning patched out in fros-1.0-3.el7.

The version of fros in 7.x does not contain the code that checks for X availability, therefore the patch to fix it does not apply, so I suspect that the code being run wasn’t from the package. That, and I cannot reproduce it either in RHEL or after building the package from source.

Comment 7 Jan Houska 2019-06-03 16:54:21 UTC
VERIFIED:


new version of fros does not contain fros-recordmydesktop package. However I can not reproduce reported reproducer (see initial comment). 

OLD FAIL   (1MT-RHEL-7.6-released-26953-2019-06-03-16-18)
# rpm -qa fros*
fros-gnome-1.0-2.el7.noarch
fros-recordmydesktop-1.0-2.el7.noarch
fros-1.0-2.el7.noarch
[root@ci-vm-10-0-136-133 ~]# fros
Traceback (most recent call last):
  File "/usr/bin/fros", line 23, in <module>
    from pyfros.controls import Controls
  File "/usr/lib/python2.7/site-packages/pyfros/controls.py", line 22, in <module>
    from gi.repository import Gtk
ImportError: cannot import name Gtk


NEW PASS (1MT-RHEL-7.7-20190530.1-27947-2019-06-03-16-50)

# rpm -qa fros*
fros-gnome-1.0-5.el7.noarch
fros-1.0-5.el7.noarch
[root@ci-vm-10-0-136-62 ~]# fros
Traceback (most recent call last):
  File "/usr/bin/fros", line 23, in <module>
    from pyfros.controls import Controls
  File "/usr/lib/python2.7/site-packages/pyfros/controls.py", line 20, in <module>
    gi.require_version('Gtk', '3.0')
  File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 99, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available

Comment 9 errata-xmlrpc 2019-08-06 12:03:25 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.

https://access.redhat.com/errata/RHBA-2019:2026