Bug 636913

Summary: abrt should ignore SystemExit exception
Product: [Fedora] Fedora Reporter: Phil V <pv.bugzilla>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs, rpandit, supercyper1
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:77c25410
Fixed In Version: abrt-1.1.17-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-21 07:28:25 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
File: backtrace none

Description Phil V 2010-09-23 16:46:28 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/mayavi2
component: Mayavi
executable: /usr/bin/mayavi2
kernel: 2.6.34.7-56.fc13.x86_64
package: Mayavi-3.3.2-1.fc13
reason: mayavi2:9:<module>:SystemExit
release: Fedora release 13 (Goddard)
time: 1285258556
uid: 500

backtrace
-----
mayavi2:9:<module>:SystemExit

Traceback (most recent call last):
  File "/usr/bin/mayavi2", line 9, in <module>
    load_entry_point('Mayavi==3.3.2', 'console_scripts', 'mayavi2')()
SystemExit

Local variables in innermost frame:
engine: <enthought.mayavi.plugins.envisage_engine.EnvisageEngine object at 0x46f7890>
shell: wxPython wrapper for DELETED PyShell object! (The C++ object no longer exists.)
application: <enthought.mayavi.plugins.mayavi_workbench_application.MayaviWorkbenchApplication object at 0x449e230>
__builtins__: <module '__builtin__' (built-in)>
__file__: '/usr/bin/mayavi2'
mayavi: <enthought.mayavi.plugins.script.Script object at 0x4cab530>
__package__: None
sys: <module 'sys' (built-in)>
__requires__: 'Mayavi==3.3.2'
explore: <function explore at 0x4f270c8>
load_entry_point: <function load_entry_point at 0x7fc85b9db578>
__name__: '__main__'
__doc__: None

comment
-----
To support my own software development, I set the  environmental variable PYTHONINSPECT 
as a substitute for the non-helpfully parsed

#!/usr/bin/env python -i

which on fedora gives:     /usr/bin/env: python -i: No such file or directory


Certain python software (yum, mayavi) seem to trip abrt when they quit, if PYTHONINSPECT is set.

How to reproduce
-----
1. export PYTHONINSPECT=YES
2. mayavi2
3. exit mayavi2

Comment 1 Phil V 2010-09-23 16:46:30 UTC
Created attachment 449260 [details]
File: backtrace

Comment 2 Phil V 2010-09-26 22:36:04 UTC
This may be an issue with abrt rather than mayavi2.

Comment 3 Rakesh Pandit 2011-01-05 10:06:58 UTC
Package: Mayavi-3.3.2-1.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Rawhide)


How to reproduce
-----
1. export PYTHONINSPECT=YES
2. mayavi2
3. exit mayavi2

Comment 4 Rakesh Pandit 2011-01-05 10:11:24 UTC
Yes, it seems not software issue (as it is effecting other packages as well). Just for comments/suggestions I will revert component to abrt.

Feel free to revert back to package Mayavi if it seems to be package problem.

Comment 5 Jiri Moskovcak 2011-01-05 10:28:49 UTC
Yes, it seems like ABRT problem, it should ignore SystemExit exception since it is not technically an error.

Good catch, will fix this asap.

Comment 6 Jiri Moskovcak 2011-01-05 11:17:38 UTC
Fixed in git.

Comment 7 Phil V 2011-01-08 08:14:30 UTC
*** Bug 636856 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2011-02-11 20:16:41 UTC
abrt-1.1.17-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/abrt-1.1.17-1.fc14

Comment 9 Fedora Update System 2011-02-13 08:57:50 UTC
abrt-1.1.17-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update abrt'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/abrt-1.1.17-1.fc14

Comment 10 Fedora Update System 2011-02-21 07:27:36 UTC
abrt-1.1.17-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.