#32600: Multi geometries cause Segmentation fault 11 on Macbook with M1 CPU
-------------------------------------+-------------------------------------
Reporter: Aapo Rista | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: 3.2
Severity: Normal | Resolution: duplicate
Keywords: MultiPoint, | Triage Stage:
MultiLinestring, MultiPolygon, | Unreviewed
Segmentation fault, GIS, |
GeoDjango |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Aapo Rista):
I'm still figuring out how to run catchsegv on Mac Os, but here are the
rest:
{{{
$ python -X faulthandler manage.py shell
Python 3.9.2 (default, Mar 24 2021, 20:21:37)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.contrib.gis.geos import MultiLineString; MultiLineString()
Fatal Python error: Segmentation fault
Current thread 0x00000001009b7d40 (most recent call first):
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/contrib/gis/geos/prototypes/threadsafe.py", line 49 in
__call__
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/contrib/gis/geos/libgeos.py", line 152 in __call__
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/contrib/gis/geos/collections.py", line 56 in
_create_collection
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/contrib/gis/geos/collections.py", line 36 in __init__
File "<console>", line 1 in <module>
File
"/opt/homebrew/Cellar/[email protected]/3.9.2_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/code.py",
line 90 in runcode
File
"/opt/homebrew/Cellar/[email protected]/3.9.2_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/code.py",
line 74 in runsource
File
"/opt/homebrew/Cellar/[email protected]/3.9.2_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/code.py",
line 258 in push
File
"/opt/homebrew/Cellar/[email protected]/3.9.2_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/code.py",
line 232 in interact
File
"/opt/homebrew/Cellar/[email protected]/3.9.2_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/code.py",
line 301 in interact
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/core/management/commands/shell.py", line 82 in python
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/core/management/commands/shell.py", line 100 in handle
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/core/management/base.py", line 398 in execute
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/core/management/base.py", line 354 in run_from_argv
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/core/management/__init__.py", line 413 in execute
File "/path/to/Project/venv/lib/python3.9/site-
packages/django/core/management/__init__.py", line 419 in
execute_from_command_line
File "/path/to/Project/django_project/mydata/manage.py", line 17 in main
File "/path/to/Project/django_project/mydata/manage.py", line 21 in
<module>
Segmentation fault: 11
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32600#comment:3>
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/064.b3b2fe22eccfd9399abbbcad8311722d%40djangoproject.com.