ORA-00600 [17003] or ORA-00600[kglLock-bad-byd] When Querying A Customized Object Related To X$ Table

(Doc ID 2321144.1)

Last updated on OCTOBER 30, 2017

Applies to:

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

Symptoms

When running a select from a 'X$' table, you could see the error:

SQL> select * from x$kmgsop;
select * from x$kmgsop
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [17003], [0x57261694], [0], [1], [],

Sometimes, you may also see ORA-00600[kglLock-bad-byd].

This 'X$' table is actually a synonym to a customized view. i.e.

create view X_$KMGSOP as select * from sys.x$kmgsop;

create public synonym x$kmgsop for sys.x_$kmgsop;

Changes

The database was upgraded to 12.1 after the view was created.

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