[Bug 1028] Type system broken on Mac OSX?

Ruben Smits <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]>
http://bugs.orocos.org/show_bug.cgi?id=1028

--- Comment #2 from Ruben Smits <[email protected]> 2013-05-15 16:35:15 CEST ---
After fixing the double ORO_main execution for the tests (it was a
RTT_COMPONENT_PATH issue) the list of failing tests shortened:
4 - task-test (Failed)

This fail is due to: 
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/taskthread_test.cpp:445:
error in "testThreadPID": check tid failed
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/taskthread_test.cpp:447:
error in "testThreadPID": check mpid failed
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/taskthread_test.cpp:448:
error in "testThreadPID": check mpid != tid failed [0 == 0]

This was expected, maybe this test should be switched of on OSX for now

7 - corba-ipc-test (Failed)

Probably due to not finding the NamingService although it is running

14 - service_port_test (Failed)

I've got no idea on how to solve this one. (I'm using Boost 1.53 and had to
disable the use of #include <boost/smart_ptr/enable_shared_from_this2.hpp> in
Service.hpp)

unknown location:0: fatal error in "testAddPortWithOwner": std::exception:
tr1::bad_weak_ptr
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/service_port_test.cpp:57:
last checkpoint
0.110 [ ERROR  ][Logger] addLocalEventPort ip: DataFlowInterface not part of a
TaskContext. Will not trigger any TaskContext nor register callback.
0.111 [ ERROR  ][Logger] addLocalEventPort ip: DataFlowInterface not part of a
TaskContext. Will not trigger any TaskContext nor register callback.
unknown location:0: fatal error in "testAddEventPortWithOwner": std::exception:
tr1::bad_weak_ptr
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/service_port_test.cpp:86:
last checkpoint
unknown location:0: fatal error in "testUsePortWithOwner": std::exception:
tr1::bad_weak_ptr
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/service_port_test.cpp:124:
last checkpoint


22 - types_test (Failed)
Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/types_test.cpp:561:
fatal error in "testTypes": Parse error at line 19: Fatal Semantic error: array
does not have member "size".
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/types_test.cpp:561:
fatal error in "testCharType": Parse error at line 2: Semantic error: Attempt
to initialize a var char with a char.
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/types_test.cpp:561:
fatal error in "testOperators": Parse error at line 3: Semantic error: Attempt
to initialize a var char with a char.
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/types_test.cpp:561:
fatal error in "testDotsAndIndexes": Parse error at line 2: No such constructor
found: matrix(int, array)
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/types_test.cpp:561:
fatal error in "testConversions": Parse error at line 3: Semantic error:
Attempt to initialize a var double with a float.
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/types_test.cpp:561:
fatal error in "testProperties": Parse error at line 9: Fatal Semantic error:
Illegal use of []: array[ int ].

25 - rtstring_test (Failed)

/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/rtstring_test.cpp:215:
fatal error in "testConcatRtstring": Parse error at line 9: Fatal Semantic
error: Cannot apply binary operation rt_string + char.

28 - enum_string_type_test (Failed)
0.098 [ ERROR  ][TinyDemarshaller] Could not load
enum_type_test_string_save.cpf Error: Error document empty.
0.098 [ ERROR  ][PropertyLoader::save] While updating TC : Failed to read
enum_type_test_string_save.cpf
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/enum_string_type_test.cpp:130:
error in "testEnumSaveStringProperties": check
pl.save("enum_type_test_string_save.cpf", true) failed
0.098 [ ERROR  ][TinyDemarshaller] Could not load
enum_type_test_string_save.cpf Error: Error document empty.
0.098 [ ERROR  ][PropertyLoader:load] Some error occured while parsing
enum_type_test_string_save.cpf
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/enum_string_type_test.cpp:136:
error in "testEnumSaveStringProperties": check
pl.load("enum_type_test_string_save.cpf") failed
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/enum_string_type_test.cpp:138:
error in "testEnumSaveStringProperties": check enum1 == A failed [1 != 0]
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/enum_string_type_test.cpp:139:
error in "testEnumSaveStringProperties": check enum2 == B failed [0 != 1]

