You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/01/27 06:39:32 UTC

[jira] Created: (AXIS2C-38) Server crashes on first request if service.xml is present but if the service so(dll) is missing

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

         Key: AXIS2C-38
         URL: http://issues.apache.org/jira/browse/AXIS2C-38
     Project: Axis2-C
        Type: Bug
  Components: core/deployment  
    Versions: Current (Nightly)    
    Reporter: Samisa Abeysinghe


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXIS2C-38) Server crashes on first request if service.xml is present but if the service so(dll) is missing

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-38?page=all ]
     
Samisa Abeysinghe closed AXIS2C-38:
-----------------------------------

    Fix Version: M0.3
     Resolution: Fixed

Part of the problem was fixed by Sahan at transport level. I fixed the message receiver to ensure it returns a SOAP fault. Now the problem is gone and it works fine

> Server crashes on first request if service.xml is present but if the service so(dll) is missing
> -----------------------------------------------------------------------------------------------
>
>          Key: AXIS2C-38
>          URL: http://issues.apache.org/jira/browse/AXIS2C-38
>      Project: Axis2-C
>         Type: Bug
>   Components: core/deployment
>     Versions: Current (Nightly)
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: M0.3

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS2C-38) Server crashes on first request if service.xml is present but if the service so(dll) is missing

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-38?page=all ]

Samisa Abeysinghe reassigned AXIS2C-38:
---------------------------------------

    Assign To: Samisa Abeysinghe

> Server crashes on first request if service.xml is present but if the service so(dll) is missing
> -----------------------------------------------------------------------------------------------
>
>          Key: AXIS2C-38
>          URL: http://issues.apache.org/jira/browse/AXIS2C-38
>      Project: Axis2-C
>         Type: Bug
>   Components: core/deployment
>     Versions: Current (Nightly)
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira