axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manjula peiris (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-307) when sandesha2/c rm_echo client is exexuting axis2/c simple axis server crashes.
Date Thu, 28 Sep 2006 10:47:50 GMT
when sandesha2/c rm_echo client is exexuting axis2/c simple axis server crashes.
--------------------------------------------------------------------------------

                 Key: AXIS2C-307
                 URL: http://issues.apache.org/jira/browse/AXIS2C-307
             Project: Axis2-C
          Issue Type: Bug
            Reporter: manjula peiris


when sandesha2/c rm_echo client is exexuting axis2/c simple axis server crashes. The back
trace ,

Breakpoint 2, sandesha2_terminate_seq_msg_processor_setup_highest_msg_nums (msg_processor=0x80f4138,
env=0x80dabf0, conf_ctx=0x80a9330,
    storage_man=0x80b0688, seq_id=0x80f3ea0 "29f7a162-4edc-1db1-3015-0015c53de2e5", rm_msg_ctx=0x80f3700)
    at terminate_seq_msg_processor.c:312
312             highest_out_msg = AXIS2_OP_CTX_GET_MSG_CTX(AXIS2_MSG_CTX_GET_OP_CTX(
(gdb) s

Program received signal SIGSEGV, Segmentation fault.
0x8b2cec83 in ?? ()
(gdb) bt
#0  0x8b2cec83 in ?? ()
#1  0xa7a84c3d in sandesha2_terminate_seq_msg_processor_setup_highest_msg_nums (msg_processor=0x80f4138,
env=0x80dabf0,
    conf_ctx=0x80a9330, storage_man=0x80b0688, seq_id=0x80f3ea0 "29f7a162-4edc-1db1-3015-0015c53de2e5",
rm_msg_ctx=0x80f3700)
    at terminate_seq_msg_processor.c:312
#2  0xa7a85497 in sandesha2_terminate_seq_msg_processor_process_in_msg (msg_processor=0x80f4138,
env=0x80dabf0, rm_msg_ctx=0x80f3700)
    at terminate_seq_msg_processor.c:241
#3  0xa7a7c49a in sandesha2_in_handler_invoke (handler=0x80836b8, env=0x80dabf0, msg_ctx=0x80da528)
at sandesha2_in_handler.c:226
#4  0xa7e9f3c3 in axis2_phase_invoke (phase=0x80f2a98, env=0x80dabf0, msg_ctx=0x80da528) at
phase.c:360
#5  0xa7ea2b51 in axis2_engine_invoke_phases (engine=0x80eff30, env=0x80dabf0, phases=0x80f16f8,
msg_ctx=0x80da528) at engine.c:765
#6  0xa7ea3d4a in axis2_engine_receive (engine=0x80eff30, env=0x80dabf0, msg_ctx=0x80da528)
at engine.c:409
#7  0xa7ecf198 in axis2_http_transport_utils_process_http_post_request (env=0x80dabf0, msg_ctx=0x80da528,
in_stream=0x8093b00,
    out_stream=0x80e0e10,
    content_type=0x80dc2f0 "application/soap+xml;charset=UTF-8;action=http://schemas.xmlsoap.org/ws/2005/02/rm/TerminateSequence;",
    content_length=628, soap_action_header=0x0, request_uri=0x80d9dc0 "http://127.0.0.1:9999/axis2/services/rm_echo")
    at http_transport_utils.c:467
#8  0xa7ece2e9 in axis2_http_worker_process_request (http_worker=0x80a97c8, env=0x80dabf0,
svr_conn=0x80dc0d8, simple_request=0x8076b08)
    at http_worker.c:342
#9  0xa7e49ff1 in worker_func (thd=0x80a90b8, data=0x80dc210) at http_svr_thread.c:335
#10 0xa7f0e756 in dummy_worker (opaque=0xa7a775e0) at thread_unix.c:84
#11 0xa7e70ced in start_thread () from /lib/tls/libpthread.so.0
#12 0xa7d36dee in clone () from /lib/tls/libc.so.6

This can be fixed by commenting the AXIS2_MSG_CTX_FREE(msg_ctx, env) function in http_worker.c.
The applied patch is,
@@ -419,7 +419,7 @@
     status = AXIS2_SIMPLE_HTTP_SVR_CONN_WRITE_RESPONSE(svr_conn, env, response);
     AXIS2_FREE(env->allocator, url_external_form);
     url_external_form = NULL;
-    AXIS2_MSG_CTX_FREE(msg_ctx, env);
+/*  AXIS2_MSG_CTX_FREE(msg_ctx, env);*/
     msg_ctx = NULL;
     AXIS2_URL_FREE(request_url, env);
     request_url = NULL;

This patch prevent server from crashing but will not give the desired results.






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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message