开发者

VxWorks : Task Id overwrites to another memory location

I have an application running on VxWorks 5.5.1 It basically allocates a STL map data structure but in some cases my main 开发者_JAVA技巧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.

So it seems like a task ID and a variable is mixing.

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


It's solved. It was beacuse of an custom debug function. Thanks for spending time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