IBM Support

JR33661: WHEN TRYING TO ACCESS A NON-EXISTENT LIBRARY GETLASTERROR() RETURNS 0, WHICH IS ASSOCIATED WITH A NORMAL RETURN CODE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The plugins try to load the library which is non existent and
    hence fails. The library may be optional and therefore it is not
    a fatal error if the library is not found, the problem is
    LoadLibraryA() returns a NULL to indicate a failure but
    GetLastError() returns neither ERROR_MOD_NOT_FOUND nor
    ERROR_DLL_NOT_FOUND.  As a matter of fact, it returns 0, which
    is usually returned as a normal return code.
    
    The following message can be seen in the db2diag.log:
    
    2008-09-22-13.41.08.667000+120 I4031H250 LEVEL: Severe
    PID : 1000 TID : 2764
    FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage,
    probe:20
    DATA #1 : String, 37 bytes
    loadAuthidMapper: LoadLibrary rc = 0
    

Local fix

  • N/A
    

Problem summary

  • Users Affected:
    all users prior to V95 FP5
    
    Problem Description:
    WHEN TRYING TO ACCESS A NON-EXISTENT LIBRARY GETLASTERROR()
    RETURNS 0, WHICH IS ASSOCIATED WITH A NORMAL RETURN CODE.
    

Problem conclusion

  • Problem Conclusion:
    First Fixed in DB2 V95 FP5
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR33661

  • Reported component name

    DB2 CEE WINDOWS

  • Reported component ID

    5765F3001

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-14

  • Closed date

    2009-12-17

  • Last modified date

    2009-12-17

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

    JR32477

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

Fix information

  • Fixed component name

    DB2 CEE WINDOWS

  • Fixed component ID

    5765F3001

Applicable component levels

  • R950 PSY

       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":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 December 2009