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 "Frederic Heem (JIRA)" <ji...@apache.org> on 2008/06/26 12:31:45 UTC

[jira] Created: (AXIS2C-1204) memory leak for In-Only message with no parameter

memory leak for In-Only message with no parameter
-------------------------------------------------

                 Key: AXIS2C-1204
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1204
             Project: Axis2-C
          Issue Type: Bug
          Components: core/receivers
    Affects Versions: 1.4.0
         Environment: linux fc5
            Reporter: Frederic Heem


Fro In-Only message with no parameter, memory is leaked for each invokation of the service:
==24947== 819 (280 direct, 539 indirect) bytes in 7 blocks are definitely lost in loss record 48 of 53
==24947==    at 0x4005858: malloc (vg_replace_malloc.c:207)
==24947==    by 0x402ABDD: axiom_node_create (om_node.c:75)
==24947==    by 0x402E8D7: axiom_element_create (om_element.c:78)
==24947==    by 0x4FA4874: ???
==24947==    by 0x409AC39: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:266)
==24947==    by 0x4099F33: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
==24947==    by 0x409A563: axis2_msg_recv_receive_impl (msg_recv.c:319)
==24947==    by 0x4099FB3: axis2_msg_recv_receive (msg_recv.c:431)
==24947==    by 0x408F638: axis2_engine_receive (engine.c:315)
==24947==    by 0x401978D: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:595)
==24947==    by 0x4016883: axis2_http_worker_process_request (http_worker.c:899)
==24947==    by 0x411DEE0: axis2_svr_thread_worker_func (http_svr_thread.c:259)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1204) memory leak for In-Only message with no parameter

Posted by "Frederic Heem (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608713#action_12608713 ] 

Frederic Heem commented on AXIS2C-1204:
---------------------------------------

Here is a snippet code of the wsdl used, note that the message NetworkLeaveRequest has not parameter, the operation NetworkLeave is an "In-Only"
message pattern.

  <wsdl:message name="NetworkLeaveRequest">
 <!--NO PARAMETER HERE-->
  </wsdl:message>

    <wsdl:operation name="NetworkLeave">
 <!--IN ONLY-->
      <wsdl:input message="tns:NetworkLeaveRequest" />
    </wsdl:operation>

    <wsdl:operation name="NetworkLeave">
      <soap:operation soapAction="NetworkLeave" style="document"/>
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
    </wsdl:operation>

> memory leak for In-Only message with no parameter
> -------------------------------------------------
>
>                 Key: AXIS2C-1204
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1204
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/receivers
>    Affects Versions: 1.4.0
>         Environment: linux fc5
>            Reporter: Frederic Heem
>            Assignee: Supun Kamburugamuva
>
> Fro In-Only message with no parameter, memory is leaked for each invokation of the service:
> ==24947== 819 (280 direct, 539 indirect) bytes in 7 blocks are definitely lost in loss record 48 of 53
> ==24947==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==24947==    by 0x402ABDD: axiom_node_create (om_node.c:75)
> ==24947==    by 0x402E8D7: axiom_element_create (om_element.c:78)
> ==24947==    by 0x4FA4874: ???
> ==24947==    by 0x409AC39: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:266)
> ==24947==    by 0x4099F33: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
> ==24947==    by 0x409A563: axis2_msg_recv_receive_impl (msg_recv.c:319)
> ==24947==    by 0x4099FB3: axis2_msg_recv_receive (msg_recv.c:431)
> ==24947==    by 0x408F638: axis2_engine_receive (engine.c:315)
> ==24947==    by 0x401978D: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:595)
> ==24947==    by 0x4016883: axis2_http_worker_process_request (http_worker.c:899)
> ==24947==    by 0x411DEE0: axis2_svr_thread_worker_func (http_svr_thread.c:259)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2C-1204) memory leak for In-Only message with no parameter

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva reassigned AXIS2C-1204:
-------------------------------------------

    Assignee: Supun Kamburugamuva

