Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 92393 invoked from network); 28 Sep 2006 10:52:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 10:52:16 -0000 Received: (qmail 28022 invoked by uid 500); 28 Sep 2006 10:52:16 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 27999 invoked by uid 500); 28 Sep 2006 10:52:15 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 27987 invoked by uid 99); 28 Sep 2006 10:52:15 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 03:52:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:45577] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 7A/5F-05478-E49AB154 for ; Thu, 28 Sep 2006 03:51:59 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6916D7141D1 for ; Thu, 28 Sep 2006 10:47:50 +0000 (GMT) Message-ID: <19501107.1159440470418.JavaMail.jira@brutus> Date: Thu, 28 Sep 2006 03:47:50 -0700 (PDT) From: "manjula peiris (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXIS2C-307) when sandesha2/c rm_echo client is exexuting axis2/c simple axis server crashes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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