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

segmentation fault when instantiating Proj4Error #1718

Closed
pmav99 opened this issue Jan 23, 2021 · 2 comments · Fixed by #1808
Closed

segmentation fault when instantiating Proj4Error #1718

pmav99 opened this issue Jan 23, 2021 · 2 comments · Fixed by #1808

Comments

@pmav99
Copy link

pmav99 commented Jan 23, 2021

Description

There is a segmentation fault when an instance of Proj4Error is created.

This issue is related to landscapeio/prospector#403

Code to reproduce

from cartopy._crs import Proj4Error
print("import OK")
Proj4Error()

Traceback

import OK
[2]    223292 segmentation fault (core dumped)  python foo.py
Full environment definition

Operating system

uname -a
Linux laptopi 5.10.6-arch1-1 #1 SMP PREEMPT Sat, 09 Jan 2021 18:22:35 +0000 x86_64 GNU/Linux

Cartopy version

0.18.0

pip list

Cartopy==0.18.0
numpy @ file:///home/feanor/.cache/pypoetry/artifacts/43/62/9c/57636b66454eb8457b38bdb776593ce5ba63ffdb0e3f5554866d143d20/numpy-1.19.5-cp38-cp38-manylinux2010_x86_64.whl
pyshp==2.1.3
Shapely @ file:///home/feanor/.cache/pypoetry/artifacts/f9/a4/1e/118ef161927c9ad03fbb661c3131578e045201a5c23f89a515822d12d1/Shapely-1.7.1-cp38-cp38-manylinux1_x86_64.whl
six @ file:///home/feanor/.cache/pypoetry/artifacts/be/98/c7/69fe6fea7a59659af1c6260899226129565330b1e07c9c5b3769be76bf/six-1.15.0-py2.py3-none-any.whl
@ocefpaf
Copy link
Member

ocefpaf commented Jan 25, 2021

@pmav99 did you install it with conda or from other source?

(I can confirm that this happens with conda-forge's cartopy with both projs 5, 6 and 7.)

@pmav99
Copy link
Author

pmav99 commented Jan 25, 2021

No I am using the packages from PyPi

On My laptop I am using proj6

local/proj 6.3.2-1
    Cartographic Projections library

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

Successfully merging a pull request may close this issue.

4 participants