ORA-600 [kghalo2] When Using a VARCHAR2 Parameter in Pro*C (Doc ID 338482.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.7 and later   [Release: 9.2 and later ]
Information in this document applies to any platform.

Symptoms

You get the error:
ORA-00600: internal error code, arguments: [kghalo2], [0x0], [], [], [], [], [], []
Stack : kghalo kpuhhalo ttcrbur ttcbur kpctor ttca2p
In the trace file, the current cursor shows one of the bind parameters similar to:
 bind 5: dty=96 mxl=4882(4882) mal=00 scl=00 pre=00 oacflg=00 oacfl2=1 size=4000 offset=0
bfp=b725301c bln=4000 avl=-336 flg=05
value="...
with a long value.
Note that mxl is greater than the maxsize for VARCHAR2.

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