Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-38

Server crashes on first request if service.xml is present but if the service so(dll) is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • M0.3
    • core/deployment
    • None

    Description

      We should be throwing a SOAP error here to the client. But instead, transport sender get a NULL SOAP envelope and it crashes.

      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread -1208367424 (LWP 26201)]
      0x0099fc8f in axis2_http_transport_sender_invoke (transport_sender=0x9fad820, env=0xbf8ba584, msg_ctx=0x9ff0dd8)
      at http_transport_sender.c:257
      257 AXIS2_SOAP_ENVELOPE_SERIALIZE (soap_data_out, env, om_output,
      (gdb) bt
      #0 0x0099fc8f in axis2_http_transport_sender_invoke (transport_sender=0x9fad820, env=0xbf8ba584, msg_ctx=0x9ff0dd8)
      at http_transport_sender.c:257
      #1 0x003130af in axis2_engine_send (engine=0x9ff1290, env=0xbf8ba584, msg_ctx=0x9ff0dd8) at engine.c:220
      #2 0x00c9673c in axis2_raw_xml_in_out_msg_recv_receive (msg_recv=0x9fbe5f0, env=0xbf8ba584, msg_ctx=0x9fe9740)
      at raw_xml_in_out_msg_recv.c:289
      #3 0x00313604 in axis2_engine_receive (engine=0x9ff0258, env=0xbf8ba584, msg_ctx=0x9fe9740) at engine.c:326
      #4 0x0053f6bd in axis2_http_transport_utils_process_http_post_request (env=0xbf8ba584, msg_ctx=0x9fe9740,
      in_stream=0x9fe91b8, out_stream=0x9fe94e8, content_type=0x9fe6f78 "application/soap+xml;", content_length=204,
      soap_action_header=0x0, request_uri=0x9fe6fb0 "/axis2/services/echo/echo") at http_transport_utils.c:270
      #5 0x0053e545 in axis2_http_worker_process_request (http_worker=0x9fe7068, env=0xbf8ba584, svr_conn=0x9fe6dc0,
      simple_request=0x9fe7bb0) at http_worker.c:272
      #6 0x0012b365 in axis2_http_svr_thread_run (svr_thread=0x9fe6f08, env=0xbf8ba584) at http_svr_thread.c:176
      #7 0x0012c1ff in axis2_http_server_start (server=0x9f8f078, env=0xbf8ba584) at http_server.c:191
      #8 0x08048c92 in main (argc=3, argv=0xbf8ba624) at http_server_main.c:112

      Attachments

        Activity

          People

            samisa Don Samisa Abeysinghe
            samisa Don Samisa Abeysinghe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: