Skip to content

TST: 3.1RC testing segfault #8148

Closed
Closed

Description

@pllim

I tried multiple times but every time, it terminates silently like this:

prompt> python setup.py test --remote-data -V
...
platform linux -- Python 3.7.0, pytest-3.8.2, py-1.7.0, pluggy-0.8.0

Running tests with Astropy version 3.1rc1.
Running tests in astropy docs.

Date: 2018-11-16T16:21:31

Platform: Linux-3.10.0-862.14.4.el7.x86_64-x86_64-with-redhat-7.5-Maipo

Executable: .../envs/astrodev/bin/python

Full Python Version: 
3.7.0 | packaged by conda-forge | (default, Sep 30 2018, 14:56:18) 
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]

encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15

Numpy: 1.15.2
Scipy: 1.1.0
Matplotlib: 3.0.0
h5py: 2.8.0
Pandas: 0.23.4
Cython: 0.29
astropy_helpers: 3.1rc1
Using Astropy options: remote_data: any.

Matplotlib: 3.0.0
Freetype: 2.9.1
rootdir: /tmp/astropy-test-1919ybry/lib/python3.7/site-packages, inifile: setup.cfg
plugins: xdist-1.24.0, remotedata-0.3.1, openfiles-0.3.0, mpl-0.10, forked-0.2, doctestplus-0.1.3, arraydiff-0.2
...
astropy/tests/test_logger.py::test_exception_logging_enable_twice PASSED [ 72%]
astropy/tests/test_logger.py::test_exception_logging_overridden PASSED   [ 72%]
astropy/tests/test_logger.py::test_exception_logging PASSED              [ 72%]
astropy/tests/test_logger.py::test_exception_logging_origin PASSED       [ 72%]
astropy/tests/test_logger.py::test_exception_logging_argless_exception
prompt>
# packages in environment at .../anaconda/envs/astrodev:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12                     py_0    conda-forge
apipkg                    1.5                        py_0    conda-forge
asn1crypto                0.24.0                py37_1003    conda-forge
astropy                   3.1rc1                    <pip>
astropy-sphinx-theme      1.0                        py_0    astropy
atomicwrites              1.2.1                      py_0    conda-forge
attrs                     18.2.0                     py_0    conda-forge
babel                     2.6.0                      py_1    conda-forge
Babel                     2.6.0                     <pip>
backcall                  0.1.0                      py_0    conda-forge
beautifulsoup4            4.6.3                 py37_1000    conda-forge
blas                      1.0                         mkl  
bleach                    3.0.2                      py_0    conda-forge
bzip2                     1.0.6                h470a237_2    conda-forge
ca-certificates           2018.10.15           ha4d7672_0    conda-forge
cairo                     1.14.12              h276e583_5    conda-forge
certifi                   2018.10.15            py37_1000    conda-forge
cffi                      1.11.5           py37h5e8e0c9_1    conda-forge
chardet                   3.0.4                 py37_1003    conda-forge
chardet                   3.0.4                     <pip>
cloudpickle               0.6.1                      py_0    conda-forge
coverage                  4.5.1            py37h470a237_1    conda-forge
cryptography              2.3.1            py37hdffb7b8_0    conda-forge
cycler                    0.10.0                     py_1    conda-forge
cython                    0.29             py37hfc679d8_0    conda-forge
dask-core                 0.20.0                     py_0    conda-forge
dbus                      1.13.0               h3a4f0e9_0    conda-forge
decorator                 4.3.0                      py_0    conda-forge
docutils                  0.14                      <pip>
docutils                  0.14                  py37_1001    conda-forge
execnet                   1.5.0                      py_0    conda-forge
expat                     2.2.5                hfc679d8_2    conda-forge
fontconfig                2.13.1               h65d0f4c_0    conda-forge
freetype                  2.9.1                h6debe1e_4    conda-forge
gettext                   0.19.8.1             h5e8e0c9_1    conda-forge
glib                      2.56.2               h464dc38_0    conda-forge
graphite2                 1.3.12               hfc679d8_1    conda-forge
graphviz                  2.38.0               h08bfae6_9    conda-forge
gst-plugins-base          1.12.5               hde13a9d_0    conda-forge
gstreamer                 1.12.5               h5856ed1_0    conda-forge
h5py                      2.8.0            py37h097b052_4    conda-forge
harfbuzz                  1.9.0                h04dbb29_1    conda-forge
hdf5                      1.10.3               hc401514_2    conda-forge
html5lib                  1.0.1                      py_0    conda-forge
icu                       58.2                 hfc679d8_0    conda-forge
idna                      2.7                       <pip>
idna                      2.7                   py37_1002    conda-forge
imageio                   2.3.0                      py_1    conda-forge
imagesize                 1.1.0                     <pip>
imagesize                 1.1.0                      py_0    conda-forge
intel-openmp              2019.0                      118  
ipython                   7.1.1           py37h24bf2e0_1000    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.13.1                py37_1000    conda-forge
jinja2                    2.10                       py_1    conda-forge
jpeg                      9c                   h470a237_1    conda-forge
jplephem                  2.8                pyh11f86e8_0    conda-forge
kiwisolver                1.0.1            py37h2d50403_2    conda-forge
libffi                    3.2.1                hfc679d8_5    conda-forge
libgcc-ng                 8.2.0                hdf63c60_1  
libgfortran               3.0.0                         1    conda-forge
libgfortran-ng            7.2.0                hdf63c60_3    conda-forge
libiconv                  1.15                 h470a237_3    conda-forge
libpng                    1.6.35               ha92aebf_2    conda-forge
libstdcxx-ng              7.2.0                hdf63c60_3    conda-forge
libtiff                   4.0.9                he6b73bb_2    conda-forge
libtool                   2.4.6                h470a237_2    conda-forge
libuuid                   2.32.1               h470a237_2    conda-forge
libxcb                    1.13                 h470a237_2    conda-forge
libxml2                   2.9.8                h422b904_5    conda-forge
libxslt                   1.1.32               h88dbc4e_2    conda-forge
lxml                      4.2.5            py37hc9114bc_0    conda-forge
markupsafe                1.0              py37h470a237_1    conda-forge
matplotlib                3.0.0            py37h0b34cb6_1    conda-forge
mkl                       2019.0                      118  
mkl_fft                   1.0.4            py37h4414c95_1  
mkl_random                1.0.1            py37h4414c95_1  
more-itertools            4.3.0                 py37_1000    conda-forge
mpmath                    1.0.0                      py_1    conda-forge
ncurses                   6.1                  hfc679d8_1    conda-forge
networkx                  2.2                        py_1    conda-forge
nose                      1.3.7                 py37_1002    conda-forge
numpy                     1.15.2           py37h1d66e8a_1  
numpy-base                1.15.2           py37h81de0dd_1  
numpydoc                  0.8.0                      py_1    conda-forge
olefile                   0.46                       py_0    conda-forge
openblas                  0.3.3                ha44fe06_1    conda-forge
openssl                   1.0.2p               h470a237_1    conda-forge
packaging                 18.0                       py_0    conda-forge
pandas                    0.23.4           py37hf8a1672_0    conda-forge
pango                     1.40.14              he752989_2    conda-forge
parso                     0.3.1                      py_0    conda-forge
pcre                      8.41                 hfc679d8_3    conda-forge
pexpect                   4.6.0                 py37_1000    conda-forge
pickleshare               0.7.5                 py37_1000    conda-forge
pillow                    5.3.0            py37hc736899_0    conda-forge
pip                       18.1                  py37_1000    conda-forge
pixman                    0.34.0               h470a237_3    conda-forge
pluggy                    0.8.0                      py_0    conda-forge
prompt_toolkit            2.0.6                      py_0    conda-forge
psutil                    5.4.7            py37h470a237_1    conda-forge
pthread-stubs             0.4                  h470a237_1    conda-forge
ptyprocess                0.6.0                 py37_1000    conda-forge
py                        1.7.0                      py_0    conda-forge
pycparser                 2.19                       py_0    conda-forge
pygments                  2.2.0                      py_1    conda-forge
pyopenssl                 18.0.0                py37_1000    conda-forge
pyparsing                 2.2.2                      py_0    conda-forge
pyqt                      5.6.0            py37h8210e8a_7    conda-forge
pysocks                   1.6.8                 py37_1002    conda-forge
pytest                    3.8.2                 py37_1000    conda-forge
pytest-arraydiff          0.2                        py_0    conda-forge
pytest-astropy            0.4.0                      py_0    astropy
pytest-doctestplus        0.1.3                      py_0    astropy
pytest-forked             0.2                        py_0    conda-forge
pytest-mpl                0.10                       py_0    astropy
pytest-openfiles          0.3.0                      py_0    astropy
pytest-remotedata         0.3.1                      py_0    astropy
pytest-xdist              1.24.0                     py_0    conda-forge
python                    3.7.0                h5001a0f_4    conda-forge
python-dateutil           2.7.5                      py_0    conda-forge
pytz                      2018.7                     py_0    conda-forge
pywavelets                1.0.1            py37h7eb728f_0    conda-forge
pyyaml                    3.13             py37h470a237_1    conda-forge
qt                        5.6.2                hf70d934_9    conda-forge
readline                  7.0                  haf1bffa_1    conda-forge
requests                  2.20.0                py37_1000    conda-forge
scikit-image              0.14.1           py37hfc679d8_0    conda-forge
scipy                     1.1.0            py37hc49cb51_0  
setuptools                40.5.0                   py37_0    conda-forge
sip                       4.18.1           py37hfc679d8_0    conda-forge
six                       1.11.0                py37_1001    conda-forge
skyfield                  1.9                        py_0    conda-forge
snowballstemmer           1.2.1                      py_1    conda-forge
snowballstemmer           1.2.1                     <pip>
sortedcontainers          2.0.5                      py_0    conda-forge
Sphinx                    1.6.7                     <pip>
sphinx-astropy            1.0                        py_1    astropy
sphinx-automodapi         0.8                        py_0    astropy
sphinx-gallery            0.2.0                 py37_1000    conda-forge
sphinxcontrib-websupport  1.1.0                      py_1    conda-forge
sqlite                    3.25.2               hb1c47c0_0    conda-forge
tk                        8.6.8                ha92aebf_0    conda-forge
toolz                     0.9.0                      py_1    conda-forge
tornado                   5.1.1            py37h470a237_0    conda-forge
traitlets                 4.3.2                 py37_1000    conda-forge
urllib3                   1.23                  py37_1001    conda-forge
urllib3                   1.24                      <pip>
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.32.2                   py37_0    conda-forge
xorg-kbproto              1.0.7                h470a237_2    conda-forge
xorg-libice               1.0.9                h470a237_4    conda-forge
xorg-libsm                1.2.3                h8c8a85c_0    conda-forge
xorg-libx11               1.6.6                h470a237_0    conda-forge
xorg-libxau               1.0.8                h470a237_6    conda-forge
xorg-libxdmcp             1.1.2                h470a237_7    conda-forge
xorg-libxext              1.3.3                h470a237_4    conda-forge
xorg-libxpm               3.5.12               h470a237_2    conda-forge
xorg-libxrender           0.9.10               h470a237_2    conda-forge
xorg-libxt                1.1.5                h470a237_2    conda-forge
xorg-renderproto          0.11.1               h470a237_2    conda-forge
xorg-xextproto            7.3.0                h470a237_2    conda-forge
xorg-xproto               7.0.31               h470a237_7    conda-forge
xz                        5.2.4                h470a237_1    conda-forge
yaml                      0.1.7                h470a237_1    conda-forge
zlib                      1.2.11               h470a237_3    conda-forge

