suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
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 IT26655 Status: Closed

PREPARING LARGE STATEMENTS THAT CONSIST OF MANY SMALLER STATEMENTS CAN
CAUSE SEGV IN STMT2CB WHILE PARSING

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
Common stacks for the asserting threads include:

0x000000000141fa89 (oninit) afstack
0x0000000001423571 (oninit) mt_ex_throw_sig
0x000000000142e443 (oninit) afsig_handler
0x0000003ddfa0e4c0 (Linux) 
0x000000000066be08 (oninit) stmt2cb
0x000000000066fa6e (oninit) p_sp2cb
0x0000000000a3072c (oninit) parsecmd
0x0000000000a30c42 (oninit) sqcmd
0x0000000000a3b9ca (oninit) sq_cmnd
0x0000000000a3bb24 (oninit) sq_prepare
0x0000000000b0af81 (oninit) sqmain
0x000000000154cb1b (oninit) spawn_thread
0x0000000001411550 (oninit) th_init_initgls
0x0000000001456e88 (oninit) startup

0x000000000141fa89 (oninit) afstack
0x0000000001423571 (oninit) mt_ex_throw_sig
0x000000000142e443 (oninit) afsig_handler
0x0000003ddfa0e4c0 (Linux) 
0x000000000066be08 (oninit) stmt2cb
0x000000000066fa6e (oninit) p_sp2cb
0x000000000072533e (oninit) ssc_link
0x0000000000a3060e (oninit) parsecmd
0x0000000000a30c42 (oninit) sqcmd
0x0000000000a3b9ca (oninit) sq_cmnd
0x0000000000a3bb24 (oninit) sq_prepare
0x0000000000b0af81 (oninit) sqmain
0x000000000154cb1b (oninit) spawn_thread
0x0000000001411550 (oninit) th_init_initgls
0x0000000001456e88 (oninit) startup

The statement that the parser was parsing was about 300 lines of
update statements that looked like this:

  UPDATE ResulAnaRede SET  POTRESUL = 38.253 WHERE DATPDP =
'20181018' AND
    CODEQUIP = 'CHPTU04T3' AND TIPEQUIP = 'TR' AND INTRESUL = 4
AND ((POTRESUL
    IS NULL)  OR  (POTRESUL IS NOT NULL AND POTRESUL < 38.253));
UPDATE
    ResulAnaRede SET  POTRESUL = 37.761 WHERE DATPDP =
'20181018' AND CODEQUIP
    = 'CHPTU04T2' AND TIPEQUIP = 'TR' AND INTRESUL = 4 AND
((POTRESUL IS NULL)
    OR  (POTRESUL IS NOT NULL AND POTRESUL < 37.761)); UPDATE
ResulAnaRede SET
     POTRESUL = 38.728 WHERE DATPDP = '20181018' AND CODEQUIP =
'CHPTU04T4'
    AND TIPEQUIP = 'TR' AND INTRESUL = 4 AND ((POTRESUL IS NULL)
OR
    (POTRESUL IS NOT NULL AND POTRESUL < 38.728));  UPDATE
ResulAnaRede SET
    POTRESUL = 27.53 WHERE DATPDP = '20181018' AND CODEQUIP =
'CHPTU-2MTT-'
    AND TIPEQUIP = 'LN' AND INTRESUL = 4 AND ((POTRESUL IS NULL)
OR  (POTRESUL
    IS NOT NULL AND POTRESUL < 27.53));
    ...
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of IDS prior to 12.10.xC13.                            *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* Preparing large statements that consist of many smaller      *
* statements can cause segv in stmt2cb while parsing.          *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.10.2018
26.09.2019
26.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)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download