blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.81k stars 1.38k forks source link

ESP32 Blynk.Inject Template -> dhcps: send_offer>>udp_sendto result 0 #476

Closed ldab closed 1 year ago

ldab commented 4 years ago

Blynk library version: [0.6.1] IDE: [Arduino] but also on PlatformIO IDE version: [1.8.10] Board type: [ESP32] ESP32 Arduino 1.0.4 (IDF 3.2) Additional modules: [no]

Blynk.Inject ESP32 Template break with dhcps: send_offer>>udp_sendto result 0 reboots and the Provisioning fails. What IDF version are people using with ESP32?

Guru Meditation Error: Core  0 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x00000000  PS      : 0x00060e30  A0      : 0x801396a5  A1      : 0x3ffb3f70  
A2      : 0x3ffcdd84  A3      : 0x3ffcdfb8  A4      : 0x3ffce3f8  A5      : 0x3ffce3d8  
A6      : 0x0204a8c0  A7      : 0x0c04a8c0  A8      : 0x80139548  A9      : 0x3ffb3f30  
A10     : 0x3ffcdd94  A11     : 0x3ffcdfb8  A12     : 0x3ffb3f7c  A13     : 0x00000044  
A14     : 0x00000001  A15     : 0x00000006  SAR     : 0x00000010  EXCCAUSE: 0x00000014  
EXCVADDR: 0x00000000  LBEG    : 0x4000c349  LEND    : 0x4000c36b  LCOUNT  : 0x00000000  

Backtrace: 0x00000000:0x3ffb3f70 0x401396a2:0x3ffb3fb0 0x40146529:0x3ffb3fd0 0x4014b531:0x3ffb4010 0x401507ce:0x3ffb4030 0x4013a0ab:0x3ffb4050 0x40088b9d:0x3ffb4080

Decoding stack results 0x401396a2: handle_dhcp at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/apps/dhcpserver/dhcpserver.c line 1031 0x40146529: udp_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/udp.c line 401 0x4014b531: ip4_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4/ip4.c line 740 0x401507ce: ethernet_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ethernet.c line 184 0x4013a0ab: tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c line 135 0x40088b9d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143


* Serial Monitor:

[6667] WAIT_CONFIG => CONFIGURING dhcps: send_offer>>udp_sendto result 0 dhcps: send_offer>>udp_sendto result 0 Guru Meditation Error: Core 0 panic'ed (InstrFetchProhibited). Exception was unhandled. Core 0 register dump: PC : 0x00000000 PS : 0x00060e30 A0 : 0x801396a5 A1 : 0x3ffb3f70
A2 : 0x3ffcdd84 A3 : 0x3ffcdfb8 A4 : 0x3ffce3f8 A5 : 0x3ffce3d8
A6 : 0x0204a8c0 A7 : 0x0c04a8c0 A8 : 0x80139548 A9 : 0x3ffb3f30
A10 : 0x3ffcdd94 A11 : 0x3ffcdfb8 A12 : 0x3ffb3f7c A13 : 0x00000044
A14 : 0x00000001 A15 : 0x00000006 SAR : 0x00000010 EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0x00000000

Backtrace: 0x00000000:0x3ffb3f70 0x401396a2:0x3ffb3fb0 0x40146529:0x3ffb3fd0 0x4014b531:0x3ffb4010 0x401507ce:0x3ffb4030 0x4013a0ab:0x3ffb4050 0x40088b9d:0x3ffb4080

Rebooting... ets Jun 8 2016 00:22:57

cesartayoun commented 3 years ago

hello, i have the same issue; did you solve ite?

ldab commented 3 years ago

hello, i have the same issue; did you solve ite?

If I'm not mistaken, using an legacy Espressif SDK solved it, but I can't really remember, have been using ESP8266 instead.

vshymanskyy commented 3 years ago

This is essentially this issue: https://github.com/espressif/arduino-esp32/issues/2025