Informix - Problem description
Problem IT45985 | Status: Closed |
GET_PRODUCT_INDEX() POTENTIALLY CAUSING UNDETECTED STACK OVERFLOW AND MEMORY CORRUPTION | |
product: | |
INFORMIX SERVER / 5725A3900 / E10 - | |
Problem description: | |
The get_product_index() function has an unusually large stack footprint of ca. 21kB, larger than the 16kB threshold for continuing in a new stack fragment. So, when operating already close to that threshold limit, a call to this function would inevitably exceed the allocated stack space and, by initializing some locals, corrupt any memory block that happens to reside adjacent to the stack. The function is new in version 14.10 which is why memory corruption might occur on systems that had no such problem when still in an older version. Quite typically the damage would be detected when already done, by the offending thread or, more likely, a random victim of the corruption, and this offending function would never be seen on any stack. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 14.10.xC11. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 14.10.xC11. * **************************************************************** | |
Local Fix: | |
Run with extra high STACKSIZE settings if application known to consume large stack space. | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 14.10.xC11. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 14.10.xC11. * **************************************************************** | |
Comment | |
Fixed in Informix Server 14.10.xC11. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 22.04.2024 12.06.2024 12.06.2024 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |