Skip to content

tcpip_thread crash! #9388

@Speedy2k

Description

@Speedy2k

Board

Adafruit ESP32 Feather

Device Description

It is connected to a custom device.

Hardware Configuration

There is a lot! But nothing that should create a tcp_ip thread crash!

Version

v2.0.14

IDE Name

Arduino IDE

Operating System

Windows 10

Flash frequency

80Mhz

PSRAM enabled

no

Upload speed

921600

Description

I got random crash on tcp_ip on the udp_sendTo function after a dns_timeout_cb ?? I Don,t understand at all why this is making my sketch crash.

Sketch

I don't have any specific code to make it happen since it happen not very frequently and i can't see in the debug what is making it crash!

Debug Message

Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4012909f  PS      : 0x00060630  A0      : 0x801210e4  A1      : 0x3ffb3880  
A2      : 0x00000001  A3      : 0x3ffccb0c  A4      : 0x3ffc7124  A5      : 0x00000035  
A6      : 0x00000004  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x00000000  
A10     : 0x00000000  A11     : 0x3ffb38d4  A12     : 0x00000000  A13     : 0x3ffccb90  
A14     : 0x01000100  A15     : 0x00000000  SAR     : 0x00000018  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000015  LBEG    : 0x4008a928  LEND    : 0x4008a93e  LCOUNT  : 0xffffffff  


Backtrace: 0x4012909c:0x3ffb3880 0x401210e1:0x3ffb38c0 0x401211ce:0x3ffb3900 0x401218b0:0x3ffb3920 0x401218fb:0x3ffb3940 0x401287c1:0x3ffb3960 0x401205f9:0x3ffb3980




Decoding stack results
0x4012909c: udp_sendto at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/udp.c line 538
0x401210e1: dns_send at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c line 919
0x401211ce: dns_check_entry at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c line 1175
0x401218b0: dns_tmr at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c line 1208
0x401218fb: dns_timeout_cb at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c line 438
0x401287c1: sys_check_timeouts at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/timeouts.c line 411
0x401205f9: tcpip_thread at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/api/tcpip.c line 104

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions