| Summary: | [abrt] setroubleshoot-server-3.0.23-1.fc14: browser.py:648:on_details_button_clicked:IndexError: list index out of range | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Don Vogt <dnvot> | ||||||
| Component: | setroubleshoot | Assignee: | Daniel Walsh <dwalsh> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 14 | CC: | dwalsh, jopires0, mgrepl, tadej.j, wspivak | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:7e974099 | ||||||||
| Fixed In Version: | setroubleshoot-3.0.25-1.fc14 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-02-02 14:08:50 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 475615 [details]
File: backtrace
Fixed in setroubleshoot-server-3.0.25-1.fc14 setroubleshoot-3.0.25-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/setroubleshoot-3.0.25-1.fc14 *** Bug 666622 has been marked as a duplicate of this bug. *** Package: setroubleshoot-server-3.0.23-1.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.Executed program 2. 3. Package: setroubleshoot-server-3.0.23-1.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. I opened setroubleshoot and it had no alerts. 2. I clicked on Details button. 3. ABRT reported a crash. I just updated to setroubleshoot-3.0.25-1.fc14.i686 and it fixes the problem for me. setroubleshoot-3.0.25-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. I have applied all pending updates to my Fedora 14, which includes the new version of setroubleshoot-3.0.25-1.fc14. Crash that I originally reporting in bug 666622 is still occurring. Steps: - I received an notification that a SE alert occurred. I clicked on the icon to see the SE alert. - The SELinux Alert Browser opened with no alerts and I see information "label" beside the 3 lines on the top. - When I click Details, the crash occurs. I will attach a screen shot of SELinux Alert Browser for reference. Package: setroubleshoot-server-3.0.25-1.fc14 Latest Crash: Sun 27 Feb 2011 10:37:33 AM Command: /usr/bin/python -Es /usr/bin/sealert -s Reason: browser.py:618:on_details_button_clicked:IndexError: list index out of range Comment: None Bug Reports: Created attachment 481243 [details]
SE browser before the crash (3.0.25-1.fc14 update already applied)
I have an idea you have bad data, somehow. Can you attach the /var/lib/setroubleshoot/setroubleshoot_database.xml You probably can clear the database, by clicking list_all and then deleting the all records. This is the /var/lib/setroubleshoot/setroubleshoot_database.xml content:
<?xml version="1.0" encoding="utf-8"?>
<sigs version="3.0">
<users version="1.0">
<user_list>
<user username="pires" version="1.0">
<email_alert>False</email_alert>
</user>
</user_list>
</users>
</sigs>
Currently the database is empty. When I start the SELinux Alert Browser it says "No Alerts" and the List All Alerts button is disabled.
3.0.30-1.fc14 Should fix all the crashes. |
abrt version: 1.1.14 architecture: i686 cmdline: /usr/bin/python -Es /usr/bin/sealert -s comment: I seem to have a mixture of fc12 and 13 packages here. component: setroubleshoot executable: /usr/bin/sealert kernel: 2.6.35.10-74.fc14.i686 package: setroubleshoot-server-3.0.23-1.fc14 reason: browser.py:648:on_details_button_clicked:IndexError: list index out of range release: Fedora release 14 (Laughlin) time: 1296138519 uid: 500 backtrace ----- browser.py:648:on_details_button_clicked:IndexError: list index out of range Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/setroubleshoot/browser.py", line 648, in on_details_button_clicked message = self.alert_list[self.current_alert].format_text() IndexError: list index out of range Local variables in innermost frame: widget: <gtk.Button object at 0x9c5ef54 (GtkButton at 0x8539888)> self: <setroubleshoot.browser.BrowserApplet instance at 0x89daf0c> How to reproduce ----- 1.I installed policycoreutils-sandbox and used it for a while successfully. I then did a yum update, after which snandboxx -X -t sandbox_web_t firefox will not work. I only get a "flash" of the window, then nothing. 2. I can find no error messages, not in /var/log or in selinux trouble shoot. I tried uninstalling and re-installing policycoreutils-sandbox (and its' dependencies) with no change. 3. when Itried to look for an AVG using setroubleshoot I got this crash.