[ https://issues.apache.org/jira/browse/ARROW-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Bode updated ARROW-5863: ----------------------------- Attachment: pytest-runner.log pytest.log > Segmentation Fault via pytest-runner > ------------------------------------ > > Key: ARROW-5863 > URL: https://issues.apache.org/jira/browse/ARROW-5863 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Affects Versions: 0.14.0 > Environment: $ uname -a > Linux aleph 5.1.15-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 25 04:49:39 UTC 2019 > x86_64 GNU/Linux > $ python --version > Python 3.7.3 > $ pip freeze | grep -P "(pyarrow|pytest)" > pyarrow==0.14.0 > pytest==5.0.0 > pytest-benchmark==3.2.2 > pytest-cov==2.7.1 > pytest-env==0.6.2 > pytest-forked==1.0.2 > pytest-html==1.21.1 > pytest-metadata==1.8.0 > pytest-mock==1.10.4 > pytest-runner==5.1 > pytest-sugar==0.9.2 > pytest-xdist==1.29.0 > Reporter: Josh Bode > Priority: Major > Attachments: pyarrow-issue.tar.bz2, pytest-runner.log, pytest.log > > > When running {{pytest}} on projects using {{pyarrow==0.14.0}} on Linux, I am > getting segmentation faults, but interestingly _only_ when run via > {{pytest-runner}} > This works (i.e. {{pytest}} directly): > {code:java} > $ pytest > Test session starts (platform: linux, Python 3.7.3, pytest 5.0.0, > pytest-sugar 0.9.2) > benchmark: 3.2.2 (defaults: timer=time.perf_counter disable_gc=False > min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 > warmup=False warmup_iterations=100000) > rootdir: /home/josh/scratch/pyarrow-issue > plugins: sugar-0.9.2, Flask-Dance-2.2.0, env-0.6.2, mock-1.10.4, > xdist-1.29.0, requests-mock-1.6.0, forked-1.0.2, dash-1.0.0, cov-2.7.1, > html-1.21.1, benchmark-3.2.2, metadata-1.8.0 > collecting ... > tests/test_pyarrow.py ✓ 100% ██████████ > Results (0.09s): > 1 passed{code} > However, this does not work, ending in a segmentation fault, even though the > tests pass: > {code:java} > $ python setup.py pytest > running pytest > running egg_info > writing pyarrow_issue.egg-info/PKG-INFO > writing dependency_links to pyarrow_issue.egg-info/dependency_links.txt > writing requirements to pyarrow_issue.egg-info/requires.txt > writing top-level names to pyarrow_issue.egg-info/top_level.txt > reading manifest file 'pyarrow_issue.egg-info/SOURCES.txt' > writing manifest file 'pyarrow_issue.egg-info/SOURCES.txt' > running build_ext > Test session starts (platform: linux, Python 3.7.3, pytest 5.0.0, > pytest-sugar 0.9.2) > benchmark: 3.2.2 (defaults: timer=time.perf_counter disable_gc=False > min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 > warmup=False warmup_iterations=100000) > rootdir: /home/josh/scratch/pyarrow-issue > plugins: sugar-0.9.2, Flask-Dance-2.2.0, env-0.6.2, mock-1.10.4, > xdist-1.29.0, requests-mock-1.6.0, forked-1.0.2, dash-1.0.0, cov-2.7.1, > html-1.21.1, benchmark-3.2.2, metadata-1.8.0 > collecting ... > tests/test_pyarrow.py ✓ 100% ██████████ > Results (0.07s): > 1 passed > zsh: segmentation fault (core dumped) python setup.py pytest{code} > I have observed this behaviour on my machine running natively, and also via > docker. Also, 0.13.0 does not exhibit this behaviour > -- This message was sent by Atlassian JIRA (v7.6.3#76005)