esp-idf: WiFi Crash REST Server (IDFGH-3510)

Environment

  • Development Kit: [ESP32-Wrover-Kit|

  • Kit version v4]

  • Module or chip used: [ESP32-WROOM-32|ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER|ESP32-WROVER-I|ESP32-WROVER-B|ESP32-WROVER-IB|ESP32-SOLO-1|ESP32-PICO-D4|ESP32]

  • IDF version (run git describe --tags to find it): // v3.2-dev-1148-g96cd3b75c

  • Build System: [idf.py]

  • Compiler version (run xtensa-esp32-elf-gcc --version to find it): // 1.22.0-80-g6c4433a

  • Operating System: |Linux|

  • Using an IDE?: eclipse

  • Power Supply: USB|

Problem Description

wifi spiram 
Heap summary for capabilities 0x00000400:
  At 0x3f80496c len 4175507 free 4140912 allocated 33088 min_free 4118380
    largest_free_block 4126332 alloc_blocks 70 free_blocks 14 total_blocks 84
  Totals:
    free 4140912 allocated 33088 min_free 4118380 largest_free_block 4126332
I (85031) wifi:state: init -> auth (b0)
I (85041) wifi:state: auth -> assoc (0)
I (85051) wifi:state: assoc -> run (10)
I (85351) wifi:connected with PEM, aid = 1, channel 1, BW20, bssid = be:db:4f:33:eb:dc
I (85351) wifi:security type: 3, phy: bgn, rssi: -76
I (85351) wifi:pm start, type: 1

I (85361) wifi softAP: ssid connected PEM 

I (85541) wifi:AP's beacon interval = 102400 us, DTIM period = 2
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40081fc4: fff66502 0000f01d d2004136
Core  0 register dump:
PC      : 0x40081fc8  PS      : 0x00060c30  A0      : 0x00040020  A1      : 0x3ffc3310  
A2      : 0x3f80d370  A3      : 0x3ffc6070  A4      : 0x00000100  A5      : 0x00000000  
A6      : 0x3f80d418  A7      : 0x00000000  A8      : 0x80081fc8  A9      : 0x3ffc32e0  
A10     : 0x3f80d370  A11     : 0x40157e3c  A12     : 0x00000000  A13     : 0x00000000  
A14     : 0x000000fe  A15     : 0x00000001  SAR     : 0x00000019  EXCCAUSE: 0x00000000  
EXCVADDR: 0x00000000  LBEG    : 0x4008a816  LEND    : 0x4008a821  LCOUNT  : 0x00000000  

Backtrace:0x40081fc5:0x3ffc3310 0x0004001d:0x3ffc3330 |<-CORRUPTED


ELF file SHA256: 3f98a9a537c7cf05

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

rst:0xc (SW_CPU_RESET),boot:0x1e (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:0x3fff0030,len:4
load:0x3fff0034,len:7168
ho 0 tail 12 room 4
load:0x40078000,len:14128
load:0x40080400,len:4060

//Detailed problem description goes here.

Expected Behavior

No Crash

Actual Behavior

Steps to reproduce

  1. connect to the esp and use the url to push an SSID and Password as a request
  2. This is then used to configure the Wifi STA mode config and then connect the station
  3. i cannot share proprietery files on the SD CArds

Code to reproduce this issue

rest.zip

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (6 by maintainers)

Most upvoted comments

This issue has been fixed some time ago, sorry that we only closed https://github.com/espressif/esp-idf/issues/5758 and this issued didn’t get updated:

@rebeliousconformist Thanks for reporting and sorry for slow turnaround. We are now checking the issue, will share updates later. Thanks.