[postgis-tickets] [PostGIS] #2267: Server crash from analyze table

PostGIS trac at osgeo.org
Tue Apr 9 12:18:48 PDT 2013


#2267: Server crash from analyze table
-------------------------------------------+--------------------------------
 Reporter:  peters                         |       Owner:  pramsey      
     Type:  defect                         |      Status:  new          
 Priority:  blocker                        |   Milestone:  PostGIS 2.0.4
Component:  postgis                        |     Version:  2.0.x        
 Keywords:  geography point analyze crash  |  
-------------------------------------------+--------------------------------

Comment(by peters):

 Here is some additional gdb info at the crash point:

 (gdb) print x
 $1 = 127

 (gdb) print y
 $2 = 0

 (gdb) print z
 $3 = -1

 (gdb) print unitsx
 $4 = 128

 (gdb) print x + y * unitsx + z * unitsx * unitsy
 $5 = -750337

 (gdb) print ndims
 $6 = 3

 (gdb) print z_idx_max
 $7 = -1

 (gdb) print total_cells_coverage
 $8 = 0

 (gdb) print z_idx_min
 $9 = -1

 The negative numbers entering into the calculation for an index into
 geogstats->value looks suspicious to me, but this is the first time I've
 seen this code.

 --Peter

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