-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
USB msc_example - Stack Overflow on Connection of a USB Stick (IDFGH-11176) #12344
Comments
@dmglogowskiOS To get a more useful backtrace, could you please try enabling CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y option? It should hopefully catch the moment when the stack overflow occurs. |
@igrr It appears as though that as soon as that option is enabled, the example works as intended?
I can also no longer replicate the issue, by disableing that option? I am very confused as to how this apparently fixed itself, because the only change I made to the example code was increasing stack size to 100kB. However decreasing it back to the default of 2kB doesn't seem to make a change. |
It is certainly possible, that the issues are related, considering their very similar behaviours. |
Fixed by e6fde2e Feel free to reopen if the problem persists |
Works like a charm in that commit! |
Answers checklist.
General issue report
In the example for the USB MSC driver, the task called "usb_events" appears to experience a Stack Overflow, this occurs even after increasing Stack Size of the task to 100kB.
We are running ESP-IDF 5.1.1 and an ESP32S3
Log:
This might be related to the issue described in 10718
The text was updated successfully, but these errors were encountered: