Red Hat Bugzilla – Bug 862099
Subscription Manager Dialogs Fail to Render Properly - 'Gtk_is_Container' assertion failure
Last modified: 2013-01-07 23:03:58 EST
Description of problem:
I've had the System Registration dialog fail on me when I try to open that dialog, resulting in only being able to see the S in the Window Title and a bit of window underneath.
Sefler hooked me up with details on how to see the Subscription Redemption dialog, and that has failed in the same way for me twice, resulting in the same itty bitty slice of window showing. The Subscription Redemption window is resizable though, so I was able to get a screenshot of it after expanding it, its just empty, nothing ever got placed inside it.
The Subscription Redemption dialog seems to fail more frequently, and I was able to get some output from running it in the terminal. The message was:
/usr/share/rhsm/subscription_manager/gui/redeem.py:60 GtkWarning: gtk_container_foreach:assertion 'GTK_IS_CONTAINER (container)' failed
Version-Release number of selected component (if applicable):
fairly, at least for Subscription Redemption, less so for System Registration
Steps to Reproduce:
1. Launch subscription-manager-gui from a terminal
2. Open Redeem a Subscription from the menu, close it
3. Open most of the other menu entries, and close them, one by one
4. Open Redeem again, it might be messed up
Dialog opens in a completely unusable size, and may or may not be resizable, depending on which dialog it happened to
Even if you can resize it, the dialog is empty
Created attachment 620018 [details]
System Registration Dialog Failure
Created attachment 620019 [details]
Subscription Redemption Dialog Failure After Resizing
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
Just hit it opening the Import Certificate window in a RHEL 5.9 KVM guest. I don't think the exact dialog matters, just open/close a bunch of dialogs and eventually it happens, didn't take too long here.
In my case the window opened blank (not just as a small sliver)
Ok we found really easy steps to reproduce:
- Open subscription-manager-gui
- Control + i (to open import cert dialog)
- Press ESC, or hit the X to close the window in the top right corner. (DO NOT HIT CANCEL BUTTON)
- Control + i to open the window again.
You will see a blank window.
The problem affects the redeem GUI as well, I modified /usr/share/rhsm/subscription_manager/gui/managergui.py, look for a line "if can_redeem:" around line 355, change it to "if True:". This will let you see the menu option to open the redeem dialog always. In the case of redeem you will get the sliver of a window as reported in bug originally.
This points to the default signal handlers kicking in and cleaning things up. Should be an easy fix.
Fixed in subscription-manager.git master: 1fdbc022fba3ccb4136221365c4884b8ff8de459
awood will pull into 5.9 branches.
Reproduced this bug with ease in version...
[root@jsefler-59client ~]# rpm -q subscription-manager-gui
Verified comment 6 fix is applied in version...
[root@jsefler-rhel59 ~]# rpm -q subscription-manager-gui
Moving to VERIFIED
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.