-
Notifications
You must be signed in to change notification settings - Fork 214
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 on pyproj.transform #8
Comments
@fitnr can you use import pyproj
import faulthandler
faulthandler.enable()
p = ... It should thin print out a traceback all the way into the C-code or at least to the python/cython that's triggering the segfault. |
I reran the above code with faulthandler. Python printed the following
Then Python crashed, with this error report:
|
Patch for transform to resolve Issue #8
The patch I submitted will now raise a TypeError when either projection is not a instance of the Proj class. I hope this resolves this issue. Thanks for merging this patch, Jeff! |
I assume that this issue can be closed. The fix released with version 1.9.5.1 on January 6, 2016. The fix created another issue. |
pyproj.transform results in a segementation fault if the second parameter isn't a Proj instance. (If the first argument is invalid, it raises an AttributeError, which is a much better behavior).
This is on OS X Yosemite.
I'd be happy to provide more info, but I don't know where to look on OS X.
The text was updated successfully, but these errors were encountered: