[postgis-devel] [PostGIS] #1640: Segfault on hard-upgrade

PostGIS trac at osgeo.org
Thu Mar 1 02:05:46 PST 2012


#1640: Segfault on hard-upgrade
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 The library is there. If I drop it the segfault goes away so this is
 clearly a function in postgis-1.5 library segfaulting. It's puzzling that
 calling the offending select again a second time doesn't segfault. But I
 guess that's what you get when you access arbitrary memory.
 I'm lucky to get a segfault first time.

 I'll fix the upgrade script to properly skip those functions but still I'm
 curious about _why_
 geography_typmod_dims is triggered at all. Maybe we're also failing to
 drop a TYPE or we reference geography_typmod_dims from the GEOMETRY type
 definition

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1640#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