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
Assert crash in logger's out_func #12274
Comments
Hi @nordic-krch , have you seen this issue? |
@pdunaj do you have option |
part of backtrace
Logger does not handle panic mode correctly? |
Hi @nordic-krch , no. We disable this. |
@nordic-krch , the problem happened after we migrated to logger in our event manager. It composes quite log strings. It seems that it is enough to do following multiple times to get logger go to fault that leads to above bt.
|
Did you check the the stack size of the logger thread? I had similar scenarios with too low stack size. |
Hi @b0661 , thanks for the suggestion. Indeed it helped :) |
I am closing the issue as increasing the thread stack resolved the problem. |
good to know but i suspect that there is still an issue in handling panic mode if panic triggers another panic. Since ideally you should get MPU fault message (if stack protection is enabled) and not that assert. And you haven't seen that, right? |
@nordic-krch no. |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Logger should not crash.
Impact
Debugging is impossible.
Screenshots or console output
Put above.
Environment (please complete the following information):
rev 9fe81e9
Additional context
The text was updated successfully, but these errors were encountered: