IBM Support

IT30783: A SEGMENTATION FAULT (CORE DUMPED) CAN OCCUR WHEN RUNNING DB2HAICU WITH AN XML INPUT FILE.

Subscribe

You can track all active APARs for this component.

 

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.5 FP1                                      *
    ****************************************************************
    

Problem conclusion

  • Upgrade to Db2 11.5 FP1
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30783

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-31

  • Closed date

    2019-10-31

  • Last modified date

    2019-11-04

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

    IT28506

  • 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

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

Document Information

Modified date:
17 December 2021