IBM Support

IT30008: XML QUERY ERRORS ON AIX PLATFORM

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

  • On the AIX platform certain queries that raise an error during
    parsing of the XML document or XPATH string may result in an
    assert failure and an error being returned. Furthermore
    subsequent XML queries that are valid may then return an error
    which persist until the database server is restarted.
    
    An example query that has invalid syntax :
    
      select
    
    extractvalue("<a><nd11><nd21><nd31>AAA_A2</nd31><nd32>1.2345</nd
    32><nd33>N</nd33></nd21><nd21><nd31>BBB_B1</nd31><nd32>-1.098050
    </nd32><nd33>Y</nd33></nd21><nd21><nd31>CCC_C3</nd31><nd32>12.00
    09</nd32><nd33>X</nd33></nd21></nd11></a>",
        '(1//nd11/nd21/nd31)[2]')
      from systables where tabid=1;
    
    This should result in error 8351 "Function (extractvalue)
    Invalid input XML document or input XPATH string" however a
    general exception error such as 9791 "User Defined Routine
    (extractvalue) execution failed" may be returned instead with an
    assert failure message appearing in the database server's
    message log. The AF file shows a stack similar to:
    
    (oninit)afhandler
    (oninit)affail_interface
    (oninit)mt_ex_throw_sig@AF11_4
    (oninit)afsig_handler
    (*nosymtab*)0x900000000e5f904
    (*nosymtab*)0x900000000e5fa38
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPathExecutionContextDefau
    lt::error
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::findNodesOnUnknownA
    xis
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::step
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::executeMore
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::executeMore
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::findNodeSet
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::step
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::locationPath
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::executeMore
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPath::execute
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPathEvaluator::evaluate
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPathEvaluator::evaluate
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPathEvaluator::evaluate
    (.10.FC13/lib/libxml.udr)xslt4c_1_10::XPathEvaluator::selectNode
    List
    (.10.FC13/lib/libxml.udr)xmlextractvalue
    (oninit)udrlm_clang_execute_internal
    (oninit)udrlm_clang_execute
    (oninit)udrlm_exec_routine
    (oninit)udr_execute
    (oninit)ev_udr
    (oninit)new_eval
    (oninit)evalcols
    (oninit)getrow
    (oninit)fetchrow
    (oninit)exfetch
    (oninit)sql_nfetch
    (oninit)sq_nfetch
    (oninit)sqmain
    
    After this error subsequent valid XML queries fail with error
    8354 "Function (extractvalue) Exception received for ICU memory
    allocation."
    

Local fix

  • An alternative to restarting the database server may be to stop
    and start the idsxmlvp VPs using the onmode -p command.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of IDS 12.10.xC13.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * On the AIX platform certain queries that raise an error      *
    * during                                                       *
    * parsing of the XML document or XPATH string may result in an *
    * assert failure and an error being returned. Furthermore      *
    * subsequent XML queries that are valid may then return an     *
    * error                                                        *
    * which persist until the database server is restarted.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in IDS 12.10.xC14.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30008

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-15

  • Closed date

    2019-09-19

  • Last modified date

    2019-09-19

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

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

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 September 2019