Opened 3 years ago

Closed 3 years ago

#19490 closed Bug (invalid)

lgdal.OGR_DS_CreateLayer crashes on Mac OS X Mountain Lion

Reported by: dyve Owned by: nobody
Component: GIS Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


lgdal.OGR_DS_CreateLayer crashes on Mac OS X Mountain Lion

Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import django

(1, 4, 3, 'final', 0)

from django.contrib.gis.gdal.libgdal import lgdal
layer = lgdal.OGR_DS_CreateLayer()

Segmentation fault: 11

Change History (1)

comment:1 Changed 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

I don't think you can directly call any OGR function without first defining the argtypes and restype of the function. In contrib.gis.gdal.prototypes, read and to find examples.

Note: See TracTickets for help on using tickets.
Back to Top