IBM Support

IT01858: TRAP IN SQLEGWRT FUNCTION DUE TO MEMORY ACCESS VIOLATION IN MULTI-THREADED ENVIRONMENT.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • While running applications in a multi-threaded environment, a
    memory access violation in sqlegwrt function could result in a
    trap with a stack trace similar to the following:
    sqlegwrt
    write_it_dwrt
    sqledwrt
    sqledecl
    sqlebutm
    sqlubComplete
    sqlubRCleanup
    sqlubcka
    sqlubcka_route_in
    sqlerKnownProcedure
    sqlerCallDL
    sqljs_ddm_excsqlstt
    sqljsParse
    sqljsSqlam
    sqljsDriveRequests
    sqljsDrdaAsInnerDriver
    sqljsDrdaAsDriver
    sqeAgent::RunEDU
    sqlzRunEDU
    sqloEDUEntry
    
    This APAR will fix this memory access violation by changing the
    latching behavior.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 client users using multi-threaded ODBC application.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * upgrade to db2_v97fp10 or later releases.                    *
    ****************************************************************
    

Problem conclusion

  • db2_v97fp10 contains this fix. After fix, we don't see any
    crash.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT01858

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-18

  • Closed date

    2014-11-10

  • Last modified date

    2014-11-10

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

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

    IT02255 IT02273

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IT01858

Modified date: 10 November 2014