Hello, The following happens with PostGIS 1.0.0 as well as a 1.1CVS, on both i386 and AMD-64. lwgeom11=# select isvalid('GEOMETRYCOLLECTION EMPTY'::geometry); ERROR: invalid memory alloc request size 0 Markus