IBM Support

IC83326: -4302 COULD BE RETURNED WHEN RUNNING CLR ROUTINES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • -4302 could be returned when running CLR routines with similar
    diagnostic information as below:
    
    SQL4302N  Procedure or user-defined function "xxxx", specific
    name
    "SQL111125000737200" aborted with an exception "Attempted to
    read or write
    protected".
    
    2012-04-30-10.42.14.820000+120 I242445F883        LEVEL: Error
    PID     : 2268                 TID  : 3948        PROC :
    db2fmp64.exe
    INSTANCE: DB2                  NODE : 000
    EDUID   : 3948
    FUNCTION: DB2 UDB, DB2 .NET Routine Infrastructure,
    sqlecRoutineLoaderClass.sqlecRunDotNetRo, probe:10
    DATA #1 : String, 456 bytes
    System.AccessViolationException: Attempted to read or write
    protected memory. This is often an indication that other memory
    is corrupt.
       at
    IBM.Data.DB2.Routine.sqlecMethodManager.ProcessReturnParameters(
    IntPtr processReturn)
       at
    IBM.Data.DB2.Routine.sqlecRoutineLoaderClass.sqlecRunDotNetRouti
    ne(IntPtr ufob, IntPtr pSqlca, IntPtr nativeThreadID, IntPtr
    invokerSQLSTATE, IntPtr invokerMessage, IntPtr scratchpad,
    IntPtr dbinfo, IntPtr processReturn)
    DATA #2 : Hexdump, 4 bytes
    0x000000001DD07808 : 32EF FFFF
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users that run CLR routines                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 LUW Version 9.5 fixpack 10                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 LUW Version 9.5 fixpack 10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC83326

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-10

  • Closed date

    2012-08-22

  • Last modified date

    2012-08-22

  • 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

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
22 August 2012