Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault on 0s exposures #5

Open
stscirij opened this issue Nov 16, 2016 · 1 comment
Open

segfault on 0s exposures #5

stscirij opened this issue Nov 16, 2016 · 1 comment
Labels

Comments

@stscirij
Copy link
Contributor

Calcos segfaults on 0s exposures in operations. segfault probability seems to be lower on regular science machines. Seems to be a problem in astropy.io.fits

@jhunkeler
Copy link
Contributor

Dug this out my notes from when we worked on this last time:

Fatal Python error: Segmentation fault

Current thread 0x00007efd7b900700 (most recent call first):
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/astropy-1.2.1-py3.5-linux-x86_64.egg/astropy/io/fits/fitsrec.py", line 646 in __del__
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/calcos-3.1.8-py3.5-linux-x86_64.egg/calcos/calcos.py", line 2856 in extractSpectrum
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/calcos-3.1.8-py3.5-linux-x86_64.egg/calcos/calcos.py", line 2788 in allScience
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/calcos-3.1.8-py3.5-linux-x86_64.egg/calcos/calcos.py", line 434 in calcos
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/calcos-3.1.8-py3.5-linux-x86_64.egg/calcos/calcos.py", line 211 in main
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/calcos-3.1.8-py3.5-linux-x86_64.egg/EGG-INFO/scripts/calcos", line 7 in <module>
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/pkg_resources/__init__.py", line 1504 in run_script
  File "/home/jhunk/miniconda3/envs/astrobad/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/pkg_resources/__init__.py", line 719 in run_script
  File "/home/jhunk/miniconda3/envs/astrobad/bin/calcos", line 4 in <module>
loop.sh: line 13: 19691 Segmentation fault      python -q -X faulthandler `which calcos` -v -o out [filename here] 

@stscirij stscirij added the bug label Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants