IBM Support

IT26772: DB2 SEGV IN DB2HADRP THREAD WHEN COPYING HADR REMOTE HOST TCPIP HANDLE STRING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After a takeover by the HADR standby, as it is becoming the
    primary, the db2hadrp thread can hit a signal 11 segmentation
    violation while copying the remote host tcpip handle string.
    
    A stack trace like the following is produced by the segv:
    <StackTrace>
    -----FUNC-ADDR---- ------FUNCTION + OFFSET------
    0x00007FFFEBA8F465
    _Z25ossDumpStackTraceInternalmR11OSSTrapFileiP7siginfoPvmm +
    0x0385
                    (/home/db2inst1/sqllib/lib64/libdb2osse.so.1)
    0x00007FFFEBA8F06C ossDumpStackTraceV98 + 0x002c
                    (/home/db2inst1/sqllib/lib64/libdb2osse.so.1)
    0x00007FFFEBA8B10D _ZN11OSSTrapFile6dumpExEmiP7siginfoPvm +
    0x00fd
                    (/home/db2inst1/sqllib/lib64/libdb2osse.so.1)
    0x00007FFFF2147A04 sqlo_trce + 0x0404
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF21D1A39 sqloEDUCodeTrapHandler + 0x02b9
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00000038CC00F7E0 address: 0x00000038CC00F7E0 ; dladdress:
    0x00000038CC000000 ; offset in lib: 0x000000000000F7E0 ;
                    (/lib64/libpthread.so.0)
    0x0000000000425704 __intel_ssse3_rep_memcpy + 0x0124
                    (db2sysc 1)
    0x00007FFFF0BC7D93 _Z18hdrSendRedirectMsgP8HDR_DBCB + 0x05a3
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0BA9199 _ZN6hdrEdu7hdrEduPEbPm + 0x0db9
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0BB22BC _ZN6hdrEdu11hdrEduEntryEv + 0x0ddc
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0BB6A27 _ZN6hdrEdu6RunEDUEv + 0x0027
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF09E5CB7 _ZN9sqzEDUObj9EDUDriverEv + 0x00f7
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF017CC73 sqloEDUEntry + 0x0303
                    (/home/db2inst1/sqllib/lib64/libdb2e.so.1)
    0x00000038CC007AA1 address: 0x00000038CC007AA1 ; dladdress:
    0x00000038CC000000 ; offset in lib: 0x0000000000007AA1 ;
                    (/lib64/libpthread.so.0)
    0x00000038CBCE8BCD clone + 0x006d
                    (/lib64/libc.so.6)
    </StackTrace>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 4 Fixpack 4 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 4 Fixpack 4
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT26772

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-27

  • Closed date

    2018-11-27

  • Last modified date

    2018-11-27

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

    IT26445

  • 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

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

Document Information

Modified date:
27 November 2018