#33347: django.contrib.gis.geos.MultiPolygon segfault on arm
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
HorebParraud |
Type: Bug | Status: new
Component: GIS | Version: 4.0
Severity: Normal | Keywords: geos multipolygon
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hello,
I am a python django developer and since yesterday (with the release of
Django4) I try to launch my project on a mac m1
Unfortunately, python crashes systematically when I use MultiPolygons
(very present in the project)
{{{
versioning:
- Python 3.9
- Django 4.0
- djangorestframework-gis 0.17
- GDAL 3.3.1
- geos 3.10
}}}
{{{
shell trace:
$/> python manage.py shell
Python 3.9.9 (main, Nov 21 2021, 03:16:13)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.30.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from django.contrib.gis.geos import MultiPolygon
In [2]: p = MultiPolygon()
[1] 58500 bus error python manage.py shell
}}}
{{{
Python traces:
VM Region Info: 0x16d754000 is in 0x16d754000-0x16d758000; bytes after
start: 0 bytes before end: 16383
REGION TYPE START - END [ VSIZE] PRT/MAX
SHRMOD REGION DETAIL
Stack 16c754000-16d754000 [ 16.0M] rw-/rwx
SM=PRV thread 0
---> STACK GUARD 16d754000-16d758000 [ 16K] ---/rwx
SM=NUL ... for thread 1
Stack 16d758000-16e760000 [ 16.0M] rw-/rwx
SM=PRV thread 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libgeos_c.1.16.0.dylib 0x105c1d340
GEOSGeom_createCollection_r + 88
1 libgeos_c.1.16.0.dylib 0x105c1d330
GEOSGeom_createCollection_r + 72
2 libffi.dylib 0x1a5af0050 ffi_call_SYSV +
80
3 libffi.dylib 0x1a5af89e4 ffi_call_int +
948
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33347>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/055.b85f7a44ca7d86bbae954e26c17621c4%40djangoproject.com.