﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32544	Confirm support for GDAL 3.2 and GEOS 3.9.	Sebastian Kapunkt	Claude Paroz	"Using `MultiPolygon` on Apple MacBook pro with the M1 chip causes `segmentation fault`.


Here is what I did to produce the error:

{{{
python manage.py shell

>>>from django.contrib.gis.geos import MultiPolygon
>>>MultiPolygon()
[1] 34350 segmentation fault  python manage.py shell
}}}

I have these relevant settings in my settings.py:
{{{
GDAL_LIBRARY_PATH = os.getenv(""GDAL_LIBRARY_PATH"")
GEOS_LIBRARY_PATH = os.getenv(""GEOS_LIBRARY_PATH"")
}}}
.env
{{{
export GDAL_LIBRARY_PATH=/opt/homebrew/lib/libgdal.dylib
export GEOS_LIBRARY_PATH=/opt/homebrew/lib/libgeos_c.dylib
}}}

uname -a: 
{{{
Darwin Sebastians-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64
}}}

geos-config --version `3.9.1`

gdalinfo --version `GDAL 3.2.1, released 2020/12/29`  



"	Cleanup/optimization	closed	GIS	4.0	Normal	fixed		Claude Paroz	Ready for checkin	1	0	0	0	0	0
