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 674012

Summary: Sabayon crashes when getting details of a profile
Product: Red Hat Enterprise Linux 6 Reporter: ritz <rkhadgar>
Component: sabayonAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: jwest, pkovar, spurrier, tpelka, tsmetana
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: sabayon-2.29.92-2.el6 Doc Type: Bug Fix
Doc Text:
Previously, when a user configured a custom panel launcher in the profile, Sabayon terminated unexpectedly while getting details of the profile. With this update, a priority level has been set up for sorting in the Details view so that Sabayon no longer crashes while getting the profile details.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-07 13:06:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed patch none

Description ritz 2011-01-31 10:23:51 UTC
Created attachment 476161 [details]
proposed patch

Description of problem:
Sabayon crashes when getting details of a profile. This happens only when you
have configured a custom panel launcher in the profile.


Steps to Reproduce:
1) Start sabayon as root
2) Click on add and enter a name (foo) to create a new profile
3) Click on Edit to get the foo profile window in xephyr
4) Right click on a panel and add a custom launcher
5) Save profile and close the xephyr window
6) With foo selected, click on 'Details'


How reproducible:
always

  
Additional info:
upstream bug - 
https://bugzilla.gnome.org/show_bug.cgi?id=640149


MainThread 2011/01/17 06:32:44.3793 (USER): Finishing editing profile
MainThread 2011/01/17 06:33:02.3679 (USER): Got fatal error: Fatal exception in callback; exiting main loop
MainThread 2011/01/17 06:33:02.3801 (USER): Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/sabayon/errors.py", line 125, in wrapper
    return func (*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/sabayon/profilesdialog.py", line 475, in __details_button_clicked
    editorwindow.ProfileEditorWindow (profile_name, self.dialog)
  File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 120, in __init__
    self.__setup_treeview ()
  File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 249, in __setup_treeview
    self.profile_model = ProfileModel (self.profile)
  File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 69, in __init__
    self.reload ()
  File "/usr/lib64/python2.6/site-packages/sabayon/editorwindow.py", line 83, in reload
    source.SORTPRIORITY)
AttributeError: PanelDelegate instance has no attribute 'SORTPRIORITY'

MainThread 2011/01/17 06:33:02.3812 (admin-tool): Terminating main loop
MainThread 2011/01/17 06:33:02.3812 (admin-tool): Exiting abnormally; dumping log due to a fatal error


patch attached. Thanks to siddhesh for tracking this.

Comment 6 Tomas Pelka 2011-06-27 08:50:39 UTC
Ignore my last comment, qa_acking for fast.

reproducer in #c0

Comment 9 Tomáš Bžatek 2011-07-29 15:16:36 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: user has configured a custom panel launcher in the profile

Consequence: Sabayon crashes when getting details of a profile

Fix: a priority level has been set for sorting in Details view

Result: Sabayon no longer crashes when getting details of a profile

Comment 10 Petr Kovar 2011-08-03 13:14:36 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,7 +1 @@
-Cause: user has configured a custom panel launcher in the profile
+Previously, when a user configured a custom panel launcher in the profile, Sabayon terminated unexpectedly while getting details of the profile. With this update, a priority level has been set up for sorting in the Details view so that Sabayon no longer crashes while getting the profile details.-
-Consequence: Sabayon crashes when getting details of a profile
-
-Fix: a priority level has been set for sorting in Details view
-
-Result: Sabayon no longer crashes when getting details of a profile

Comment 12 errata-xmlrpc 2011-09-07 13:06:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1273.html