-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
ESP-netif crashing all the time (broken), when creating an instance in the esp-mesh "ip_internal_network " example (IDFGH-4208) #6067
Comments
Thanks for reporting. |
Hi @ramidomalys Could you please check if after applying the patch below the issue persists? We've introduced a Tx optimization in WiFi/esp-netif layer recently, transmiting buffers by reference, but some examples haven't been updated, I'm afraid. |
Hello, thank you so much for this fast reply , indeed the patch corrected the bug i can confirm it run smoothly. |
Yes, we have to merge it to |
… function Fixed regression caused by recent refactoring of WiFi Tx. If wasn't defined all transmits end up in a crash. Closes #6067
Environment
Development Kit: [ESP32-DevKitC]
Kit version (DevKitC): |v4]
Module or chip used: [ESP32-WROVER-E]
IDF version v4.2-beta1-227-gf0e87c933
Build System: [idf.py]
Compiler version ( xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0)
Operating System: [Windows]
(Windows only) environment type: [ESP Command Prompt|].
Using an IDE?: [No|]
Power Supply: [USB|external 5V]
Problem Description
by building and flashing the esp-mesh "ip_internal_network " example ,
right after running menuconfig, setting my router settings, i invoke build and flash, it crashes after connecting to parent node ( router,) exactly after obtaining ip adress and trying to create the Mesh netif at line
mesh_netif.c :248 :esp_netif_action_start(netif_ap, NULL, 0, NULL);
Expected Behavior
continueing esp_netif_action_start , without crashing ...
Actual Behavior
crashing at line
last log before Guru Meditation Error :
if we activate the example option ( CONFIG_MESH_USE_GLOBAL_DNS_IP ) the crash occur before the ip obtaining event , otherwise, the crash occur after obtaining ip event , seems unrelated but anyhow.
Steps to reproduce
step1 clean install esp-idf, release/v4.2 , or master branch (both same behavior)
configure ip_internal_network example using menuconfig
build and flash the example
Code to reproduce this issue
Debug Logs
Additional info
sdkconfig.zip
full log.txt
The text was updated successfully, but these errors were encountered: