[postgis-devel] ST_IsValidReason causes crash

James Sewell James.Sewell at lisasoft.com
Mon Sep 12 19:09:55 PDT 2011


Hello All,

I am running the following version on both CentOS and Solaris 10:

  POSTGIS="1.5.3" GEOS="3.1.1-CAPI-1.6.0" PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.6.26" USE_STATS

The following SQL causes a crash on both:

   create table test (the_geom geometry);
   insert into test(the_geom) values    ('0103000020BB100000010000000E0000002F2FC03E3A146240D5A76620E0AF42C075ED66A1381462401CCF6740BDAF42C0980B016538146240E39A4C26B8AF42C0A8CA5246371462407E6DFDF49FAF42C0819AB56F49146240EA63F492B5AF42C0E17A14AE471462401D9DA9C601B042C04AE18B404614624074F7EFB03FB042C0E0C8F2642D1462405305A3923AB042C06EC5596C2E146240B06EBC3B32B042C0B294D16D2E14624022B4D43032B042C080F43C6E2E1462405175502E32B042C07DF43C6E2E1462406375502E32B042C04754A86E2E146240A536CC2B32B042C02F2FC03E3A146240D5A76620E0AF42C0');
  select St_IsValidReason(the_geom) from test;
   select St_IsValidReason(the_geom) from test;

The first IsValidReason works as expected, then the second causes a psql hang and I see the following in the logs (CentOS):

   *** glibc detected *** postgres: plm25 plm25 [local] SELECT: free(): invalid next size (fast): 0x09a77228 ***


Can anyone reproduce this? I can't with my other install:

  POSTGIS="1.5.2" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.6.1, 21 August 2008" LIBXML="2.7.6" USE_STATS

Any ideas on how I could further troubleshoot?

Cheers,
James Sewell
Solutions Architect
LISAsoft
________________________________
Ph: +61 3 8680 3250 Fax: +61 3 8680 3299
Level 9, 601 Bourke St, Melbourne Vic 3000
________________________________

http://www.lisasoft.com<http://www.lisasoft.com/>



________________________________
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110913/f10c663b/attachment.html>


More information about the postgis-devel mailing list