question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TST: 3.1RC testing segfault

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
drdavellacommented, Nov 16, 2018

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

0reactions
pllimcommented, Nov 20, 2018

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).

Read more comments on GitHub >

github_iconTop Results From Across the Web

ed43828a530ee649caeea0ad87...
test that many slices won't cause early ones to free prematurely. // note: if this fails then it will cause v8 to seg...
Read more >
Vulnerability report for Docker ruby:3.1-rc-slim-bullseye | Snyk
Learn more about Docker ruby:3.1-rc-slim-bullseye vulnerabilities. ... Test your Docker Hub image against our market leading vulnerability database Sign up ...
Read more >
tmux segfaults on send-key after upgrading to 2.9a
tmux send-keys "echo 'test'" C-m;. I get a lost server message. This happens when nothing has attached to the session which contains the...
Read more >
Segmentation fault in native call binding.runInDebugContext
Hello! I ran into this issue when I started using log4js with mongoose in node 4.3.0, so I'm not sure if there is...
Read more >
Porteus 3.1rc feedback - Page 10
Before today all Mate testing was done with VirtualBox and the .iso, ... ignoring it Segmentation fault root@porteus:/home/guest#.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found