axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-41) Simple axis server seg faults if I send a SOAP message with an empty body from client
Date Sat, 28 Jan 2006 03:16:08 GMT
Simple axis server seg faults if I send a SOAP message with an empty body from client
-------------------------------------------------------------------------------------

         Key: AXIS2C-41
         URL: http://issues.apache.org/jira/browse/AXIS2C-41
     Project: Axis2-C
        Type: Bug
  Components: xml/soap  
    Versions: Current (Nightly)    
    Reporter: Samisa Abeysinghe
    Priority: Critical
     Fix For: M0.3


The soap message I sent is:

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
</soapenv:Body>
</soapenv:Envelope>

For me this is a valid SOAP message, and even if it is invalid the server is not supposed
to crash.
But it crashes due to a problem in SOAP module. 

gdb trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208109376 (LWP 26976)]
0x00323ef5 in axis2_soap_body_has_fault (body=0x8f5c418, env=0xbf8f86e4) at soap_body.c:246
246                 localname = AXIS2_OM_ELEMENT_GET_LOCALNAME(fault_ele, env);
(gdb) bt
#0  0x00323ef5 in axis2_soap_body_has_fault (body=0x8f5c418, env=0xbf8f86e4) at soap_body.c:246
#1  0x00432684 in axis2_http_transport_utils_process_http_post_request (env=0xbf8f86e4, msg_ctx=0x8f55438,
    in_stream=0x8f54c38, out_stream=0x8f550c8, content_type=0x8f54ee0 "application/soap+xml;",
content_length=165,
    soap_action_header=0x0, request_uri=0x8f54e80 "/axis2/services/math/sub") at http_transport_utils.c:264
#2  0x00431545 in axis2_http_worker_process_request (http_worker=0x8f54c00, env=0xbf8f86e4,
svr_conn=0x8f54c20,
    simple_request=0x8f54ec8) at http_worker.c:272
#3  0x00154365 in axis2_http_svr_thread_run (svr_thread=0x8f54bc8, env=0xbf8f86e4) at http_svr_thread.c:176
#4  0x001551ff in axis2_http_server_start (server=0x8efb078, env=0xbf8f86e4) at http_server.c:191
#5  0x08048ca6 in main (argc=3, argv=0xbf8f8784) at http_server_main.c:112
(gdb)    

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


Mime
View raw message