Incorrect XML crashes the aviary query server in MRG Grid 2.0

Solution Verified - Updated -

Issue

  • Malformed XML crashes the aviary query server
  • The crash will produce a stack trace in the QueryServerLog such as:
11/13/12 13:38:21 Setting maximum accepts per cycle 8.
11/13/12 13:38:21 main_init() called
11/13/12 13:38:21 UNSECURE Axis2 HTTP listener activated on port 9091
Stack dump for process 13182 at timestamp 1352831911 (21 frames)
aviary_query_server(dprintf_dump_stack+0x63)[0x4d7fe3]
aviary_query_server[0x510c12]
/lib64/libpthread.so.0[0x3571e0f490]
/usr/lib64/libwso2_wsf.so.0(_ZN7wso2wsf6OMNode12getAxiomNodeEv+0x0)[0x3de2014710]
/var/lib/condor/aviary/services/query/libaviary_query_axis.so(_ZN18AviaryQueryService6invokeEPN7wso2wsf9OMElementEPNS0_14MessageContextE+0x18)[0x7f86e0b47b68]
/usr/lib64/libwsf_cpp_msg_recv.so.0(+0x2a2f)[0x7f86e105fa2f]
/usr/lib64/libaxis2_engine.so.0[0x3de2832581]
/usr/lib64/libaxis2_engine.so.0(axis2_engine_receive+0x246)[0x3de2828b16]
/usr/lib64/libaxis2_engine.so.0(axis2_http_transport_utils_process_http_post_request+0x6d7)[0x3de2857ac7]
/usr/lib64/libaxis2_http_common.so.0(axis2_http_worker_process_request+0x1a64)[0x3de1c0e024]
aviary_query_server(_ZN6aviary4soap17Axis2SoapProvider12invokeWorkerEP15axutil_thread_tPv+0xa8)[0x45b0f8]
aviary_query_server(_ZN6aviary4soap17Axis2SoapProvider14processRequestERSs+0x78)[0x45b638]
aviary_query_server(_Z21HandleTransportSocketP7ServiceP6Stream+0x26)[0x45abc6]
aviary_query_server(_ZN10DaemonCore24CallSocketHandler_workerEibP6Stream+0x285)[0x482755]
aviary_query_server(_ZN10DaemonCore35CallSocketHandler_worker_demarshallEPv+0x1a)[0x482c4a]
aviary_query_server(_ZN13CondorThreads8pool_addEPFvPvES0_PiPKc+0x40)[0x50e810]
aviary_query_server(_ZN10DaemonCore17CallSocketHandlerERib+0x135)[0x4786e5]
aviary_query_server(_ZN10DaemonCore6DriverEv+0x2012)[0x47d3b2]
aviary_query_server(main+0x116b)[0x46bc5b]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x357161ecdd]
aviary_query_server[0x45a3e9]

Environment

  • Red Hat Enterprise MRG Grid 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content