Bug 674012 - Sabayon crashes when getting details of a profile
Summary: Sabayon crashes when getting details of a profile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sabayon
Version: 6.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-31 10:23 UTC by ritz
Modified: 2018-11-14 16:33 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-09-07 13:06:52 UTC
Target Upstream Version:


Attachments (Terms of Use)
proposed patch (953 bytes, patch)
2011-01-31 10:23 UTC, ritz
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1273 0 normal SHIPPED_LIVE sabayon bug fix update 2011-09-07 13:06:39 UTC

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


Note You need to log in before you can comment on or make changes to this bug.