ORA-7445 under kdlwdb() During Insert into Long Raw/LOB Columns (Doc ID 472250.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.3 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.
On 10.2.0.3.0 in Production:

Symptoms

During insert into table with long raw / LOB columns using bind variables, the following errors could occur:

ERROR
ORA-7445 in memmove()
ORA-7445 in memcpy()
ORA-600  [kghstack_alloc]

Looking at the call stack, we see the function kdlwdb() present near the top, eg.:

... memmove kdlrdo kdlwdb kdlwfb kdl_write1 koklicbf ...

From the cursor dump in the trace file, we may see something like the following for one of the bind variables:

Bind#1
oacdty=23 mxl=2000(2147483647)     oacdty=23 --> long raw
kxsbbbfp=9fffffffbf24f bln=2000 avl=-269   ---> negative length

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