axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Leland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2C-1584) Asynchronous call crashes and memory leaks
Date Sun, 10 Mar 2013 22:11:13 GMT

    [ https://issues.apache.org/jira/browse/AXIS2C-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598410#comment-13598410
] 

Steve Leland commented on AXIS2C-1584:
--------------------------------------

The test case in calculaterFinal has a loop sending 2 requests via axis2_svc_client_send_receive_non_blocking.
 I can't get that test case to work - whether sending 1 request or more.  I'm using unpatched
Axis2c1.6.0.  

This modification to the echo_non_blocking sample program does work when the loop below is
set to make 1 request, but fails as is making 2 requests:
   for (int numMessagesToSend=0; numMessagesToSend<2; numMessagesToSend++){
	/* Build the SOAP request message payload using OM API. */
	payload = build_om_payload_for_echo_svc(env);
	/* Send request */
	axis2_svc_client_send_receive_non_blocking(svc_client, env, payload, callback);
   }
There's more to building a valid test for this crash.  Any idea what else is needed?
                
> Asynchronous call crashes and memory leaks
> ------------------------------------------
>
>                 Key: AXIS2C-1584
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1584
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 1.6.0
>         Environment: Ubuntu Linux
>            Reporter: Alex Mantaut
>            Assignee: Nandika Jayawardana
>              Labels: asynchronous, memory_leak, non-blocking
>             Fix For: Next Version
>
>         Attachments: axis_async.patch, calculatorFinal.tar.gz
>
>
> 1. Fix crash when a non-blocking call results in a timeout.
> 2. Implements an incremental ref system on callbacks to avoid a big memory leak.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message