schemaValidate on XMLType with Invalid schemaLocation fails with ORA-7445 [qmxValidateDoc()+1300]

(Doc ID 1294817.1)

Last updated on FEBRUARY 07, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 10.2.0.4 [Release 10.2]
Information in this document applies to any platform.

Symptoms

On release 10.2.0.4, when the schemaValidate method is called on an XMLType object with an invalid value for the schemaLocation attribute, the session terminates with the following error:

ORA-07445: exception encountered: core dump [qmxValidateDoc()+1300] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []

Example:

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

DECLARE
  c_schema CONSTANT VARCHAR2(100) := 'http://test.csc/test.xsd';
  c_xml CONSTANT CLOB := '<?xml version="1.0" encoding="UTF-8"?>
     <COl1 xmlns="http://test.csc" xmlns:xdb="http://xmlns.oracle.com/xdb"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://test.csc/test.xsd"> String
     </COl1>';
  l_xml XMLTYPE;
BEGIN
  l_xml := xmltype( xmlData => c_xml, schema => c_schema);
  l_xml.schemavalidate();
END;
/
DECLARE
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel

The following error is reported in the alert log:

Errors in file d:\oracle\product\10.2.0\admin\star\udump\star_ora_5840.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_qmxValidateDoc+3052] [PC:0x41A628C] [ADDR:0x0] [UNABLE_TO_READ] []

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