IBM Support

IT00551: SEGV POSSIBLE IN LOGCHFREE WHEN CLEANING UP SESSION IF CLOSING ASORT IN A LOGGED TEMP DBSPACE

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

  • When a thread is terminating in rstcb_cleanup() it now calls
    strclose() which can call logchfree().  If the dbspace this sort
    is in is not flagged as a temporary dbspace (so not DBS_TEMP
    flag...0x2000 in onstat -d output) we segv in logchfree()
    because rstcb_cleanup() has already freed the rstcb->logbuff
    buffer that logchfree() attempts to use to write it's log record
    to the logical log.
    
    Stack trace for SEGV'ing thread would be as follows:
    
    logchfree
    chfree
    ptdrop
    stmp_drop
    srtdrprun
    srtclose
    rstcb_cleanup
    destroy_session
    sq_exit
    sqmain
    listen_verify
    spawn_thread
    startup
    
    Also to run into this, you would have to not have a temporary
    dbspace created with the -t option of onspaces.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL DB Users                                                 *
    ****************************************************************
    * 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

    IT00551

  • 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

    2014-03-24

  • 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

  • RC10 PSY

       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":"B50","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 June 2017