29 - marshalling_test (Failed)
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/marshalling_test.cpp:82:
fatal error in "TestMarshallMatrix": critical check mx[0].size() == 5 failed [0
!= 5]
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/marshalling_test.cpp:144:
error in "TestMarshallStructBType": check at == atref failed [{ 3, 9.9, , < 3 3
3 99 3 >, ( 5 5 5 101 5 5 5 5 5 5 ) } != { 3, 9.9, hello, < 3 3 3 99 3 >, ( 5 5
5 101 5 5 5 5 5 5 ) }]

... and many similar to the above

30 - property_loader_test (Failed)
0.097 [ ERROR  ][PropertyLoader::save] SequenceTypeInfo: Invalid index : 0:int
0.098 [ ERROR  ][PropertyLoader::save] SequenceTypeInfo: Invalid index : 1:int
0.098 [ ERROR  ][PropertyLoader::save] SequenceTypeInfo: Invalid index : 2:int
0.098 [ ERROR  ][PropertyLoader::save] SequenceTypeInfo: Invalid index : 0:int
0.098 [ ERROR  ][PropertyLoader::save] SequenceTypeInfo: Invalid index : 1:int
0.098 [ ERROR  ][PropertyLoader::save] SequenceTypeInfo: Invalid index : 2:int
0.099 [ ERROR  ][PropertyLoader:configure] The type 'array' did not provide a
type composition function, but I need one to compose it from a PropertyBag.
0.099 [ ERROR  ][PropertyLoader:configure] The type 'array' did not provide a
type composition function, but I need one to compose it from a PropertyBag.
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/property_loader_test.cpp:69:
error in "testPropSaveLoad": check pl.configure(filename, true) failed
0.100 [ ERROR  ][PropertyLoader:configure] The type 'array' did not provide a
type composition function, but I need one to compose it from a PropertyBag.
0.100 [ ERROR  ][PropertyLoader:configure] The type 'array' did not provide a
type composition function, but I need one to compose it from a PropertyBag.
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/property_loader_test.cpp:78:
error in "testPropSaveLoad": check pl.configure(filename, false) failed

... and similar

31 - property_marsh_test (Failed)
similar to the above

32 - property_test (Failed)
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/property_test.cpp:292:
error in "testRepository": Failed composition for type array
0.106 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 0:int
0.106 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 1:int
...

33 - property_composition_test (Failed)
0.104 [ ERROR  ][Logger] decomposePropertyBag: target bag must be empty.
0.105 [ ERROR  ][Logger] composePropertyBag: target bag must be empty.
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 0:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 1:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 2:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 3:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 4:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 5:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 6:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 7:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 8:int
0.105 [ ERROR  ][Logger] SequenceTypeInfo: Invalid index : 9:int
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/property_composition_test.cpp:99:
error in "testDecomposeComposeVector": check decomposed.value().size() ==
pv.value().size() failed [0 != 10]
0.105 [ ERROR  ][Logger] The type 'array' did not provide a type composition
function, but I need one to compose it from a PropertyBag.
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/property_composition_test.cpp:101:
error in "testDecomposeComposeVector": check composePropertyBag(target, result)
failed
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/property_composition_test.cpp:105:
fatal error in "testDecomposeComposeVector": critical check pr.ready() failed


36 - type_discovery_container_test (Failed)

0.107 [ ERROR  ][Logger] CArrayTypeInfo: No such part (or invalid index): zort
0.107 [ ERROR  ][Logger] SequenceTypeInfo: No such member : zort
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/type_discovery_container_test.cpp:181:
fatal error in "testStringContainerType": critical check a0 failed

38 - typekit_test (Failed)
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/typekit_test.cpp:77:
error in "testComposeDecompose": Decomposition/Composition of char failed!
/Users/rubensmits/orocos_homebrew/src/orocos_toolchain/rtt/tests/typekit_test.cpp:77:
error in "testComposeDecompose": Decomposition/Composition of float failed!

-- 
Configure bugmail: http://bugs.orocos.org/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.
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.