[Bug 862] New: State machine tests fail to complete on Mac OS X

http://bugs.orocos.org/show_bug.cgi?id=862

Summary: State machine tests fail to complete on Mac OS X
Product: Toolchain
Version: 2.3.0
Platform: All
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Works fine on Ubuntu Lucid.

Mac OS X 10.6.7, boost 1.46, RTT toolchain

State machine tests complete, but fails to unload the state machine.

[Bug 862] State machine tests fail to complete on Mac OS X

http://bugs.orocos.org/show_bug.cgi?id=862

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...

--- Comment #2 from Peter Soetens <peter [..] ...> 2011-05-20 12:20:01 CEST ---
(In reply to comment #0)
> Works fine on Ubuntu Lucid.

You mean, with ORO_OS_USE_BOOST_THREAD = ON ? I did so and indeed it works on
Linux. So maybe the real bug is in the fosi layer of os-x.

>
> Mac OS X 10.6.7, boost 1.46, RTT toolchain
>
> State machine tests complete, but fails to unload the state machine.

I had to apply this to make it work on Linux:

--- a/rtt/CMakeLists.txt
+++ b/rtt/CMakeLists.txt
@@ -31,11 +31,6 @@ if (ORO_OS_USE_BOOST_THREAD)
LIST(APPEND OROCOS-RTT_LIBRARIES
${Boost_THREAD_LIBRARY_${CMAKE_BUILD_TYPE_UPPER}})
else (DEFINED Boost_THREAD_LIBRARY_${CMAKE_BUILD_TYPE_UPPER})
LIST(LENGTH Boost_THREAD_LIBRARY COUNT_Boost_THREAD_LIBRARY)
- if (NOT WIN32)
- if (1 LESS COUNT_Boost_THREAD_LIBRARY)
- MESSAGE(FATAL_ERROR "Found multiple boost thread
libraries, but not one specific to the current build type
'${CMAKE_BUILD_TYPE_UPPER}'.")
- endif (1 LESS COUNT_Boost_THREAD_LIBRARY)
- endif()
list(APPEND OROCOS-RTT_LIBRARIES ${Boost_THREAD_LIBRARY}
${Boost_DATE_TIME_LIBRARY} )
endif (DEFINED Boost_THREAD_LIBRARY_${CMAKE_BUILD_TYPE_UPPER})

Couldn't we just issue a warning ? Or only have this code for OS-X ?

Peter

[Bug 862] State machine tests fail to complete on Mac OS X

http://bugs.orocos.org/show_bug.cgi?id=862

--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2011-05-13 14:58:47 CEST ---
Created attachment 685
--> http://bugs.orocos.org/attachment.cgi?id=685
gdb log