-
I'm running into a stack overflow when trying to send an HTTPS request using I see this on the debug UART output: ***ERROR*** A stack overflow in task mp_task has been detected. Backtrace: 0x403763a6:0x3fced260 0x403869e1:0x3fced280 0x40386c26:0x3fced2a0 0x4038880d:0x3fced310 0x40386ce4:0x3fced330 0x40386cda: 0x3fceed7c |<-CORRUPTED Any suggestions? This code has actually worked once without crashing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
FWIW: I am actively using aiohttp (https://github.com/micropython/micropython-lib/tree/master/python-ecosys/aiohttp/aiohttp) with a recent micropython 1.23.0 preview on ESP32-S3 N8R8 and N8R16 without any problem, running an application for days. Can you add print statements to narrow down the problem? For example before and after calls to aiohttp. I'd also add asserts to detect any recursion. Is the problem solid? Any way to reproduce it? Do minimal tests also fail? Can you put a minimal program together to reproduce the failure, deleting all the rest of the logic? Does the program also fail with a test site such as httpbin.org? |
Beta Was this translation helpful? Give feedback.
This is weird! I just ran that test with preview MicroPython 1.23.0 preview 47 and don't get the reboot, it seems to work well: