Search found 51 matches
- Wed Oct 26, 2022 8:56 am
- Forum: ESP-IDF
- Topic: CORRUPT HEAP after reconnect
- Replies: 22
- Views: 11664
Re: CORRUPT HEAP after reconnect
The original application is much more complex but I reduced the code to the relevant functions. According to the documentation "Expected 0xfefefefe got 0x..." indicates the app has a use-after-free bug. It could also be caused by an event handler or task or timer using too much stack. You mentioned...
- Mon Oct 24, 2022 3:49 pm
- Forum: ESP-IDF
- Topic: CORRUPT HEAP after reconnect
- Replies: 22
- Views: 11664
Re: CORRUPT HEAP after reconnect
The manual execution of the command doesn't work either? I've seen many cases where the console doesn't decode but the command will. If you haven't tried manually executing the decode, give it a try! I got the back trace, not from the same application, but it's the same error. I (102239) wifi:Send ...
- Mon Oct 24, 2022 9:26 am
- Forum: ESP-IDF
- Topic: CORRUPT HEAP after reconnect
- Replies: 22
- Views: 11664
Re: CORRUPT HEAP after reconnect
Just search for `xtensa-esp32-elf-addr2line`. The documentation doesn't say that it's specific to Windows, but I don't think it is automatically added to your PATH. Check under the tools in your ESP-IDF installation. Now I understand what you mean. Address decoding has always been activated and usu...
- Fri Oct 21, 2022 4:10 pm
- Forum: ESP-IDF
- Topic: CORRUPT HEAP after reconnect
- Replies: 22
- Views: 11664
Re: CORRUPT HEAP after reconnect
Is there any documentation about "backtrace decoder"? We use Linux.
- Sat Oct 15, 2022 5:33 pm
- Forum: ESP-IDF
- Topic: CORRUPT HEAP after reconnect
- Replies: 22
- Views: 11664
Re: CORRUPT HEAP after reconnect
Can anybody confirm that bug?
- Thu Oct 13, 2022 10:00 pm
- Forum: ESP-IDF
- Topic: CORRUPT HEAP after reconnect
- Replies: 22
- Views: 11664
Re: CORRUPT HEAP after reconnect
Thank you for the hint. I have just posted the issue at github: https://github.com/espressif/esp-idf/issues/9973Fyi, you may have a quicker answer if you file this as a Github issue.
- Wed Oct 12, 2022 12:30 am
- Forum: ESP-IDF
- Topic: CORRUPT HEAP after reconnect
- Replies: 22
- Views: 11664
CORRUPT HEAP after reconnect
Equipment: ESP32-S2-WROVER with SDK ESP-IDF v5.0-beta1-641-gc321739074 Configuration: WiFi in mode WIFI_MODE_APSTA Heap corruption detection = Comprehensive authmode of ESP-AP = WIFI_AUTH_WPA2_PSK The Problem: heap corruption after reconnect Action: - Smartphone connects to ESP32-AP (channel 1) - E...
- Thu Oct 06, 2022 8:36 pm
- Forum: ESP-IDF
- Topic: SPIFFS register fails if it has been unregistered previously
- Replies: 5
- Views: 3712
Re: SPIFFS register fails if it has been unregistered previously
I've changed only the code in our application.The fact that the issue has disappeared after this change could indicate that there is some place where we don't properly handle buffers located in PSRAM. Out of the changes you did, were there any in IDF code, or only in your application?
- Wed Oct 05, 2022 4:59 pm
- Forum: ESP-IDF
- Topic: SPIFFS register fails if it has been unregistered previously
- Replies: 5
- Views: 3712
Re: SPIFFS register fails if it has been unregistered previously
Thank you for your answer. You were right. It was a problem with memory management. I should mention that we use SPI-RAM because internal DRAM is not sufficient for our purpose. Following the instructions in https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/heap_debug....
- Mon Sep 19, 2022 8:46 pm
- Forum: ESP-IDF
- Topic: SPIFFS register fails if it has been unregistered previously
- Replies: 5
- Views: 3712
Re: SPIFFS register fails if it has been unregistered previously
Is there anybody of the ESP32 team?