ORA-07445: [koxsh2gpage()+43] Using XMLTYPE.CREATEXML (Doc ID 1538647.1)

Last updated on FEBRUARY 07, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms


Following error reported when running PL/SQL code which uses xmltype.createxml:
declare
v_obj    xml_test_typ;
v_str1   varchar2(32767);
v_xml    xmltype;
begin
 for i in 1..32767 loop
   v_str1 := v_str1||'a';
 end loop;
 v_obj := xml_test_typ(v_str1,v_str1);
 v_xml := xmltype.createxml(v_obj);
end;
/


SQL> SQL>   2    3    4    5    6    7    8    9   10   11   12  declare
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 6907
Session ID: 213 Serial number: 1887



Alert log file shows:

Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x8] [PC:0x93F36F7, koxsh2gpage()+43] [flags: 0x0, count: 1]
..
ORA-07445: exception encountered: core dump [koxsh2gpage()+43] [SIGSEGV] [ADDR:0x8] [PC:0x93F36F7] [Address not mapped to object] []

Error stack seen in trace file:

koxsh2gpage qmxtkCreateFromAdt spefcpfa spefmccallstd pextproc peftrusted psdexsp rpiswu2 psdextp pefccal

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