#30274: Segfault on iteration of GEOS Polygons/LinearRings -------------------------------------+------------------------------------- Reporter: Murray | Owner: nobody Christopherson | Type: Bug | Status: new Component: GIS | Version: 2.1 Severity: Normal | Resolution: Keywords: geos gis | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Fabian Schindler):
* cc: Fabian Schindler (added) * status: closed => new * resolution: needsinfo => Comment: I'm still experiencing this issue (Django 2.2.9), I could reproduce it with the above script or a similar one: {{{ # python3 Python 3.7.5 (default, Nov 20 2019, 09:21:52) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from django.contrib.gis.geos import Polygon >>> polygon = Polygon( ((0.0, 0.0), (0.0, 50.0), (50.0, 50.0), (50.0, 0.0), (0.0, 0.0)) ) >>> >>> for p in polygon[0]: ... print('Longitude:', p[0]) ... print('Latitude:', p[1]) ... Segmentation fault }}} My OS details are as follows: Ubuntu 19.10 libgeos-3.7.2/eoan (apt) Python 3.7.5 (apt) Django 2.2.9 (via pip) For what version should this issue be fixed? Is it possible to backport the fix if it is only available for Django 3? Also, I could not find any commit related to this issue. -- Ticket URL: <https://code.djangoproject.com/ticket/30274#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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.afd439e057c9009a39038313aef18c95%40djangoproject.com.