ORA-7445 [KOXSH2GPAGE] Raised For XMLSERIALIZE On an XMLTYPE with Binary XML storage (Doc ID 1535699.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

Running a query with XMLSERIALIZE having a column defined inside an xmltable as
  <column name> INT PATH 'count(<xpath for the element>)'
as argument, and the base table is stored as Binary XML,
raises the error

ORA-03113: end-of-file on communication channel

in the sql session while the alert.log contains
ORA-07445: exception encountered: core dump [koxsh2gpage()+50] [ACCESS_VIOLATION] [ADDR:0x20] [PC:0x7A64C84] [UNABLE_TO_READ] []

Call Stack is
.... koxsh2gpage qmxtiGetXobFromOpn qmsqxEvalXMLSerialize evaopn2 evaopn2 kpofcr qertbFetch opifch2 kpoal8 opiodr ttcpip opitsk ...

Example of code:

 

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