这个abort出现在任务切换时,不是堆栈溢出,任务栈剩余空间还很充足,也没踩内存,调查了很久,不知道啥原因。
发现一些现象如下:
1、发现开O3优化就不会出现这个问题。不开就一定会出现。
2、发现跟信号量有关,只要在任务里使用了Semaphore相关的函数就会出现。当然开O3优化也不会出现。
求各位大佬指点迷津。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.