IBM Support

IT28506: IN DB2 V11.1.4.4, A SEGMENTATION FAULT (CORE DUMPED) CAN OCCUR WHEN RUNNING DB2HAICU WITH AN XML INPUT FILE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A segmentation fault (core dumped) can occur when running
    db2haicu with an XML input file, if quorum element is not as per
    the expected format,
    ie. <Quorum quorumDeviceProtocol=?<deviceprotocol>?
    quorumDeviceName=?<devicedetails>?/>
    
    
    Here is the sample stacktrace:
    
    (gdb) bt
    #0 0x00007f23fe40d477 in __strcasecmp_l_avx () from
    /lib64/libc.so.6
    #1 0x00000000005170d1 in
    SqlhaDocumentHandler::handleStartElement(char const*, char
    const*, char const*, XmlrpAttributes const&) ()
    #2 0x00007f24112884d6 in
    XmlrpDocumentHandlerAdapter::dhStartElement(unsigned int,
    unsigned short const*, unsigned short const*,
    xml4c_5_8::RefVectorOf<xml4c_5_8::XMLAttr> const&, unsigned int,
    xml4c_5_8::SchemaElementDecl const*, XmlrpElementPSVIAdapter*,
    bool) () from /home/db2eas/sqllib/lib64/libdb2xmrp.so.1
    #3 0x00007f241128734b in
    XmlrpDocumentHandlerAdapter::startElement(xml4c_5_8::XMLElementD
    ecl const&, unsigned int, unsigned short const*,
    xml4c_5_8::RefVectorOf<xml4c_5_8::XMLAttr> const&, unsigned int,
    bool, bool) () from /home/db2eas/sqllib/lib64/libdb2xmrp.so.1
    #4 0x00007f23fd66ba0d in
    xml4c_5_8::IGXMLScanner::scanStartTagNS(bool&) () from
    /home/db2eas/sqllib/lib64/libDB2xml4c.so.58
    #5 0x00007f23fd668d69 in xml4c_5_8::IGXMLScanner::scanContent()
    () from /home/db2eas/sqllib/lib64/libDB2xml4c.so.58
    #6 0x00007f23fd668ab8 in
    xml4c_5_8::IGXMLScanner::scanDocument(xml4c_5_8::InputSource
    const&) () from /home/db2eas/sqllib/lib64/libDB2xml4c.so.58
    #7 0x00007f2411293d25 in
    XmlrpParserScanner::scanDocument(XmlrpInputSource&) () from
    /home/db2eas/sqllib/lib64/libdb2xmrp.so.1
    #8 0x000000000050bf05 in sqlhaReadPolicyXMLFile(char const*,
    sqlhaPolicyXML*) ()
    #9 0x000000000050a791 in SqlhaLDM::buildFromXML(char*) ()
    #10 0x000000000042ce19 in main ()
    (gdb)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1.4.5                                      *
    ****************************************************************
    

Problem conclusion

  • Upgrade to Db2 11.1.4.5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT28506

  • 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

    2019-03-18

  • Closed date

    2019-10-31

  • Last modified date

    2019-10-31

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

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

    IT30783

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"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:
31 October 2019