> memory leak for In-Only message with no parameter
> -------------------------------------------------
>
>                 Key: AXIS2C-1204
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1204
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/receivers
>    Affects Versions: 1.4.0
>         Environment: linux fc5
>            Reporter: Frederic Heem
>            Assignee: Supun Kamburugamuva
>
> Fro In-Only message with no parameter, memory is leaked for each invokation of the service:
> ==24947== 819 (280 direct, 539 indirect) bytes in 7 blocks are definitely lost in loss record 48 of 53
> ==24947==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==24947==    by 0x402ABDD: axiom_node_create (om_node.c:75)
> ==24947==    by 0x402E8D7: axiom_element_create (om_element.c:78)
> ==24947==    by 0x4FA4874: ???
> ==24947==    by 0x409AC39: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:266)
> ==24947==    by 0x4099F33: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
> ==24947==    by 0x409A563: axis2_msg_recv_receive_impl (msg_recv.c:319)
> ==24947==    by 0x4099FB3: axis2_msg_recv_receive (msg_recv.c:431)
> ==24947==    by 0x408F638: axis2_engine_receive (engine.c:315)
> ==24947==    by 0x401978D: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:595)
> ==24947==    by 0x4016883: axis2_http_worker_process_request (http_worker.c:899)
> ==24947==    by 0x411DEE0: axis2_svr_thread_worker_func (http_svr_thread.c:259)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1204) memory leak for In-Only message with no parameter

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609222#action_12609222 ] 

Supun Kamburugamuva commented on AXIS2C-1204:
---------------------------------------------

Can you please recheck because the resent fixes may have corrected the issue.

> memory leak for In-Only message with no parameter
> -------------------------------------------------
>
>                 Key: AXIS2C-1204
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1204
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/receivers
>    Affects Versions: 1.4.0
>         Environment: linux fc5
>            Reporter: Frederic Heem
>            Assignee: Supun Kamburugamuva
>
> Fro In-Only message with no parameter, memory is leaked for each invokation of the service:
> ==24947== 819 (280 direct, 539 indirect) bytes in 7 blocks are definitely lost in loss record 48 of 53
> ==24947==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==24947==    by 0x402ABDD: axiom_node_create (om_node.c:75)
> ==24947==    by 0x402E8D7: axiom_element_create (om_element.c:78)
> ==24947==    by 0x4FA4874: ???
> ==24947==    by 0x409AC39: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:266)
> ==24947==    by 0x4099F33: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
> ==24947==    by 0x409A563: axis2_msg_recv_receive_impl (msg_recv.c:319)
> ==24947==    by 0x4099FB3: axis2_msg_recv_receive (msg_recv.c:431)
> ==24947==    by 0x408F638: axis2_engine_receive (engine.c:315)
> ==24947==    by 0x401978D: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:595)
> ==24947==    by 0x4016883: axis2_http_worker_process_request (http_worker.c:899)
> ==24947==    by 0x411DEE0: axis2_svr_thread_worker_func (http_svr_thread.c:259)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1204) memory leak for In-Only message with no parameter

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609213#action_12609213 ] 

Supun Kamburugamuva commented on AXIS2C-1204:
---------------------------------------------

I have generated a service and a client and these are the messages. But I didn't get any memory errors.

Request:

POST /axis2/services/Calculator HTTP/1.1

User-Agent: Axis2C/1.4.0

SOAPAction: "Calculator#sub"

Content-Length: 157

Content-Type: text/xml;charset=UTF-8

Host: 127.0.0.1:9090



<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header></soapenv:Header>
   <soapenv:Body></soapenv:Body></soapenv:Envelope>

Response:

HTTP/1.1 202 Accepted

Date: Mon Jun 30 17:34:19 2008 GMT

Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server)



