-
Notifications
You must be signed in to change notification settings - Fork 117
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
Proj4 initialization crash on windows #127
Comments
Solved! See also: Patch: |
awesome work tracking this down @BergWerkGIS!!! |
For the record: I ran the |
@springmeyer As the proj4 code in question sets setlocale(LC_NUMERIC I suppose, that's what causes the problem. LC_NUMERIC: Affects the decimal-point character in formatted input/output operations and string formatting functions, as well as non-monetary information returned by localeconv. |
I did not change the number format. But now I did and I'm still not able to replicate a crash. Running Here are my new settings: |
Considering performance, majority of time spent in shapefile reading makes sense. I also see ~ 16 tiles/s on OS X, so I should be able to figure out how to speed things up via OS X profiling. |
Number Format is behind "Additional Settings" |
Should crash quickly. Never got beyond level 10. |
Confirmed my number format behind "Additional Settings" also lists |
re-opening to remember to circle back here to further isolate and make sure I replicate after @BergWerkGIS is back next week. |
tests with different proj4 x64 builds:
❌ -> crash
|
Summarizing above tests:
|
Test case is not crashing for me anymore, using current proj.4/master. Recap:
Next steps: |
We are seeing that processes that need to reproject data will crash on windows. This has likely be happening for some time (causing crashing for Mapbox Studio windows users). This may be a mapnik core problem in how Mapnik uses proj4. But so far it has only seemed to happen in Mapbox Studio (and therefore seems related to vector tiles). So, let's track this issue here for now.
The text was updated successfully, but these errors were encountered: