ORA-600 [17114] error when using SYS_CONTEXT with the 3rd parameter (Doc ID 1263319.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 to 11.2.0.2 [Release 11.1 to 11.2]
Information in this document applies to any platform.

Symptoms

Within PL/SQL, when using function SYS_CONTEXT with the optional 3rd parameter, eg.
user_name := SYS_CONTEXT('USERENV','OS_USER', 14)

the following error occurs:
ORA-00600: internal error code, arguments: [17114], [0x022335564], [], [], [], [], [], [], [], [], [], []

and the call stack is similar to:
... kgherror kghrcdepth kghrcappl kghfrempty_ex qesmmIPgaFreeCb ksudlc kssdel ksupop opiodr ...

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