Activity

  1. added this to the v3.1 milestone on Nov 16, 2018
  2. drdavella commented on Nov 16, 2018

    @drdavella
    Contributor

    It's very possibly a segfault. Try installing pytest-faulthandler and you should get a traceback which might be marginally informative.

  3. drdavella commented on Nov 16, 2018

    @drdavella
    Contributor

    This also seems really familiar to me, why do I feel like I've tracked down this same problem before?

  4. pllim commented on Nov 16, 2018

    @pllim
    MemberAuthor

    You are right... 😱

    Fatal Python error: Segmentation fault
    
    Thread 0x00007facd8327700 (most recent call first):
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/samp/client.py", line 180 in _serve_forever
      File ".../anaconda/envs/astrodev/lib/python3.7/threading.py", line 865 in run
      File ".../anaconda/envs/astrodev/lib/python3.7/threading.py", line 917 in _bootstrap_inner
      File ".../anaconda/envs/astrodev/lib/python3.7/threading.py", line 885 in _bootstrap
    
    Current thread 0x00007fad3ea8a740 (most recent call first):
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/extern/configobj/validate.py", line 657 in _check_value
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/extern/configobj/validate.py", line 625 in check
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/config/configuration.py", line 451 in _validate_val
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/config/configuration.py", line 438 in __call__
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/config/configuration.py", line 273 in __get__
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 532 in emit
      File ".../anaconda/envs/astrodev/lib/python3.7/logging/__init__.py", line 854 in handle
      File ".../anaconda/envs/astrodev/lib/python3.7/logging/__init__.py", line 1540 in callHandlers
      File ".../anaconda/envs/astrodev/lib/python3.7/logging/__init__.py", line 1478 in handle
      File ".../anaconda/envs/astrodev/lib/python3.7/logging/__init__.py", line 1468 in _log
      File ".../anaconda/envs/astrodev/lib/python3.7/logging/__init__.py", line 1361 in error
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 259 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
      File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook
    
  5. changed the title [-]TST: 3.1RC testing silently and prematurely terminates[/-] [+]TST: 3.1RC testing segfault[/+] on Nov 16, 2018
  6. pllim commented on Nov 16, 2018

    @pllim
    MemberAuthor

    @astrofrog , any reason why seg fault points to this?

    read_ready = select.select([self.client.socket], [], [], 0.1)[0]

  7. MSeifert04 commented on Nov 16, 2018

    @MSeifert04
    Contributor

    Not sure what is the actual cause here. But the amount of File "/tmp/astropy-test-q4du5kaw/lib/python3.7/site-packages/astropy/logger.py", line 262 in _excepthook lines seems very suspicious. Maybe a stack overflow (I mean the problem, not the website)?

  8. pllim commented on Nov 17, 2018

    @pllim
    MemberAuthor

    Note to self: Test on the machine again when logged in physically, as opposed to via remote access. Maybe remote access somehow messed up the threading? Really not sure. @drdavella , you kept saying this looks familiar, so please update us if you remember!

  9. pllim commented on Nov 19, 2018

    @pllim
    MemberAuthor

    @drdavella , new env did not help.

    $ uname -a
    Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Fri Sep 21 09:07:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    
    $ conda --version
    conda 4.5.11
    
    $ more ~/.condarc
    channels:
      - http://ssb.stsci.edu/astroconda
      - astropy
      - conda-forge
      - defaults
    max_shlvl: 1
    
    $ conda create -n astrodev python=3.7.1 cython jinja2 ipython pytest pyyaml h5py numpy scipy scikit-image matplotlib pandas pytz beautifulsoup4 pillow jplephem sphinx sphinx-astropy sphinx-gallery mpmath sortedcontainers bleach pytest-astropy coverage skyfield pytest-xdist pytest-mpl 
    $ source activate astrodev 
    $ conda install pytest-faulthandler
    
    $ git status
    HEAD detached at v3.1rc1
    nothing to commit, working tree clean
    
    $ python setup.py install
    
    $ python setup.py test --remote-data
    ...
    platform linux -- Python 3.7.1, pytest-4.0.0, py-1.7.0, pluggy-0.8.0
    
    Running tests with Astropy version 3.1rc1.
    Running tests in astropy docs.
    
    Date: 2018-11-19T11:47:03
    
    Platform: Linux-3.10.0-862.14.4.el7.x86_64-x86_64-with-redhat-7.5-Maipo
    
    Executable: .../envs/astrodev/bin/python
    
    Full Python Version: 
    3.7.1 | packaged by conda-forge | (default, Nov 13 2018, 18:15:35) 
    [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]
    
    encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
    byteorder: little
    float info: dig: 15, mant_dig: 15
    
    Numpy: 1.15.4
    Scipy: 1.1.0
    Matplotlib: 3.0.2
    h5py: 2.8.0
    Pandas: 0.23.4
    Cython: 0.29
    astropy_helpers: 3.1rc1
    Using Astropy options: remote_data: any.
    
    Matplotlib: 3.0.2
    Freetype: 2.9.1
    rootdir: .../test-ojdedeko/lib/python3.7/site-packages, inifile: setup.cfg
    plugins: xdist-1.24.1, remotedata-0.3.1, openfiles-0.3.0, mpl-0.10, forked-0.2, faulthandler-1.5.0, doctestplus-0.1.3, arraydiff-0.2
    
    ...
    astropy/tests/test_logger.py ............Fatal Python error: Segmentation fault
    
    Thread 0x00007fa5f931f700 (most recent call first):
      File ".../astropy/samp/client.py", line 180 in _serve_forever
      File ".../threading.py", line 865 in run
      File ".../threading.py", line 917 in _bootstrap_inner
      File ".../threading.py", line 885 in _bootstrap
    
    Current thread 0x00007fa660623740 (most recent call first):
      File ".../astropy/extern/configobj/validate.py", line 657 in _check_value
      File ".../astropy/extern/configobj/validate.py", line 625 in check
      File ".../astropy/config/configuration.py", line 451 in _validate_val
      File ".../astropy/config/configuration.py", line 438 in __call__
      File ".../astropy/config/configuration.py", line 273 in __get__
      File ".../astropy/logger.py", line 532 in emit
      File ".../logging/__init__.py", line 905 in handle
      File ".../logging/__init__.py", line 1591 in callHandlers
      File ".../logging/__init__.py", line 1529 in handle
      File ".../logging/__init__.py", line 1519 in _log
      File ".../logging/__init__.py", line 1412 in error
      File ".../astropy/logger.py", line 259 in _excepthook
      ...
      File ".../astropy/logger.py", line 262 in _excepthook
      ...
    
  10. astrofrog commented on Nov 20, 2018

    @astrofrog
    Member

    Just to check, do you have any user configuration file for astropy? (wondering if that might affect things)

    Also can you try 3.7.1?

  11. astrofrog commented on Nov 20, 2018

    @astrofrog
    Member

    @pllim - can you git bisect to check when this first started happening?

  12. pllim commented on Nov 20, 2018

    @pllim
    MemberAuthor

    do you have any user configuration file for astropy?

    There is a ~/.astropy/astropy.cfg but I don't remember ever touching it and all the options in it are commented (as per default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions