Bug 1000152

Summary: Python get segmentation fault, core dumped running Brainworkshop
Product: [Fedora] Fedora Reporter: Peter H. Jones <jones.peter.busi>
Component: pythonAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: bkabrda, dmalcolm, ivazqueznet, jonathansteffan, mstuchli, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-23 06:25:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Standard output
none
Standard error none

Description Peter H. Jones 2013-08-22 20:07:31 UTC
Created attachment 789342 [details]
Standard output

Description of problem:
python -v brainworkshop.pyw 2>two 1>one 

gives Segmentation fault (core dumped)

Version-Release number of selected component (if applicable):
python-2.7.3-13.fc18.x86_64

How reproducible:
Almost every time.

Steps to Reproduce:
1. Download from
http://downloads.sourceforge.net/project/brainworkshop/brainworkshop/Brain%20Workshop%204.8/brainworkshop-4.8.4brainwo.zip?r=&ts=1377201480&use_mirror=hivelocity
2. unzip downloaded file brainworkshop-4.8.4.zip
3. python -v brainworkshop.pyw 2>two 1>one 
4. Use ESC to exit from screen with image of brain displayed.

Actual results:
Segmentation fault (core dumped)

Expected results:
Normal running.

Additional info:
The software dates from 2010 and may be obsolete or no longer be
supported. I have emailed the author/maintainer to see if this is the
case. However, faulty python code that doesn't seem to link to other modules (in C or C++) should not cause a dump.

I also note the Segmentation Fault message does not appear in the starndard error file.

Comment 1 Peter H. Jones 2013-08-22 20:08:50 UTC
Created attachment 789343 [details]
Standard error

Comment 2 Bohuslav "Slavek" Kabrda 2013-08-23 06:25:23 UTC
I don't see how this could be Python's error. The message

AL lib: (EE) alc_cleanup: 1 device not closed

is caused by not cleaning up audio handles properly. This may be result of wrong ctypes usage in pyglet/media/drivers/openal/lib_* (in the sense that there is no deallocation/deinitialization code.
I can't help you here, sorry. I'm closing as cantfix - if you still think that the error is in Python after communication with upstream, feel free to reopen this bug.