Query Fails with ORA-600 [rwoirw: Check Ret Val] or with ORA-7445 [kkqstartempcolrew] (Doc ID 1582468.1)

Last updated on JANUARY 12, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 12.1.0.1 [Release 11.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 12-Jan-2016***

Symptoms

Query using ANSI joins / star transformation fails with:

ORA-00600: internal error code, arguments: [rwoirw: check ret val], [], [], [], [], [], [], [], [], [], [], []


The call stack in the trace file is similar to:

... $cold_qerhjInitializeManagementComponents  qerhjFetch  qerflFetch  qergsFetch  opifch2  kpoal8 ...


The query does not fail if star transformation is disabled or if optimizer_features_enable <= 11.1.0.7.

Enabling event 10053 changes the error to ORA-7445 [kkqstartempcolrew()+857].

Searching the trace file for parameter "_optimizer_ansi_rearchitecture" shows that it is set to false.

 

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