firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: UDP crashes on T-ETH-ELITE (esp32s3)

Open philon- opened this issue 1 year ago • 1 comments

Category

Other

Hardware

Other

Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?

  • [ ] Meshtastic UI aka MUI colorTFT
  • [ ] InkHUD ePaper
  • [ ] OLED slide UI on any display

Firmware Version

2.7.5.ddd1499

Description

Firmware hard resets once an UDP packet is received.

Tried bisecting this but I can't find a stable build. Same behaviour on: Building from master (8d5ae1d5) 2.7.5.ddd1499 2.7.4.c1f4f79 (see #7385)

Setting Config.NetworkConfig.enabled_protocols to NO_BROADCAST stops this from happening.

Does not seem to affect nrf52 devices on firmware rak4631_eth_gw-2.7.5.ddd1499 Does not seem to affect T-DECK (esp32s3 on WiFi) on firmware t-deck-tft-2.7.5.ddd1499

Relevant log output

DEBUG | ??:??:?? 8 UDP Listening on IP: 0.0.0.0
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4005544b  PS      : 0x00060230  A0      : 0x820aeb9b  A1      : 0x3fcbf6f0  
A2      : 0x00000000  A3      : 0x3fcb94c0  A4      : 0x00000000  A5      : 0x00000001  
A6      : 0x00060420  A7      : 0x00000001  A8      : 0x820aea06  A9      : 0x3fcbf6a0  
A10     : 0x00000001  A11     : 0x3fcb47a0  A12     : 0x3fcb4754  A13     : 0x00000000  
A14     : 0x3fcb47a0  A15     : 0x00000000  SAR     : 0x00000000  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x40055499  LEND    : 0x400554a9  LCOUNT  : 0xfffffffb  


Backtrace: 0x40055448:0x3fcbf6f0 0x420aeb98:0x3fcbf700 0x420ae7a7:0x3fcbf720 0x420ae7f4:0x3fcbf740 0x420ae881:0x3fcbf760 0x420137ce:0x3fcbf780
  #0  0x420aeb98 in esp_netif_get_handle_from_ifkey at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_netif/esp_netif_objects.c:190
  #1  0x420ae7a7 in netif_from_if at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/tcpip_adapter/tcpip_adapter_compat.c:76
  #2  0x420ae7f4 in netif_from_if at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/tcpip_adapter/tcpip_adapter_compat.c:74
  #3  0x420ae881 in tcpip_adapter_get_netif at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/tcpip_adapter/tcpip_adapter_compat.c:226
  #4  0x420137ce in _ZL9_udp_taskPv$lto_priv$1454 at ??:?





ELF file SHA256: 203bb02d0f0b2425

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x29 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40377db0
  #0  0x40377db0 in esp_restart_noos at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/port/soc/esp32s3/system_internal.c:151 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
[   414][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
��@INFO  | ??:??:?? 0 

//\ E S H T /\ S T / C

philon- avatar Aug 15 '25 18:08 philon-

Hello, any news on this deadly bug ?? T-ETH-ELITE is a great board for UDP bridges we want to use it !

kokoshell avatar Jun 18 '26 20:06 kokoshell