ORA-7445:[msq_preprocess_frocol] Error Occurs When Selecting with SUM OVER PARTITION BY from a View That Uses Column Aliases and Database Links
Last updated on NOVEMBER 17, 2017
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms