[postgis-tickets] [PostGIS] #2631: Crash on Windows x64 reading geometry from invalid string
PostGIS
trac at osgeo.org
Sun Feb 2 17:06:33 PST 2014
#2631: Crash on Windows x64 reading geometry from invalid string
---------------------------+------------------------------------------------
Reporter: realityexists | Owner: robe
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.1.2
Component: postgis | Version: 2.1.x
Keywords: |
---------------------------+------------------------------------------------
Comment(by robe):
realityexists - I think this is the issue with error handling I was using.
Try with 9.3 windows 7 64-bit: works on my windows 7 9.3 64-bit 2.1.2dev
fine.
The issue I think is with the way errors were being handled. For 9.2
64-bit windows I compiled with gcc 4.5 which only had long jump handling.
Unfortunately I ran into some situations like this where the errors were
not handled properly. I think some were the ones you reported in fact.
For 9.3 and moving forward for 64-bit windows, I've been using gcc 4.8
with SEH (structure error handling), which doesn't seem to have this
issue. long jump works fine for 32-bit so 32-bit windows never exhibited
this issue (in fact because of patent issue seh is not available for
windows 32-bit anyway) but I do compile 9.3 32-bit with gcc 4.8 also.
Short answer -- just upgrade to 9.3 for windows and the issue should go
away. I've been debating recompiling 9.2 postgis with 4.8 but there
weren't enough people complaining for me to warrant the risk of causing
more damage (since if a person is running both PostGIS 2.0 and 2.1 under
9.2 -- an upgrade of one would break the other since the gcc 4.5 and 4.8
chains are not compatible). I also wasn't sure if I would run into issues
with the 4.8. So far 4.8 has been really good, so I may just bite the
bullet and redo 9.2 or at least offer gcc48 compiled 9.2 PostGIS for those
who really want it.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2631#comment:2>
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-tickets
mailing list