【求助】ESP32无故重启的问题
esp32联网获取时间,代码运行正常,但在连上网之后几分钟至十几分钟不等必重启,以下为重启串口输出:CORRUPT HEAP: Bad head at 0x3ffc8028. Expected 0xabba1234 got 0x00000000 assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free abort() was called at PC 0x400d7b27 on core 1Backtrace: 0x4008c8bc:0x3ffb1e50 0x4008caed:0x3ffb1e70 0x400d7b27:0x3ffb1e90 0x4008c531:0x3ffb1ec0 0x40084c22:0x3ffb1ee0 0x400861cd:0x3ffb1f00 0x4000bec7:0x3ffb1f20 0x400d345e:0x3ffb1f40 0x400d1b45:0x3ffb1f60 0x400d372d:0x3ffb1fb0 0x40088859:0x3ffb1fd0Rebooting...
ets Jun8 2016 00:22:57rst:0xc (SW_CPU_RESET),boot:0x13 (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:DOUT, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1100 load:0x40078000,len:9232 load:0x40080400,len:6400 entry 0x400806a8
每次报错第一个地址会改变,其他基本不变。
每次报错略有区别:CORRUPT HEAP: Bad head at 0x3ffbd8e0. Expected 0xabba1234 got 0x3ffbdb18 assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free abort() was called at PC 0x400d7abf on core 1Backtrace: 0x4008c8bc:0x3ffb1e50 0x4008caed:0x3ffb1e70 0x400d7abf:0x3ffb1e90 0x4008c531:0x3ffb1ec0 0x40084c22:0x3ffb1ee0 0x400861cd:0x3ffb1f00 0x4000bec7:0x3ffb1f20 0x400d33f6:0x3ffb1f40 0x400d1b69:0x3ffb1f60 0x400d36c5:0x3ffb1fb0 0x40088859:0x3ffb1fd0Rebooting... ets Jun8 2016 00:22:57rst:0xc (SW_CPU_RESET),boot:0x13 (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:DOUT, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:928 ho 0 tail 12 room 4 load:0x40078000,len:8424 ho 0 tail 12 room 4 load:0x40080400,len:5868 entry 0x4008069c 今早持续正常运行了4个小时左右,之后连续重启了好几次:
assertion "pbuf_free: p->ref > 0" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/lwip/lwip/src/core/pbuf.c", line 765, function: pbuf_free
abort() was called at PC 0x400d876b on core 0
Backtrace: 0x4008c8bc:0x3ffb3cc0 0x4008caed:0x3ffb3ce0 0x400d876b:0x3ffb3d00 0x400f26b7:0x3ffb3d30 0x400f37e1:0x3ffb3d50 0x400f52b0:0x3ffb3d70 0x400f62bb:0x3ffb3d90 0x400f6cc9:0x3ffb3db0 0x400fc62f:0x3ffb3dd0 0x4010185a:0x3ffb3df0 0x400f06ff:0x3ffb3e10 0x40088859:0x3ffb3e40
Rebooting...
ets Jun8 2016 00:22:57
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:DOUT, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c
CORRUPT HEAP: Bad head at 0x3ffc80f8. Expected 0xabba1234 got 0x00000000
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free
abort() was called at PC 0x400d876b on core 1
Backtrace: 0x4008c8bc:0x3ffb1e50 0x4008caed:0x3ffb1e70 0x400d876b:0x3ffb1e90 0x4008c531:0x3ffb1ec0 0x40084c22:0x3ffb1ee0 0x400861cd:0x3ffb1f00 0x4000bec7:0x3ffb1f20 0x400d40a2:0x3ffb1f40 0x400d1fd9:0x3ffb1f60 0x400d4371:0x3ffb1fb0 0x40088859:0x3ffb1fd0
Rebooting...
ets Jun8 2016 00:22:57
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:DOUT, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c
CORRUPT HEAP: Bad head at 0x3ffc80f0. Expected 0xabba1234 got 0x3ffc811c
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free
abort() was called at PC 0x400d876b on core 1
Backtrace: 0x4008c8bc:0x3ffb1e50 0x4008caed:0x3ffb1e70 0x400d876b:0x3ffb1e90 0x4008c531:0x3ffb1ec0 0x40084c22:0x3ffb1ee0 0x400861cd:0x3ffb1f00 0x4000bec7:0x3ffb1f20 0x400d40a2:0x3ffb1f40 0x400d1fd9:0x3ffb1f60 0x400d4371:0x3ffb1fb0 0x40088859:0x3ffb1fd0
Rebooting...
ets Jun8 2016 00:22:57
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:DOUT, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c
CORRUPT HEAP: Bad head at 0x3ffc813c. Expected 0xabba1234 got 0x00000000
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free
abort() was called at PC 0x400d876b on core 1
Backtrace: 0x4008c8bc:0x3ffb1e50 0x4008caed:0x3ffb1e70 0x400d876b:0x3ffb1e90 0x4008c531:0x3ffb1ec0 0x40084c22:0x3ffb1ee0 0x400861cd:0x3ffb1f00 0x4000bec7:0x3ffb1f20 0x400d40a2:0x3ffb1f40 0x400d1fd9:0x3ffb1f60 0x400d4371:0x3ffb1fb0 0x40088859:0x3ffb1fd0
Rebooting...
ets Jun8 2016 00:22:57
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:DOUT, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8424
ho 0 tail 12 room 4
load:0x40080400,len:5868
entry 0x4008069c
笔记本供电电压不稳的时候会重置重启,不知道楼主的是不是和电源不稳有关 bemfa 发表于 2020-6-28 17:50
笔记本供电电压不稳的时候会重置重启,不知道楼主的是不是和电源不稳有关 ...
应该不是这个问题。 有人吗
页:
[1]