JSON_QUERY failing with ORA-00600 [kghfrh_internal] / [17112] errors on 12.1.0.2

(Doc ID 2227452.1)

Last updated on APRIL 21, 2017

Applies to:

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

Symptoms

JSON_QUERY is failing with memory corruption errors on 12.1.0.2 database.

Errors:

ORA-07445: exception encountered: core dump [kghfrh_internal()+448] [SIGSEGV] [ADDR:0x7F0E98C3F898] [PC:0xD07B8F0] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [17112], [0x7F0E4C64D718], [], [], [], [], [], [], [], [], [], []

Call Stack:

kgherror <- kghfre <- kghfrh_internal <- kghfrh <- qmxtgFreeHeap <- qjsnFreeContext <- kxsffir <- kxsFreeWorkArea <- 099 <- kxsFreeExecutionHea <- kksumc <- opifch2 <- kpoal8 <- opiodr <- ttcpip

Queries Like:

SELECT JSON_QUERY(COLLECTION_MESSAGE, '$.fields."Main System Chassis".*."Chassis Model"' WITH WRAPPER) AS VALUE,
JSON_QUERY(COLLECTION_MESSAGE, '$.fields."Main System Chassis".System."Host Name"' WITH WRAPPER) AS VALUE1,
FROM saie_owner.JSON_CHECK;

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