[postgis-devel] Memory alignment issues (was: crash (somehow) resolved)

strk at refractions.net strk at refractions.net
Mon Nov 14 01:04:30 PST 2005


On Sun, Nov 13, 2005 at 05:57:46PM -0700, Michael Fuhr wrote:
...

> select collect(geom) from (select geomfromtext('MULTIPOINT(0 0)') as geom) as s;
> 
> #0  0xfed11f10 in LWGEOM_collect_garray (fcinfo=0xffbfe288) at lwgeom_functions_basic.c:1953
> #1  0x0011e088 in finalize_aggregate (aggstate=0x3d08a8, peraggstate=0x3d10a8,
>     pergroupstate=0x3d1138, resultVal=0x3d1078, resultIsNull=0x3d1090 "") at nodeAgg.c:559
> #2  0x0011e294 in ExecAgg (node=0x3d08a8) at nodeAgg.c:830
> 
> Let me know if you'd like me to run some other queries, or if I
> should re-run these queries after you change something.

Thank you for the report.
Please retry after update, I've changed the deserialization functions to
always copy the bounding box (if present). Previous behaviour was an unsafe
cast.

--strk;

 /"\    ASCII Ribbon Campaign
 \ /    Respect for open standards
  X     No HTML/RTF in email
 / \    No M$ Word docs in email




More information about the postgis-devel mailing list