﻿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
7764	[gis] Segfault on django.contrib.gis.geos.prototypes.errcheck.check_string	santiago_aguiar	jbronn	"Running GeoDjango gets me a segmentation fault on django.contrib.gis.geos.prototypes.errcheck:49 when doing string_at(result).

Following guidelines from http://trac.gispython.org/projects/PCL/ticket/129, I applied the attached patch and the problem disappeared. I'm not familiar enough with GEOS to know if the change should perform what is needed from string_from_geom. In case it is, additional changes should be performed to avoid using string_at.

Version:
CentOS 5.2
django_gis: r7928
postgis: 1.3.2
geos: 3.0.0
Running under apache + mod_python"		closed	GIS	gis		duplicate	segfault geos string_at		Accepted	1	1	0	1	0	0
