My Oracle Support Banner

XMLFOREST is causing ORA-07445:[qctcpqbl()+68] (Doc ID 2830574.1)

Last updated on JANUARY 28, 2022

Applies to:

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

Symptoms

XMLFOREST in 19c causing ORA-07445:[qctcpqbl()+68]

This issue can be reproduced as below.

create table number_scale (N number);
insert into number_scale values(1);
insert into number_scale values(2);
insert into number_scale values(3);
insert into number_scale values(4);
insert into number_scale values(5);
insert into number_scale values(6);
insert into number_scale values(7);
insert into number_scale values(8);
insert into number_scale values(9);
insert into number_scale values(10);
insert into number_scale values(11);
insert into number_scale values(12);
commit;

SELECT
XMLFOREST( xmlconcat( xmlsequence( CURSOR(
SELECT 'Pos ' || n Pos,
n Num
FROM number_scale
WHERE rownum < 11
),
xmlformat('NUMBER_SCALE_ROW')))
number_scale_concat).extract('NUMBER_SCALE_CONCAT/NUMBER_SCALE_ROW')
FROM dual;

Database instance may also crash when using query with XMLSequence and nested cursor.

 

Changes

 

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
Changes
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.