espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.71k stars 7.43k forks source link

mDNS crash in arduino core 2.x. backport required #10540

Closed Tarik2142 closed 3 weeks ago

Tarik2142 commented 3 weeks ago

Board

esp32dev

Device Description

generic esp32 board

Hardware Configuration

-

Version

v2.0.17

IDE Name

PlatformIO

Operating System

Windows 10

Flash frequency

40MHz

PSRAM enabled

no

Upload speed

115200

Description

The mDNS component has a bug in IDF v4.4.7 that causes a crash: image Problem line 1324 in mdns.h, missing NULL check before accessing pointer image Could you backport the commit with the fix https://github.com/espressif/esp-protocols/commit/4fa3023ea2122ff19b1408421e4a69b715c0aaeb to the arduino 2.x core???

Sketch

-

Debug Message

See screenshot above

Other Steps to Reproduce

This occurs randomly

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

me-no-dev commented 3 weeks ago

I'm sorry but 2.x is no longer supported (as is the underlying IDF v4.4). mDNS is part of IDF in v4.4 and not in the external esp-protocols component (starting IDF v5.0)