[postgis-devel] ST_IsValidReason causes crash

maplabs at light42.com maplabs at light42.com
Mon Sep 12 19:29:35 PDT 2011


-------

Linux tone 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux

POSTGIS="2.0.0SVN" GEOS="3.4.0dev-CAPI-1.8.0" PROJ="Rel. 4.7.1, 23 
September 2009" LIBXML="2.7.8" USE_STATS

no crash

-------
Linux aced 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux

POSTGIS="1.5.3" GEOS="3.3.0-CAPI-1.7.0" PROJ="Rel. 4.7.1, 23 September 
2009" LIBXML="2.7.8" USE_STATS

no crash
  -------

On Tue, 13 Sep 2011 11:39:55 +0930, James Sewell  wrote:

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

-------------------------
  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. 

-------------------------

_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110912/b31df8fc/attachment.html>


More information about the postgis-devel mailing list