此报错在MOS上查到了相关信息:
APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.
SYMPTOMS
Below statement fail with error
SELECT DISTINCT msg_id
2 FROM (
3 SELECT pain.msg_id,
4 CdtTrfTxInf.PmtIdInstrId tran_id_num
5 FROM pain_001_001_03 pain
6 JOIN TABLE (collection_wrapper(pb_msg_ids)) ids ON ids.COLUMN_VALUE = pain.msg_id,
7 XMLTable (XMLNAMESPACES(‘urn:iso:std:iso:20022:tech:xsd:pain.001.001.03‘ AS "ISOPain001"),
8 ‘hsbcEnvelope/hsbcMessageBody/ISOPain001:CstmrCdtTrfInitn/PmtInf/CdtTrfTxInf‘
9 PASSING pain.XML_msg
10 COLUMNS
11 -- PYMT_TRAN
12 PmtIdInstrId VARCHAR2(25) PATH ‘PmtId/InstrId‘
13 ) CdtTrfTxInf
14 GROUP BY pain.msg_id,
15 CdtTrfTxInf.PmtIdInstrId
16 HAVING COUNT(*) > 1
17 );
SELECT DISTINCT msg_id
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 11833
Session ID: 148 Serial number: 193
trace reporting the error below
ORA-07445: exception encountered: core dump [kglpin()+527] [SIGSEGV] [ADDR:0x24] [PC:0x99148B7] [Address not mapped to object] []
skdstdst <- ksedst1 <- ksedst <- dbkedDefDump <- ksedmp
<- ssexhd <- sighandler <- kglpin <- qcsResolveSqnRef <- 1638
<- qcsRslvName <- qcsoAnalyzeTableExp <- r_Cbk <- qcsAnalyzeExpr <- r_Cbk
<- qcsAnalyzeExpr_Proc <- essKids <- qcsoppls <- essKids <- qcsoProcessOpt
<- qcsAnalyzeExpr_Dflt <- qcsoAnalyzeTableExp <- r_Cbk <- qcsAnalyzeExpr <- r_Cbk
<- qcsosfpo <- qcsoptf <- qcsprfro <- qcsfpaj <- qcsprfro
<- qcsprfro_tree <- qcsprfro_tree <- qcspafq <- qcspqbDescendents <- qcspqb
<- qcsevw <- qcsfpsq <- kkmfcbsq <- kkmpfcbk <- qcsprfro
<- qcsprfro_tree <- qcsprfro_tree <- qcspafq <- qcspqbDescendents <- qcspqb
<- kkmdrv <- opiSem <- opiDeferredSem <- opitca <- kksFullTypeCheck
<- rpiswu2 <- kksLoadChild <- kxsGetRuntimeLock <- kksfbc <- kkspsc0
<- kksParseCursor <- opiosq0 <- kpooprx <- kpoal8 <- opiodr
<- ttcpip <- opitsk <- opiino
CAUSE
The issue matches Bug 20560611 Same stack trace and db version
Process May Dump (ORA-7445) / Abend / Abort
Dump in or under KGHISPIR
Stack is likely to include qcsResolveSqnRef XMLTABLE involved
SOLUTION
The bug is fixed in:
12.2 (Future Release)
Or
Apply one off patch on 11.2.0.4
1) Please download and review the readme for Patch. 20560611
2) Please apply Patch. 20560611 in a test environment.
3) Please retest the issue.
4) If the issue is resolved, please migrate the solution as appropriate to other environments.