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

PostGIS trac at osgeo.org
Thu Mar 1 02:50:45 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):

 Valgrind say on the matter:
 {{{
 ==15124== Invalid write of size 8
 ==15124==    at 0x13587D97: ptarray_set_point4d (string3.h:52)
 ==15124==    by 0x13586FF4: ptarray_insert_point (ptarray.c:129)
 ==15124==    by 0x135871F5: ptarray_append_point (ptarray.c:166)
 ==15124==    by 0x13597174: wkt_parser_ptarray_add_coord (lwin_wkt.c:269)
 ==15124==    by 0x13592D1A: wkt_yyparse (lwin_wkt_parse.y:514)
 ==15124==    by 0x1359414D: lwgeom_parse_wkt (lwin_wkt_parse.y:65)
 ==15124==    by 0x135612E5: LWGEOM_in (lwgeom_inout.c:107)
 ==15124==    by 0x3F1A2B: InputFunctionCall (in
 /usr/lib/postgresql/8.4/bin/postgres)
 ==15124==    by 0x3F2569: OidInputFunctionCall (in
 /usr/lib/postgresql/8.4/bin/postgres)
 ==15124==    by 0x229E55: coerce_type (in
 /usr/lib/postgresql/8.4/bin/postgres)
 ==15124==    by 0x22A539: coerce_to_target_type (in
 /usr/lib/postgresql/8.4/bin/postgres)
 ==15124==    by 0x21DEF8: ??? (in /usr/lib/postgresql/8.4/bin/postgres)
 }}}

 Still not sure it's related to 1.5 at all...

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