An XQUERY Query Fails with Error ORA-07445 [qmcxpmapGetPfxFromNspId] in 11.2.0.4 (Doc ID 1623361.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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

Symptoms

An XQUERY like the following one fails with ORA-07445  [qmcxpmapGetPfxFromNspId]


SELECT /*+ parallel(tmp, 4) */ xmlserialize(content COLUMN_VALUE as clob no
indent) FROM XMLTABLE( ' (:INIT LOCAL FUNCTION DECLARATION:)(:END LOCAL
FUNCTION DECLARATION:) (
   let $Date_data:=xs:date(''2013-11-07'') let
$Codice_Export_data:=xs:string(''MA1'') let
$Sheet_data:=xs:string(''CONTR1'') let $queryValue:=(:pagination 1,-1
:)(collection("oradb:/SCOTT/TEST7445/ROW[( LASTREVISION=''S'' ) and ( K_DATE=
''2013-11-07'' ) and ( K_CODICE_EXPORT = ''MA1'' ) and ( K_SHEET =
''CONTR1'')]/VALUE")[ ((1=1) and (1=1) and (1=1)) ])
    for $in in $queryValue
    let $input:= $in/VALUE
    let $xml:=$input/xmlValue/CONTR1
    return <value>
    <xmlValue >
    {$xml}
    </xmlValue>
   </value>
   )
   ' ) tmp;

 

In the alert log these lines are recorded:

...

Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x3] [PC:0x2DE2CAA, qmcxpmapGetPfxFromNspId()+848] [flags: 0x0, count: 1]
Errors in file /u02/app/oracle/diag/rdbms/enbasr/ENBASR/trace/ENBASR_ora_1560.trc (incident=187162):
ORA-07445: exception encountered: core dump [qmcxpmapGetPfxFromNspId()+848] [SIGSEGV] [ADDR:0x3] [PC:0x2DE2CAA] [Address not mapped to object] []
Incident details in: /u02/app/oracle/diag/rdbms/enbasr/ENBASR/incident/incdir_187162/ENBASR_ora_1560_i187162.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
...

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