Informix - Problem description
Problem IT28803 | Status: Closed |
AUTO_REPREPARE CAN CAUSE SEGV IN SQ_REPREPARE OR GETRETTYPEINFO OF PREPARED INSERT CURSOR | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem description: | |
The following failure was reported after upgrading a 12.10.FC7 server running on Linux x86_64 to 12.10.FC12W1. Any database alter in conjunction with an update statistics on a table that has an insert cursor that is subsequently opened could fail with a stack like below: On Linux, because of optimizer function inlining, you will likely see a stack comparable to: 0x0000000001422ae9 (oninit) afstack 0x00000000014265d1 (oninit) mt_ex_throw_sig 0x000000000142f743 (oninit) afsig_handler 0x0000003ddfa0e4c0 (Linux) 0x0000000000a49120 (oninit) sq_reprepare 0x0000000000a4a6e7 (oninit) sql_open 0x0000000000a4a8f6 (oninit) sq_open 0x0000000000b0d291 (oninit) sqmain 0x000000000154fecb (oninit) spawn_thread 0x0000000001414520 (oninit) th_init_initgls 0x0000000001459f77 (oninit) startup However on other platforms or a debuggable linux server, you will see a stack more comparable to: 0x0000000001438459 (oninit) afstack 0x000000000143bf41 (oninit) mt_ex_throw_sig 0x00000000014450b3 (oninit) afsig_handler 0x0000003ddfa0e4c0 (Linux) 0x0000000000a22e59 (oninit) getrettypeinfo 0x0000000000a241b8 (oninit) sq_reprepare 0x0000000000a2e92e (oninit) sql_open 0x0000000000a2e6f4 (oninit) sq_open 0x0000000000b22bb1 (oninit) sqmain 0x000000000156583b (oninit) spawn_thread 0x0000000001429e90 (oninit) th_init_initgls 0x000000000146f8e7 (oninit) startup | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of IDS prior to 12.10.xC13. * **************************************************************** * PROBLEM DESCRIPTION: * * auto_reprepare can cause segv in sq_reprepare or * * getrettypeinfo of prepared insert cursor. * **************************************************************** * RECOMMENDATION: * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 15.04.2019 24.09.2019 24.09.2019 |
Problem solved at the following versions (IBM BugInfos) | |
12.10.xC13 | |
Problem solved according to the fixlist(s) of the following version(s) |