[Bug 377] New: Errors when starting program

For more information about this bug, visit
A new bug was added:
Summary: Errors when starting program
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...

Since the new rtt-1.1.0 development release i get the following errors:

./test_template
0.011 [ ERROR ][./test_template::main()] Can not load Object RawImage: already
loaded in this TaskContext.
0.012 [ ERROR ][./test_template::main()] Can not load Object CaptureTimestamp:
already loaded in this TaskContext.
0.012 [ ERROR ][./test_template::main()] Can not load Object RawImage: already
loaded in this TaskContext.
0.013 [ ERROR ][./test_template::main()] Can not load Object Template: already
loaded in this TaskContext.
0.014 [ ERROR ][./test_template::main()] Can not load Object RawImage: already
loaded in this TaskContext.
0.014 [ ERROR ][./test_template::main()] Can not load Object ResultImage:
already loaded in this TaskContext.
0.015 [ ERROR ][./test_template::main()] Can not load Object XYPosition:
already loaded in this TaskContext.
0.015 [ ERROR ][./test_template::main()] Can not load Object
MatchingTimestamp: already loaded in this TaskContext.
0.016 [ ERROR ][./test_template::main()] Can not load Object CaptureTimestamp:
already loaded in this TaskContext.
0.016 [ ERROR ][./test_template::main()] Can not load Object Template: already
loaded in this TaskContext.
0.018 [ ERROR ][./test_template::main()] Can not load Object ResultImage:
already loaded in this TaskContext.
0.019 [ ERROR ][./test_template::main()] Can not load Object PositionBone:
already loaded in this TaskContext.
0.020 [ ERROR ][./test_template::main()] Can not load Object PositionBoneRaw:
already loaded in this TaskContext.
0.020 [ ERROR ][./test_template::main()] Can not load Object VelocityBone:
already loaded in this TaskContext.
0.021 [ ERROR ][./test_template::main()] Can not load Object XYPosition:
already loaded in this TaskContext.
0.021 [ ERROR ][./test_template::main()] Can not load Object
MatchingTimestamp: already loaded in this TaskContext.

Is there something changed?

Ruben

[Bug 377] Errors when starting program

For more information about this bug, visit

peter [dot] soetens [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Target Milestone|--- |1.2.0
Resolution| |FIXED
Status|NEW |RESOLVED

------- Comment #3 from peter [dot] soetens [..] ... 2007-04-26 11:31

$ svn ci -m "Fix for bug #377: Errors when starting program.
> Fixes double registration of data ports and a memleak."
Sending src/TaskContext.cpp
Transmitting file data .
Committed revision 6957.

Ruben Smits's picture

[Bug 377] Errors when starting program

For more information about this bug, visit
A comment was added:
------- Comment #2 from ruben [dot] smits [..] ... 2007-04-20 10:51

The subjects of the errors are all DataPorts but the program is working
correctly.

Ruben

[Bug 377] Errors when starting program

For more information about this bug, visit
A comment was added:
------- Comment #1 from peter [dot] soetens [..] ... 2007-04-20 10:44

(In reply to comment #0)
> Since the new rtt-1.1.0 development release i get the following errors:
>
> ./test_template
> 0.011 [ ERROR ][./test_template::main()] Can not load Object RawImage: already
> loaded in this TaskContext.

Could you provide some details ? is RawImage a dataport ? does the program
otherwise function correctly ? etc.

Peter