IBM Support

JR31283: DB2 ENGINE HANGS AND MICROSOFT VC++ RUNTIME ERROR MESSAGE BOX APPEARS ON THE CONSOLE SESSION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 9.1 for Windows 32-bit might hang in some commands, queries.
    At that time, MS VC++ runtime error message box like below
    appears on the console session, and the hang is not solved until
    someone clicks OK button on the runtime error message box.
    This problem could happen in v9.1 fixpack 5 and 6.
    .
    Microsoft Visual C++ Runtime Library
    ----------------------------------------------------------------
    Runtime Error!
    Program: C:\Program Files\IBM\SQLLIB\BIN\db2syscs.exe
    .
    R6034
    An application has made an attempt to load the C runtime library
    incorrectly.
    Please contact the application's support team for more
    information.
    ----------------------------------------------------------------
    .
    Stack trace taken at the hang shows Intel Mathematics library in
    db2engn.dll tries to load msvcr80.dll, and it raises runtime
    error message box.
    .
    user32!ServiceMessageBox+0x145
    user32!MessageBoxWorker+0x13e
    user32!MessageBoxTimeoutW+0x7a
    user32!MessageBoxTimeoutA+0x9c
    user32!MessageBoxExA+0x1b
    user32!MessageBoxA+0x45
    msvcr80!__crtMessageBoxA+0x199
    msvcr80!_NMSG_WRITE+0x162
    msvcr80!__CRTDLL_INIT+0x136
    msvcr80!_CRTDLL_INIT+0x1d
    ntdll!LdrpCallInitRoutine+0x14
    ntdll!LdrpRunInitializeRoutines+0x367
    ntdll!LdrpLoadDll+0x3cd
    ntdll!LdrLoadDll+0x198
    kernel32!LoadLibraryExW+0x1b2
    kernel32!LoadLibraryExA+0x1f
    kernel32!LoadLibraryA+0xb5
    db2engn!__libm_dynamic_RT_init+0x1e
    db2engn!pow.J+0xc3a
    db2engn!sqlno_prop_nljn+0x820
    

Local fix

  • Users can bypass this problem by one of the followings:
    a) Remove the application which puts msvcr80.dll in the system
       PATH environment variable.
    b) Put dummy (0 byte) msvcr80.dll in %db2path%\bin directory.
    

Problem summary

  • Users affected:
    Users who use DB2 V9.1 FixPack 5 and 6 for Windows 32-bit.
    .
    Problem Description:
    DB2 9.1 for Windows 32-bit might hang in some commands, queries.
    At that time, MS VC++ runtime error message box like below
    appears on the console session, and the hang is not solved until
    someone clicks OK button on the runtime error message box.
    This problem could happen only in v9.1 fixpack 5 and 6.
    .
    Microsoft Visual C++ Runtime Library
    ----------------------------------------------------------------
    Runtime Error!
    Program: C: Program File IBM SQLLIB BIN db2syscs.exe
    .
    R6034
    An application has made an attempt to load the C runtime library
    incorrectly.
    Please contact the application's support team for more
    information.
    ----------------------------------------------------------------
    .
    Problem Summary:
    DB2 V9.1 FixPack 5 and 6 for Windows 32-bit contains problematic
    Intel Math library, and the library tries to load MS VC 8
    runtime.
    

Problem conclusion

  • First fixed in DB2 Version 9.1, FixPak 7 (s090308)
    

Temporary fix

  • Users can bypass this problem by one of the followings:
    a) Remove the application which puts msvcr80.dll in the system
       PATH environment variable.
    b) Put dummy (0 byte) msvcr80.dll in %db2path% bin directory.
    

Comments

APAR Information

  • APAR number

    JR31283

  • Reported component name

    DB2 UDB ESE WIN

  • Reported component ID

    5765F4101

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-12-04

  • Closed date

    2009-04-16

  • Last modified date

    2009-04-30

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

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

Modules/Macros

  • ENG_OTHE
    

Fix information

  • Fixed component name

    DB2 UDB ESE WIN

  • Fixed component ID

    5765F4101

Applicable component levels

  • R910 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2021