-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tos_at.c的at_parser问题 #256
Comments
您是实际遇到过因为这样hardfault的情况吗?能否提供问题复现的场景? |
您好,我是在实际项目中遇到的这个问题。场景如下:
|
这确实是一个问题,我提交一个bugfix。您那边可以暂时先把语句顺序调换一下,copy动作放到sem_post之前,应该可以规避这个问题。 |
我提问下, |
在at_parser的如下代码中,先释放了信号,后拷贝at_echo的buf,在这之间可能发生任务调度导致at_echo被提前释放而hardfault
The text was updated successfully, but these errors were encountered: