IBM Support

IC87376: SMI QUERY CRASHES INFORMIX INSTANCE.

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

  • Running the following SMI query crashes the instance.
    
    database sysmaster ;
    
    SELECT
    *,round((Space_free_MB/total_space_mb)*100,2)free_age,round
    (((total_space_mb-Space_free_MB)/total_space_mb)*100,2) used_age
    FROM
    (
      SELECT dbspace,
    round(((allocated_MB*decode(is_blobspace,1,2048,
      pagesize))/1024)/1024,2) total_space_mb,
      Space_free_MB
      from(
         select name[1,20] dbspace ,d.is_blobspace,d.pagesize,
             sum(chksize) allocated_MB
            ,round((sum(d.pagesize*nfree)/1024)/1024,2)
    Space_free_MB
         from sysdbspaces d, syschunks c
         where d.dbsnum = c.dbsnum
         group by 1,2,3)
     )where dbspace='rootdbs';
    
    
    Note:
    ------
    The instance does not crash if we remove the last WHERE clause,
    i.e. where dbspace='rootdbs';
    
    
    af stack:
    -----------
     gather_records
     rsread
     fmread
     readseq_single
     gettupl
     scan_next
     hjoin_open
     group_open
     prepselect
     open_cursor
     sql_open
     sq_open
     sqmain
     listen_verify
     spawn_thread
     startup
    
    Note:
    The problem does not reproduce with IDS 11.70.FC5
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users having queries with derived tables, view and using     *
    * subscript columns.                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.50.xC10                                     *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.50.xC10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC87376

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-10-19

  • 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

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

  • RA10 PSN

       UP



Document information

More support for: Informix Servers

Software version: B50

Reference #: IC87376

Modified date: 15 June 2017


Translate this page: