Skip to content

dnsServer can not run when we connect esp32 by computer!! #4711

Closed
@xpdrycry

Description

@xpdrycry

DNSSERVE can not run when we use computer connect dnsServer
programme: can not run :programme location:
https://github.com/espressif/arduino-esp32/tree/master/libraries/DNSServer/examples/CaptivePortal

What you are trying to do?
esp32 chip.
rst:0xc (SW_CPU_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5828
entry 0x400806ac
start
end
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 : 0x80114809 A1 : 0x3ffb3d30
A2 : 0x3ffcc62c A3 : 0x3ffccea4 A4 : 0x3ffcd448 A5 : 0x3ffcce84
A6 : 0x0201a8c0 A7 : 0x0c01a8c0 A8 : 0x801146ac A9 : 0x3ffb3cf0
A10 : 0x3ffcc63c A11 : 0x3ffccea4 A12 : 0x3ffb3d3c A13 : 0x00000044
A14 : 0x00000001 A15 : 0x00000006 SAR : 0x00000010 EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0x00000000

Backtrace: 0x00000000:0x3ffb3d30 0x40114806:0x3ffb3d70 0x4012168d:0x3ffb3d90 0x40126695:0x3ffb3dd0 0x4012b932:0x3ffb3df0 0x4011520f:0x3ffb3e10 0x4008aff9:0x3ffb3e40
#0 0x00000000:0x3ffb3d30 in ?? ??:0
#1 0x40114806:0x3ffb3d70 in handle_dhcp at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/apps/dhcpserver/dhcpserver.c:1031
#2 0x4012168d:0x3ffb3d90 in udp_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/udp.c:401
#3 0x40126695:0x3ffb3dd0 in ip4_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4/ip4.c:740
#4 0x4012b932:0x3ffb3df0 in ethernet_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ethernet.c:184
#5 0x4011520f:0x3ffb3e10 in tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c:483
#6 0x4008aff9:0x3ffb3e40 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions