dereulenspiegel / ibbq-gateway

Simple WiFi gateway for iBBQ based Bluetooth BBQ thermometers
GNU General Public License v3.0
28 stars 6 forks source link

Stack overflow #2

Open Redeque opened 5 years ago

Redeque commented 5 years ago

rst:0xc (SW_CPU_RESET),boot:0x17 (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:1 load:0x3fff0018,len:4 load:0x3fff001c,len:6288 ho 0 tail 12 room 4 load:0x40078000,len:10180 load:0x40080400,len:6680 entry 0x40080764 I (31) boot: ESP-IDF v3.2 2nd stage bootloader I (31) boot: compile time 10:56:49 I (31) boot: Enabling RNG early entropy source... I (35) boot: SPI Speed : 80MHz I (39) boot: SPI Mode : DIO I (43) boot: SPI Flash Size : 4MB I (47) boot: Partition Table: I (51) boot: ## Label Usage Type ST Offset Length I (58) boot: 0 nvs WiFi data 01 02 00009000 00005000 I (66) boot: 1 otadata OTA data 01 00 0000e000 00002000 I (73) boot: 2 app0 OTA app 00 10 00010000 001e0000 I (81) boot: 3 app1 OTA app 00 11 001f0000 001e0000 I (88) boot: 4 eeprom Unknown data 01 99 003d0000 00001000 I (96) boot: 5 spiffs Unknown data 01 82 003d1000 0002f000 I (103) boot: End of partition table I (107) boot: No factory image, trying OTA 0 I (112) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x398bc (235708) map I (190) esp_image: segment 1: paddr=0x000498e4 vaddr=0x3ffbdb60 size=0x033cc ( 13260) load I (195) esp_image: segment 2: paddr=0x0004ccb8 vaddr=0x40080000 size=0x00400 ( 1024) load 0x40080000: _WindowOverflow4 at C:/msys32/home/Redeque/esp/esp-idf/components/freertos/xtensa_vectors.S:177 9

I (197) esp_image: segment 3: paddr=0x0004d0c0 vaddr=0x40080400 size=0x02f50 ( 12112) load I (210) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0xedd10 (974096) map 0x400d0018: _flash_cache_start at ??:?

I (498) esp_image: segment 5: paddr=0x0013dd30 vaddr=0x40083350 size=0x1346c ( 78956) load 0x40083350: spi_flash_erase_range at C:/msys32/home/Redeque/esp/esp-idf/components/spi_flash/flash_ops.c:23 4

I (539) boot: Loaded app from partition at offset 0x10000 I (539) boot: Disabling RNG early entropy source... I (540) cpu_start: Pro cpu up. I (543) cpu_start: Starting app cpu, entry point is 0x40081034 0x40081034: call_start_cpu1 at C:/msys32/home/Redeque/esp/esp-idf/components/esp32/cpu_start.c:246

I (534) cpu_start: App cpu up. I (554) heap_init: Initializing. RAM available for dynamic allocation: I (561) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM I (567) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM I (573) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM I (579) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM I (585) heap_init: At 3FFDC1E0 len 00003E20 (15 KiB): DRAM I (591) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (597) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (604) heap_init: At 400967BC len 00009844 (38 KiB): IRAM I (610) cpu_start: Pro cpu start user code I (180) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (181) main: Reset reason panic/exception Hello world! I (221) main: Partition size: total: 169676, used: 132779 I (221) settings: Loading settings: 1 I (221) settings: Reading 166 bytes from key system W (221) settings: Failed to read from NVS key system: ESP_ERR_NVS_NOT_FOUND I (231) wifi: wifi driver task: 3ffe2064, prio:23, stack:3584, core=0 I (241) wifi: wifi firmware version: 9415913 I (241) wifi: config NVS flash: enabled I (251) wifi: config nano formating: disabled I (251) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (261) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (281) wifi: Init dynamic tx buffer num: 32 I (281) wifi: Init data frame dynamic rx buffer num: 32 I (281) wifi: Init management frame dynamic rx buffer num: 32 I (291) wifi: Init static rx buffer size: 1600 I (291) wifi: Init static rx buffer num: 10 I (291) wifi: Init dynamic rx buffer num: 32 I (301) settings: Loading settings: 3 I (301) settings: Reading 97 bytes from key wifi_client W (311) settings: Failed to read from NVS key wifi_client: ESP_ERR_NVS_NOT_FOUND I (321) wifi station: WiFi unconfigured, starting AP... I (321) settings: Loading settings: 1 I (331) settings: Reading 166 bytes from key system W (331) settings: Failed to read from NVS key system: ESP_ERR_NVS_NOT_FOUND I (341) wifi station: Starting AP with SSID ibbq-ap I (1141) phy: phy_version: 4008, c9ae59f, Jan 25 2019, 16:54:06, 0, 2 I (1141) wifi: mode : sta (b4:e6:2d:da:12:65) + softAP (b4:e6:2d:da:12:66) I (1151) wifi: Init max length of beacon: 752/752 I (1151) wifi: Init max length of beacon: 752/752 I (1151) wifi station: Setting hostname to iBBQ-Gateway I (1161) wifi station: AP started I (1161) webserver: Starting server on port: '80' I (1161) DNSSRV: Only answering ibbq.gateway. with our IP I (1171) webserver: Scanning for neighbouring access points I (1171) webserver: Registering URI handlers I (1191) DNSSRV: Listening on local IP: 192.168.4.1 I (1191) DNSSRV: DNS Server listening on 53/udp ERROR A stack overflow in task eventTask has been detected. abort() was called at PC 0x4009406c on core 0 0x4009406c: vApplicationStackOverflowHook at C:/msys32/home/Redeque/esp/esp-idf/components/esp32/panic.c:70 7

Backtrace: 0x40093e28:0x3ffdfef0 0x40094055:0x3ffdff10 0x4009406c:0x3ffdff30 0x40090828:0x3ffdff50 0x400929 80:0x3ffdff70 0x40092936:0x3ffdff60 0x7ffffffc:0x3ffdff70 0x40093e28: invoke_abort at C:/msys32/home/Redeque/esp/esp-idf/components/esp32/panic.c:707

0x40094055: abort at C:/msys32/home/Redeque/esp/esp-idf/components/esp32/panic.c:707

0x4009406c: vApplicationStackOverflowHook at C:/msys32/home/Redeque/esp/esp-idf/components/esp32/panic.c:70 7

0x40090828: vTaskSwitchContext at C:/msys32/home/Redeque/esp/esp-idf/components/freertos/tasks.c:3537

0x40092980: _frxt_dispatch at C:/msys32/home/Redeque/esp/esp-idf/components/freertos/portasm.S:406

0x40092936: _frxt_int_exit at C:/msys32/home/Redeque/esp/esp-idf/components/freertos/portasm.S:206

Rebooting...