IBM Support

IT39103: .NET CORE THROWS SYSTEM.ACCESSVIOLATIONEXCEPTION: ATTEMPTED TO READ OR WRITE PROTECTED MEMORY

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

  • Using the Informix .NET Core provider with a simple application
    that performs open, close and dispose in a loop will eventually
    throw
    a "System.AccessViolationException: Attempted to read or write
    protected memory" exception.
    
    This is often an indication that other memory is corrupt.
    Fatal error. Repeats 2 times:
    --------------------------------
    Repeat 2 times:
       at Interop+Odbc.SQLDisconnect(IntPtr)
    --------------------------------
       at Interop+Odbc.SQLDisconnect(IntPtr)
    
    Problem does not occur using the regular Informix .NET provider.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Client SDK prior to version 4.50.FC8.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Client SDK 4.50.FC8.                     *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Client SDK 4.50.FC8.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT39103

  • Reported component name

    IBM CSDK

  • Reported component ID

    5724C2381

  • Reported release

    450

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-16

  • Closed date

    2022-04-07

  • Last modified date

    2022-04-07

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

  • Fixed component ID

    5724C2381

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVT2J","label":"Informix Tools"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"450"}]

Document Information

Modified date:
08 April 2022