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 "Steve Leland (JIRA)" <ji...@apache.org> on 2013/03/10 23:13:12 UTC
[jira] [Comment Edited] (AXIS2C-1584) Asynchronous call crashes and
memory leaks
[ https://issues.apache.org/jira/browse/AXIS2C-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598410#comment-13598410 ]
Steve Leland edited comment on AXIS2C-1584 at 3/10/13 10:11 PM:
----------------------------------------------------------------
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 below to the echo_non_blocking sample program does work when the loop 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?
was (Author: stevel):
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