[wsf-c-dev] [jira] Resolved: (WSFPHP-99)
ping_client_rm_multiple_messages.php client segfaults
Manjula Peiris (JIRA)
jira at wso2.org
Thu Oct 18 23:26:22 PDT 2007
[ http://www.wso2.org/jira/browse/WSFPHP-99?page=all ]
Manjula Peiris resolved WSFPHP-99.
----------------------------------
Resolution: Fixed
Assignee: Manjula Peiris
When sending multiple messages the same svc_client is reused. But a new op_client is created every time and when creating the new one the old one is freed. When freeing the op_client the op_context also freed. But during the first invocation sandesha stores the msg_ctx and after retrieving this msg_ctx it does not have access to the op_ctx. So I add a ref count to the op_ctx to resolve this issue. The ref count of op_ctx is incremented before storing the msg_ctx and it will be decremented when ever try to free. It should be freed when the ref count is 0. Due to this fix a memory leak will occur and we need to fix that by tracking the msg_ctx to which op_ctx belonged and adding some functionality to free it when that msg_ctx is not in use.
> ping_client_rm_multiple_messages.php client segfaults
> -----------------------------------------------------
>
> Key: WSFPHP-99
> URL: http://www.wso2.org/jira/browse/WSFPHP-99
> Project: WSO2 WSF/PHP
> Issue Type: Bug
> Components: WS-RM Support
> Environment: Linux
> Reporter: Nandika Jayawardana
> Assigned To: Manjula Peiris
>
> ping_client_rm_multiple_messages.php client segfaults on linux
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsf-c-dev
mailing list