IBM Support

IC99209: UNHANDLED EXCEPTION: SYSTEM.ACCESSVIOLATIONEXCEPTION: ATTEMPTED TO READ OR WRITE PROTECTED MEMORY.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • .Unhandled Exception: System.AccessViolationException: Attempted
    to read or write protected memory. This is often an indication
    that other memory is corrupt.
       at
    IBM.Data.DB2.UnsafeNativeMethods.DB232.SQLExecDirectADONET(DB2Ex
    ecDirectParameters* pParam)
       at IBM.Data.DB2.DB2Command.ExecuteNonQueryObject(Boolean
    skipInitialValidation)
       at IBM.Data.DB2.DB2Command.ExecuteNonQueryObject()
       at IBM.Data.DB2.DB2Command.ExecuteNonQuery()
       at Orcas.TestOrcas.MultiRowInsert(DB2Connection conn) in
    c:\svtwkld\OrcasAppl\TestOrcas.cs:line 702
       at Orcas.TestOrcas.startSelect() in
    c:\svtwkld\OrcasAppl\TestOrcas.cs:line 192
       at
    System.Threading.ExecutionContext.RunInternal(ExecutionContext
    executionContext, ContextCallback callback, Object state,
    Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext
    executionContext, ContextCallback callback, Object state,
    Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext
    executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    
    ----------------------------------------------------------------
    ---------------------------------
    ---------------------------
    C:\svtwkld\OrcasAppl\bin\Debug>db2level
    DB21085I  This instance or install (instance name, where
    applicable: "*") uses
    "64" bits and DB2 code release "SQL10053" with level identifier
    "0604010E".
    Informational tokens are "DB2 v10.5.300.52", "s131122",
    "IP23546", and Fix Pack
    "3".
    Product is installed at "C:\IBMDSD" with DB2 Copy Name
    "IBMDBCL1".
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL DB2LUW users                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to v97fp10 or later                                  *
    ****************************************************************
    

Problem conclusion

  • Fixed in v97FP10 and later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC99209

  • 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-02-06

  • 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:

    IC99396

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC99209

Modified date: 10 November 2014