IBM Support

IT14557: INCORRECT USAGE OF TABLE EXPRESSIONS CAN LEAD TO AN ASSERT FAIL IN STCMPR WHEN AGGREGATES ARE INVOLVED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Where incorrect usage of table expressions might normally lead
    to an error like -7607 being returned
    (-7607   Invalid row literal value.),
    an assert fail, requiring a restart of the database server, can
    happen if an aggregate is involved.
    
    The stack looks like this:
    
    (oninit)afstack
    (oninit)mt_ex_throw_sig
    (oninit)afsig_handler
    (oninit)stcmpr
    (oninit)chkgrpby
    (oninit)sel2cb
    (oninit)qblk2cb
    (oninit)stmt2cb
    (oninit)p_sp2cb
    (oninit)parsecmd
    (oninit)sqcmd
    (oninit)sq_cmnd
    (oninit)sq_prepare
    (oninit)sqmain
    (oninit)spawn_thread
    (oninit)startup
    
    A sample query which would cause such an assert failure:
    
    select all_fields, sum(f1) from (
            select f2 from t1 group by 1
    ) as all_fields, t1
    where t1.f2 = all_fields.f2;
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * production envoironment                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IBM Informix Server 11.50.xC10                     *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IBM Informix Server 11.50.xC10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT14557

  • Reported component name

    IBM IDS EXPRESS

  • Reported component ID

    5724L2305

  • Reported release

    B15

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-31

  • Closed date

    2017-06-15

  • Last modified date

    2017-06-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM IDS EXPRESS

  • Fixed component ID

    5724L2305

Applicable component levels

  • RB15 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B15","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 June 2017