[postgis-devel] [PostGIS] #1999: Crash on LINESTRING with one point
PostGIS
trac at osgeo.org
Wed Nov 7 15:37:28 PST 2012
#1999: Crash on LINESTRING with one point
---------------------------+------------------------------------------------
Reporter: realityexists | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.0
Component: postgis | Version: trunk
Keywords: |
---------------------------+------------------------------------------------
Comment(by realityexists):
Not sure how I could get a stack trace on Windows, even if I had gdb
installed, given that there are no PDB files in the Windows PostGIS build.
I don't have x64 Linux available, only x86 with PostgreSQL 9.2 and it
doesn't happen there.
Yes, it does require the fancy function to repro - simply running the
SELECT returns the expected error every time, no crashes. One slightly
strange thing I've noticed is that there is sometimes an extra newline
after the hint, ie.
{{{
ERROR: geometry requires more points
LINE 1: SELECT 'LINESTRING(0 0)'::geometry;
^
HINT: "LINESTRING(0 0)" <-- parse error at position 16 within geometry
<phantom blank line>
}}}
Probably unrelated, but that extra new line shows up maybe 1-2 times out
of 10 attempts. That's running from pgAdmin, so possibly a pgAdmin issue.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1999#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list