IBM Support

JR33651: SQLMON_DCS_APP OBJECT DOUBLE FREE PROBLEM CAUSES CRASH WITH SQLOCRASHONCRITICALMEMORYVALIDATIONFAILURE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The Db2 connect gateway can crash with following stack trace in
    db2diag.log :
    
    Failing instruction at 6CA2E98D offset: 00000019 in
    <_sqloCrashOnCriticalMemoryValidationFailure> <sqlommgt.C:1433>
    
    0x6CA2E98D MOV          DWORD PTR DS:[+0],5
               <<<<
    offsets:
    00000019 in <_sqloCrashOnCriticalMemoryValidationFailure>
    <sqlommgt.C:1433>
    0000042D in <_sqlofmblkEx.> <sqlommgt.C:2922>
    00000010 in <??3sqm_object@@SAXPAX@Z>
    <T:/db2_v91fp7/nt32/s090308/engn/include/sqlmob.h:162>
    00000026 in <??_Gsqlmon_dcs_app@@QAEPAXI@Z>
    <T:/db2_v91fp7/nt32/s090308/engn/include/sqlmkrcb.h:205>
    00000434 in <?sqlm_dcs_app_exit@@YAHPAVsqlmon_dcs_app@@@Z>
    <sqlmddb.C:441>
    00000038 in <__VInfreq__sqleUCagentConnectReset>
    <sqleu_server.C:-1>
    0000036D in
    <?sqljsSetupDrdaAsForApp.@@YAHPAUsqljsDrdaAsCb@@PAUdb2UCinterfac
    e@@_N@Z>
    <sqljsqam.C:3600>
    000001D7 in <?sqljsDrdaAsDriver@@YAHPAUsqlcc_init_struct@@@Z>
    <sqljsqam.C:698>
    0000006B in <?sqljsDrdaAsDriver@@YAHPAUsqlcc_init_struct@@@Z>
    <sqljsqam.C:442>
    00000786 in <?sqleRunAgent@@YAXPADI@Z> <sqleagnt.C:3420>
    00000294 in <_sqloEDUEntry@4> <sqloedu.C:2571>
    
    <StackTrace with all details>
    
    <![CDATA[
    
    --EBP------EIP------ARGS-----------------------------
    
    0988A094 6CA2E98D 00000000 00000002 00000000 00000000 offset:
    00000019
    in <_sqloCrashOnCriticalMemoryValidationFailure>
    <sqlommgt.C:1433>
    0988A0FC 6CA2F525 035FF7F0 0988A118 6D11242E 035FF7F0 offset:
    0000042D
    in <_sqlofmblkEx.> <sqlommgt.C:2922>
    
    0988A108 6D1124A0 035FF7F0 035F0060 0988A1F8 6D111012 offset:
    00000010
    in <??3sqm_object@@SAXPAX@Z>
    
    <T:/db2_v91fp7/nt32/s090308/engn/include/sqlmob.h:162>
    
    0988A118 6D11242E 00000001 1E43FE00 04793D80 00000000 offset:
    00000026
    in <??_Gsqlmon_dcs_app@@QAEPAXI@Z>
    
    <T:/db2_v91fp7/nt32/s090308/engn/include/sqlmkrcb.h:205>
    
    0988A1F8 6D111012 035FF7F0 00000000 1DBEFDD0 1E762950 offset:
    00000434
    in <?sqlm_dcs_app_exit@@YAHPAVsqlmon_dcs_app@@@Z>
    <sqlmddb.C:441>
    0988A220 6E07DDF8 1E762950 00000000 00000000 1E762584 offset:
    00000038
    in <__VInfreq__sqleUCagentConnectReset> <sqleu_server.C:-1>
    
    0988A370 6D0D9ACC 0988F9D0 00000078 00000000 0988A3D0 offset:
    0000036D
    in
    
    <?sqljsSetupDrdaAsForApp.@@YAHPAUsqljsDrdaAsCb@@PAUdb2UCinterfac
    e@@_N@Z>
    
    <sqljsqam.C:3600>
    
    0988A3A8 6D0D86CB 072F74F4 00000001 00000000 00000000 offset:
    000001D7
    in <?sqljsDrdaAsDriver@@YAHPAUsqlcc_init_struct@@@Z>
    <sqljsqam.C:698>
    0988FA60 6D0D855F 072F74F4 00000000 00000000 00000000 offset:
    0000006B
    in <?sqljsDrdaAsDriver@@YAHPAUsqlcc_init_struct@@@Z>
    <sqljsqam.C:442>
    0988FD14 6CFAC5AA 0988FD28 00000004 00000001 144B89C0 offset:
    00000786
    in <?sqleRunAgent@@YAXPADI@Z> <sqleagnt.C:3420>
    
    0988FFB8 6C995248 1F619F38 00000000 00000000 1F619F38 offset:
    00000294
    in <_sqloEDUEntry@4> <sqloedu.C:2571>
    
    0988FFEC 77E64829 6C994FB4 1F619F38 00000000 03F58C54
    
    ]]></StackTrace>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 V9.5 users on Linux/Unix/windows platform                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A Db2 database engine or connect gateway can crash with an   *
    * entry similar to the following in the db2diag.log :          *
    *                                                              *
    *  Failing instruction at 6CA2E98D offset: 00000019 in         *
    * <_sqloCrashOnCriticalMemoryValidationFailure>                *
    * <sqlommgt.C:1433>                                            *
    *                                                              *
    * 0x6CA2E98D MOV          DWORD PTR DS:[+0],5                  *
    *                <<<<                                          *
    * offsets:                                                     *
    * 00000019 in <_sqloCrashOnCriticalMemoryValidationFailure>    *
    * <sqlommgt.C:1433>                                            *
    * 0000042D in <_sqlofmblkEx.> <sqlommgt.C:2922>                *
    * 00000010 in <??3sqm_object@@SAXPAX@Z>                        *
    * <T:/db2_v91fp7/nt32/s090308/engn/include/sqlmob.h:162>       *
    * 00000026 in <??_Gsqlmon_dcs_app@@QAEPAXI@Z>                  *
    * <T:/db2_v91fp7/nt32/s090308/engn/include/sqlmkrcb.h:205>     *
    * 00000434 in <?sqlm_dcs_app_exit@@YAHPAVsqlmon_dcs_app@@@Z>   *
    * <sqlmddb.C:441>                                              *
    * 00000038 in <__VInfreq__sqleUCagentConnectReset>             *
    * <sqleu_server.C:-1>                                          *
    * 0000036D in                                                  *
    * <?sqljsSetupDrdaAsForApp.@@YAHPAUsqljsDrdaAsCb@@PAUdb2UCinterf
    * <sqljsqam.C:3600>                                            *
    * 000001D7 in                                                  *
    * <?sqljsDrdaAsDriver@@YAHPAUsqlcc_init_struct@@@Z>            *
    * <sqljsqam.C:698>                                             *
    * 0000006B in                                                  *
    * <?sqljsDrdaAsDriver@@YAHPAUsqlcc_init_struct@@@Z>            *
    * <sqljsqam.C:442>                                             *
    * 00000786 in <?sqleRunAgent@@YAXPADI@Z> <sqleagnt.C:3420>     *
    * 00000294 in <_sqloEDUEntry@4> <sqloedu.C:2571>               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 V9.5 FP5 or later to avoid possibiltiy of     *
    * hitting this issue.                                          *
    ****************************************************************
    

Problem conclusion

  • Problem first fixed in Db2 V9.5 FP5
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR33651

  • Reported component name

    DB2 UDB ESE WIN

  • Reported component ID

    5765F4101

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-10

  • Closed date

    2010-01-20

  • Last modified date

    2010-01-20

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

    JR33650

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

    IC63620

Fix information

  • Fixed component name

    DB2 UDB ESE WIN

  • Fixed component ID

    5765F4101

Applicable component levels

  • R950 PSY

       UP

  • R910 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:
20 January 2010