ORA-7445:[msq_preprocess_frocol] Error Occurs When Selecting with SUM OVER PARTITION BY from a View That Uses Column Aliases and Database Links

(Doc ID 2328723.1)

Last updated on NOVEMBER 17, 2017

Applies to:

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

Symptoms

A query that contains a subquery with SUM OVER PARTITION BY and selects from a view that uses database links and column aliases can throw the following error:

ORA-07445 [msq_preprocess_frocol()+340] [SIGSEGV] [ADDR:0x0] [PC:0x2628A1A] [SI_KERNEL(general_protection)] []

A simple testcase using a loopback database link as shown below illustrates the issue:

 On 12.2, the error changes to ORA-904/ORA-2063.

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