home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT37127 Status: Closed

A QUERY WILL CAUSE AN AF (POSSIBLY WITH -874) IF ANSI JOIN IS USED

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem description:
A query containing ANSI joins may cause a segmentation
violation, possibly with the error:

-874 General exception error has occurred in the optimizer.


ANSI joins typically have the form of:
[LEFT|RIGHT|FULL] [OUTER] JOIN tab1 ON tab1:col = tab2:col

... but it may be possible to direct the optimizer (+ ORDERED)
to use an ANSI join and achieve the same result.


A typical Linux x86_64 stack:

00000000014a5f2d
  tos: 0x00000000445bc180
state: running
   vp: 1

0x00000000014a5f2d (oninit) afstack
0x00000000014aae49 (oninit) afhandler
0x00000000014ab502 (oninit) affail_interface
0x00000000014abfca (oninit) mt_ex_throw_sig
0x00000000014ba1c8 (oninit) afsig_handler
0x00007f6802316b10 (Linux) 
0x00000000009760e8 (oninit) op_join
0x00000000009798ad (oninit) op_phasejoin
0x000000000083c4f1 (oninit) sqoptim
0x0000000000a98fae (oninit) bldstructs
0x0000000000aa63da (oninit) sqcmd
0x0000000000aa68fd (oninit) sq_prepare
0x0000000000b8dc2e (oninit) sqmain
0x00000000015d5286 (oninit) spawn_thread
0x0000000001496903 (oninit) th_init_initgls
0x00000000014ddb2f (oninit) startup
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC15 and 14.10.xC7.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC15 or 14.10.xC7 (when     *
* available).                                                  *
****************************************************************
Local Fix:
To work around this problem, the following dynamic onconfig
change
may help:

onmode -wm OPT_ANSIJOIN_P1PRUNE=100
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC15 and 14.10.xC7.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC15 or 14.10.xC7 (when     *
* available).                                                  *
****************************************************************
Comment
Fixed in Informix Server 12.10.xC15 and 14.10.xC7.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
04.06.2021
25.08.2021
25.08.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)