Crash on loadStateMachine with rtt 1.8 and 1.10 on windows in release

Hi,
We need to build in Release an application that load a State Machine.

On Windows with debug, we can load the state machine. But in release windows, when name is long enough, we had a crash.

I join a sample that crash in release, relwithdebinfo but not in debug. All this is working correctly on linux. We tried with rtt 1.8 and 1.10.3 on windows

To run the sample,
1) you needs to compile orocos with MSVC in release (you may need some fix provide in my last mail in orocos-dev list)
2) add Orocos as environment variable that point to root of Orocos
3) Copy ${ Orocos }/src folder to an folder name ${ Orocos }/rtt in root of you orocos directory
4) Build the sample projet (please use to build directory provide in the sample, state machine are there)

Michaël
AUTOMATION MACHINE DESIGN RC INC
Site Internet :www.amdinc.ca

AttachmentSize
TestStateMachine.zip2.96 KB

Crash on loadStateMachine with rtt 1.8 and 1.10 on windows in re

On Wednesday 19 May 2010 22:36:55 Michaël Presseau wrote:
> Hi,
> We need to build in Release an application that load a State Machine.
>
> On Windows with debug, we can load the state machine. But in release
> windows, when name is long enough, we had a crash.
>
> I join a sample that crash in release, relwithdebinfo but not in debug. All
> this is working correctly on linux. We tried with rtt 1.8 and 1.10.3 on
> windows
>
> To run the sample,
> 1) you needs to compile orocos with MSVC in release (you may need some fix
> provide in my last mail in orocos-dev list) 2) add Orocos as environment
> variable that point to root of Orocos 3) Copy ${ Orocos }/src folder to an
> folder name ${ Orocos }/rtt in root of you orocos directory 4) Build the
> sample projet (please use to build directory provide in the sample, state
> machine are there)

Hi Michael,

Thanks for the testcase and the precise instructions. I opened a bug report.
Which compiler did you use ?

Peter

Crash on

Sorry, I repply only to Peter, not to the list.

I use MSVC 8 2005.

Crash on loadStateMachine with rtt 1.8 and 1.10 on windows in re

Sorry, I repply only to Peter, not to the list.

I use MSVC 8 2005.