> memory leak for In-Only message with no parameter
> -------------------------------------------------
>
>                 Key: AXIS2C-1204
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1204
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/receivers
>    Affects Versions: 1.4.0
>         Environment: linux fc5
>            Reporter: Frederic Heem
>            Assignee: Supun Kamburugamuva
>
> Fro In-Only message with no parameter, memory is leaked for each invokation of the service:
> ==24947== 819 (280 direct, 539 indirect) bytes in 7 blocks are definitely lost in loss record 48 of 53
> ==24947==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==24947==    by 0x402ABDD: axiom_node_create (om_node.c:75)
> ==24947==    by 0x402E8D7: axiom_element_create (om_element.c:78)
> ==24947==    by 0x4FA4874: ???
> ==24947==    by 0x409AC39: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:266)
> ==24947==    by 0x4099F33: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
> ==24947==    by 0x409A563: axis2_msg_recv_receive_impl (msg_recv.c:319)
> ==24947==    by 0x4099FB3: axis2_msg_recv_receive (msg_recv.c:431)
> ==24947==    by 0x408F638: axis2_engine_receive (engine.c:315)
> ==24947==    by 0x401978D: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:595)
> ==24947==    by 0x4016883: axis2_http_worker_process_request (http_worker.c:899)
> ==24947==    by 0x411DEE0: axis2_svr_thread_worker_func (http_svr_thread.c:259)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2C-1204) memory leak for In-Only message with no parameter

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar updated AXIS2C-1204:
-------------------------------------

    Fix Version/s: 1.6.0

> memory leak for In-Only message with no parameter
> -------------------------------------------------
>
>                 Key: AXIS2C-1204
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1204
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/receivers
>    Affects Versions: 1.4.0
>         Environment: linux fc5
>            Reporter: Frederic Heem
>            Assignee: Supun Kamburugamuva
>             Fix For: 1.6.0
>
>
> Fro In-Only message with no parameter, memory is leaked for each invokation of the service:
> ==24947== 819 (280 direct, 539 indirect) bytes in 7 blocks are definitely lost in loss record 48 of 53
> ==24947==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==24947==    by 0x402ABDD: axiom_node_create (om_node.c:75)
> ==24947==    by 0x402E8D7: axiom_element_create (om_element.c:78)
> ==24947==    by 0x4FA4874: ???
> ==24947==    by 0x409AC39: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:266)
> ==24947==    by 0x4099F33: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
> ==24947==    by 0x409A563: axis2_msg_recv_receive_impl (msg_recv.c:319)
> ==24947==    by 0x4099FB3: axis2_msg_recv_receive (msg_recv.c:431)
> ==24947==    by 0x408F638: axis2_engine_receive (engine.c:315)
> ==24947==    by 0x401978D: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:595)
> ==24947==    by 0x4016883: axis2_http_worker_process_request (http_worker.c:899)
> ==24947==    by 0x411DEE0: axis2_svr_thread_worker_func (http_svr_thread.c:259)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2C-1204) memory leak for In-Only message with no parameter

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608670#action_12608670 ] 

Supun Kamburugamuva commented on AXIS2C-1204:
---------------------------------------------

Hi Fredric,

It is not clear to me what you said by "no parameter". Can you please elaborate on this and how can I reproduce this?

Supun..

> memory leak for In-Only message with no parameter
> -------------------------------------------------
>
>                 Key: AXIS2C-1204
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1204
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/receivers
>    Affects Versions: 1.4.0
>         Environment: linux fc5
>            Reporter: Frederic Heem
>
> Fro In-Only message with no parameter, memory is leaked for each invokation of the service:
> ==24947== 819 (280 direct, 539 indirect) bytes in 7 blocks are definitely lost in loss record 48 of 53
> ==24947==    at 0x4005858: malloc (vg_replace_malloc.c:207)
> ==24947==    by 0x402ABDD: axiom_node_create (om_node.c:75)
> ==24947==    by 0x402E8D7: axiom_element_create (om_element.c:78)
> ==24947==    by 0x4FA4874: ???
> ==24947==    by 0x409AC39: axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (raw_xml_in_out_msg_recv.c:266)
> ==24947==    by 0x4099F33: axis2_msg_recv_invoke_business_logic (msg_recv.c:392)
> ==24947==    by 0x409A563: axis2_msg_recv_receive_impl (msg_recv.c:319)
> ==24947==    by 0x4099FB3: axis2_msg_recv_receive (msg_recv.c:431)
> ==24947==    by 0x408F638: axis2_engine_receive (engine.c:315)
> ==24947==    by 0x401978D: axis2_http_transport_utils_process_http_post_request (http_transport_utils.c:595)
> ==24947==    by 0x4016883: axis2_http_worker_process_request (http_worker.c:899)
> ==24947==    by 0x411DEE0: axis2_svr_thread_worker_func (http_svr_thread.c:259)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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