SDO_GEOM.SDO_CONCAVEHULL terminates with an ORA-600 [OCI_concavehull:Wrong_Triangluation] Or ORA-7445 CORE DUMP [OCI_CONCAVEHULL()+3999]

(Doc ID 1475792.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version 11.2 to 11.2.0.3
Information in this document applies to any platform.

Symptoms

Getting error:

ORA-07445: exception encountered: core dump [OCI_concavehull()+4359] [SIGSEGV] [ADDR:0x0] [PC:0x426F951] [Address not mapped to object] []

When executing this query:

SELECT SDO_GEOM.SDO_UNION
         (SDO_GEOM.SDO_CONCAVEHULL
            ((SELECT SDO_AGGR_UNION(MDSYS.SDOAGGRTYPE(A.GEOLOC, 0.005))
                FROM TEST A),
             0.001),
          (SELECT SDO_AGGR_UNION(MDSYS.SDOAGGRTYPE(A.GEOLOC, 0.005))
             FROM TEST A),
          0.001)
  FROM DUAL;

This simplified select also breaks:

SELECT SDO_GEOM.SDO_CONCAVEHULL
(SDO_AGGR_UNION(MDSYS.SDOAGGRTYPE(A.GEOLOC, 0.05)), 0.05
) from test a;

 

Other times the error is ORA-600 [OCI_concavehull:Wrong_Triangluation]

This error happens even after installing patch 12957127 to an 11.2.0.2 Database version

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms