My Oracle Support Banner

ORA-7445 [lxCmpStr()+215] During Automatic GATHER_STATS Job (Doc ID 1930237.1)

Last updated on APRIL 06, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 to 12.1.0.2 [Release 11.1 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
NOTE: In the images and/or the document content below, the user information and data used represents fictitious data. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Symptoms

Using external tables, the database alert log could show the sequence of errors:

DBMS_STATS: GATHER_STATS_JOB encountered errors.  Check the trace file.
...
ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file <FILE_NAME> in <DIRECTORY_NAME> not found
Exception [type: SIGSEGV, SI_KERNEL(general_protection)] [ADDR:0x0] [PC:0x25A48B7, lxCmpStr()+215] [flags: 0x0, count: 1]
...
ORA-07445: exception encountered: core dump [lxCmpStr()+215] [SIGSEGV] [ADDR:0x0] [PC:0x25A48B7] [SI_KERNEL(general_protection)]


The call stack in the trace contains functions like:

... lxCmpStr kudmri kudmxo kpxsOpen qxxqOpen spefcpfa spefmccallstd pextproc pgmcetc_execute_tru sted_c pgmccc_call_c sted_c pciccc_call_c kkxmcexe kgmexcb kkxmswu ...

 

The Plan Table in the trace file shows access of an external table:

============
Plan Table
============
------------------------------------------------------------+-----------------------------------+
| Id  | Operation                     | Name                | Rows  | Bytes | Cost  | Time      |
------------------------------------------------------------+-----------------------------------+
| 0   | SELECT STATEMENT              |                     |       |       |    25 |           |
| 1   |  SORT AGGREGATE               |                     |     1 |    61 |       |           |
| 2   |   APPROXIMATE NDV AGGREGATE   |                     |  8168 |  487K |    25 |  00:00:01 |
| 3   |    EXTERNAL TABLE ACCESS FULL | EXT_TAB             |  8168 |  487K |    25 |  00:00:01 |
------------------------------------------------------------+-----------------------------------+

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.