[prev in list] [next in list] [prev in thread] [next in thread] 

List:       orocos-dev
Subject:    [Orocos-Dev] [Bug 447] Several crashes using ctaskbrowser (CORBA)
From:       peter.soetens () fmtc ! be (Peter Soetens)
Date:       2007-09-10 18:32:47
Message-ID: 200709101632.l8AGWdne020476 () pc00121 ! site04 ! wtcm ! be
[Download RAW message or body]

For more infomation about this bug, visit \
<https://svn.fmtc.be/bugzilla/orocos/show_bug.cgi?id=447>



--- Comment #1 from Peter Soetens <peter.soetens@fmtc.be>  2007-09-10 18:32:39 ---
Applied to trunk, backporting it to rtt-1.2 and rtt-1.4 branches

$ svn diff
Index: src/corba/ControlTaskProxy.cpp
===================================================================
--- src/corba/ControlTaskProxy.cpp      (revision 28548)
+++ src/corba/ControlTaskProxy.cpp      (working copy)
@@ -147,7 +147,7 @@
     }

     ControlTaskProxy::ControlTaskProxy( ::RTT::Corba::ControlTask_ptr taskc)
-        : TaskContext("CORBAProxy"), mtask( taskc )
+        : TaskContext("CORBAProxy"), mtask(
Corba::ControlTask::_duplicate(taskc) )
     {
         try {
             CORBA::String_var nm = mtask->getName(); // force connect to
object.
sspr@lt00129:~/src/Orocos/trunk/rtt
$ svn ci -m"Fix for bug #447: Several crashes using ctaskbrowser (CORBA):
> fix CORBA memory management in proxies."
Sending        rtt/src/corba/ControlTaskProxy.cpp
Transmitting file data .
Committed revision 28549.

Second patch:

$ svn ci -m"Fix for bug 447: Several crashes using ctaskbrowser (CORBA):
> Invert the proxy <-> object reference lookup of the proxies cache, seems to fix \
> ControlTaskProxy::Create() method (magic fix)."
Sending        rtt/src/corba/ControlTaskProxy.cpp
Sending        rtt/src/corba/ControlTaskProxy.hpp
Sending        rtt/src/corba/ControlTaskServer.cpp
Transmitting file data ...
Committed revision 28550.

-- 
Configure bugmail: https://svn.fmtc.be/bugzilla/orocos/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic