You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2006/10/11 02:36:22 UTC
[jira] Created: (TUSCANY-821) Memory violation in Calculator Web
Service
Memory violation in Calculator Web Service
------------------------------------------
Key: TUSCANY-821
URL: http://issues.apache.org/jira/browse/TUSCANY-821
Project: Tuscany
Issue Type: Bug
Components: C++ SCA
Affects Versions: Cpp-M2
Reporter: Jean-Sebastien Delfino
Assigned To: Jean-Sebastien Delfino
Fix For: Cpp-M2
This is probably caused by the changes to how Operation works and handles parameters and return values, but the fact that WSServiceProxy.setOutputData takes an Operation instead of an Operation& causes a memory viloation. The returnValue is not passed along when Operation is copied on the stack.
I am changing setOutputData to take an Operation& instead, which is better anyway.
This change fixes the memory violation.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-821) Memory violation in Calculator Web
Service
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-821?page=comments#action_12441377 ]
Pete Robbins commented on TUSCANY-821:
--------------------------------------
Yes... I forgot to copy the return value when it is not a DataObjectPtr! Fix on it's way.
> Memory violation in Calculator Web Service
> ------------------------------------------
>
> Key: TUSCANY-821
> URL: http://issues.apache.org/jira/browse/TUSCANY-821
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SCA
> Affects Versions: Cpp-M2
> Reporter: Jean-Sebastien Delfino
> Assigned To: Jean-Sebastien Delfino
> Fix For: Cpp-M2
>
>
> This is probably caused by the changes to how Operation works and handles parameters and return values, but the fact that WSServiceProxy.setOutputData takes an Operation instead of an Operation& causes a memory viloation. The returnValue is not passed along when Operation is copied on the stack.
> I am changing setOutputData to take an Operation& instead, which is better anyway.
> This change fixes the memory violation.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-821) Memory violation in Calculator Web
Service
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-821?page=all ]
Pete Robbins resolved TUSCANY-821.
----------------------------------
Fix Version/s: Cpp-current
(was: Cpp-M2)
Resolution: Fixed
> Memory violation in Calculator Web Service
> ------------------------------------------
>
> Key: TUSCANY-821
> URL: http://issues.apache.org/jira/browse/TUSCANY-821
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SCA
> Affects Versions: Cpp-M2
> Reporter: Jean-Sebastien Delfino
> Assigned To: Jean-Sebastien Delfino
> Fix For: Cpp-current
>
>
> This is probably caused by the changes to how Operation works and handles parameters and return values, but the fact that WSServiceProxy.setOutputData takes an Operation instead of an Operation& causes a memory viloation. The returnValue is not passed along when Operation is copied on the stack.
> I am changing setOutputData to take an Operation& instead, which is better anyway.
> This change fixes the memory violation.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org