DB2 - Problem description
Problem IT19457 | Status: Closed |
INSTANCE CRASH DUE TO STACK OVERFLOW DURING EXECUTION OF AN XQUERY WITH A LARGE NUMBER OF PREDICATES. | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
During SQL compilation, an xquery with a large number of predicates being compiled may cause the DB2 instance to crash due to a stack overflow exception. DB2 should ideally cause the DB2 agent to return an sqlcode SQL0973N upon detecting such a scenario. The stack trace from such an abend will look like: sqlngStructurePool::getStructure sqlng_xpath_node_fun::translateXPS sqlngProcessXPred sqlng_xpath_node_fun::translateXPS sqlngProcessXPred ... * The function sqlng_xpath_node_fun::translateXPS() and sqlngProcessXPred() are called repeatedly | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 11.1 Mod 2 Fix Pack 2 or higher * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 11.1 Mod 2 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 11.1 Mod 2 Fix Pack 2 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 27.02.2017 23.06.2017 23.06.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |