-
Notifications
You must be signed in to change notification settings - Fork 7.6k
"Guru Meditation Er" - related to http request? #5233
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
Comments
Most likely you have a memory leak. Put this at the top of your code and then call
|
20:40:31.294 -> Free: 280424 MaxAlloc: 113792 PSFree: 0 Doesnt look like a memory leak since the free memory was constant on 280424. do you have some other idea? |
Put the MEMCK wherever you are passing around String objects between functions or allocating large arrays. This is a problem in your code. You are going to have to troubleshoot it. |
I allready did as I mentionend in the last comment or do I understand you wrong? I uploaded the Code with "Core Debug level: Debug" activated and now the Code is running fine for like 10 hours, even tho I cant read the http request in the serial monitor. I tried to locate the error, when I put a delay before the http.end(); line I am able to read the full error message. `PC: 0x40161c7c: HTTPClient::connected() at C:\Users\afahl\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.5\libraries\HTTPClient\src\HTTPClient.cpp line 406 Decoding stack results best regards |
Okay so I digged a little bit deeper: The ESP32 crashes when trying to check: which refers to the HTTPClient.cpp line 406 which is: Becuse the client object seems to be a null pointer? (0x0000001a?) To be honest I have no idea how to fix this. I think my problem is related to #3659 I think I fixed my problem by using this workaround posted in #3659 and changed quote from #3659 `Hi, was having the same exception issues and managed to solve it by using a different begin function: const char *_url = "http://192.168.1.1/getstuff"; if( http.GET() ) I still have no idea whats going on. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Hello @Magerquark, still relevant? Thanks for your answer! |
Hello, as there was no answer in last 14 days, I'm closing the issue as expired to keep our backlog manageable. If it's still needed, please reopen the issue. Thanks for understanding. |
Hello folks I am currently trying to develop a wifi RFID module based on an ESP32.
Currently I am using a ESP32 Devkit to test the software. I only make a http request like every 200ms to a wifi relais to check the status if its powered on or not.
After some time like 50 minutes the ESP32 just crashes (LED's on the GIPO pins go off) and the programm just stops.
The problem is I dont get a error message which I could decompile, the last stuff I can read in the Serial Monitor is:
"Guru Meditation" or somtimes "Guru Meditation Er"
I first thought that its a problem of the power supply of the ESP32 but I cant reproduce this failure on high power spikes (for example when I put a Chipcard on the RFID module) it just randomly crashes after some time.
The programm probably crashes at the line "if (http.connected()) http.end();"
Does anybody of you has an idea what I can do to locate the exact problem?
Hardware:
Board: ESP32 Dev Module
Core Installation version: I dont know
IDE name: Arduino IDE?
Flash Frequency: 80Mhz
PSRAM enabled: no
Upload Speed: 512000
Computer OS: Windows 10
Description:
Describe your problem here
Sketch: (leave the backquotes for code formatting)
The text was updated successfully, but these errors were encountered: