Opened 3 years ago
Last modified 3 years ago
#1118 new defect
STRtree: bad allocation (Windows only)
Reported by: | Mike Taves | Owned by: | strk |
---|---|---|---|
Priority: | major | Milestone: | 3.9.3 |
Component: | C API | Version: | 3.9.0 |
Severity: | Critical | Keywords: | |
Cc: |
Description
This issue was identified from Shapely only on Windows https://github.com/Toblerity/Shapely/issues/1135
This is a difficult bug to identify, as as it causes system instabilities and/or crashes. It's been confirmed from GEOS 3.9.1 from conda-forge and with a local build from the 3.9.1 source with MSVC2019.
The issue is assumed to be new since GEOS 3.9.0, as it was not an issue with the previous release. The good news is that I cannot reproduce the issue from the current main branch, so it seems to be fixed for GEOS 3.10. A remaining task is to identify the fixing commit(s) to be backported. If anyone is willing to help identify these, I could test a patch on Windows to verify.
Unfortunately from a backporting perspective, the "fix" in 3.10 is a completely new STRtree implementation.