I have an application running on VxWorks 5.5.1 It basically allocates a STL map data structure but in some cases my main task crashes. When I monitor via debugger, the allocated size for an STL map type variable has the value of another task s ID instead of 8.
所以似乎是任务ID和变量混淆了。
The problem occurs in consecutive start and stop of main task. Could it possible, TCB block of a task overwrites an area in memory Regards