esp32经常重启,请大家帮帮忙看看能不能找到问题??-Arduino中文社区 - Powered by Discuz! Archiver

zhuacai 发表于 2021-8-4 21:29

esp32经常重启,请大家帮帮忙看看能不能找到问题??

/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:1446 (xQueueGenericReceive)- assert failed!
abort() was called at PC 0x4009159f on core 1

Backtrace: 0x400951bc:0x3ffbe840 0x400953ed:0x3ffbe860 0x4009159f:0x3ffbe880 0x400de28e:0x3ffbe8c0 0x400d59e5:0x3ffbe8e0 0x400d1bc3:0x3ffbe900 0x400812a0:0x3ffbe940 0x40082365:0x3ffbe960 0x40087d19:0x3ffbe980 0x4000bfed:0x3ffd1950 0x40092a4d:0x3ffd1960 0x40091f00:0x3ffd1980 0x400dd7f0:0x3ffd19b0 0x400ddc65:0x3ffd19e0 0x400d7fcd:0x3ffd1a00 0x400d809e:0x3ffd1a30 0x400d8105:0x3ffd1a60 0x400d8224:0x3ffd1a80 0x400d8276:0x3ffd1aa0 0x400d4177:0x3ffd1ad0 0x400df5e1:0x3ffd1b10 0x400918d1:0x3ffd1b30

Decoding stack results0x400951bc: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 1550x400953ed: abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 1700x4009159f: xQueueGenericReceive at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c line 14460x400de28e: spiSimpleTransaction at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\cores\esp32\esp32-hal-spi.c line 7470x400d59e5: SPIClass::writeBytes(unsigned char const*, unsigned int) at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\libraries\SPI\src\SPI.cpp line 2120x400d1bc3: PxMATRIX::display(unsigned short) at D:\Arduino-ESP32\arduino-1.8.10\libraries\PxMatrix/PxMatrix.h line 10700x400812a0: display_updater() at D:\Arduino-ESP32\RGB-64X32-BT/RGB-64X32-BT.ino line 2610x40082365: __timerISR at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\cores\esp32\esp32-hal-timer.c line 880x40092a4d: vTaskExitCritical at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c line 42740x40091f00: xEventGroupWaitBits at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/event_groups.c line 4270x400dd7f0: i2cProcQueue at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\cores\esp32\esp32-hal-i2c.c line 12790x400ddc65: i2cRead at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\cores\esp32\esp32-hal-i2c.c line 16430x400d7fcd: TwoWire::readTransmission(unsigned short, unsigned char*, unsigned short, bool, unsigned int*) at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\libraries\Wire\src\Wire.cpp line 1390x400d809e: TwoWire::requestFrom(unsigned short, unsigned char, bool) at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\libraries\Wire\src\Wire.cpp line 1930x400d8105: TwoWire::requestFrom(int, int) at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\libraries\Wire\src\Wire.cpp line 2960x400d8224: uFire_SHT20::_reset() at C:\Users\Administrator\Documents\Arduino\libraries\uFire_SHT20\src\uFire_SHT20.cpp line 240x400d8276: uFire_SHT20::temperature() at C:\Users\Administrator\Documents\Arduino\libraries\uFire_SHT20\src\uFire_SHT20.cpp line 420x400d4177: loop() at D:\Arduino-ESP32\RGB-64X32-BT/RGB-64X32-BT.ino line 14150x400df5e1: loopTask(void*) at D:\Arduino-ESP32\arduino-1.8.10\hardware\espressif\esp32\cores\esp32\main.cpp line 190x400918d1: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

XlinliY.Zhang 发表于 2021-8-4 22:44

本帖最后由 XlinliY.Zhang 于 2021-8-4 22:46 编辑

程序运行有问题,他自己调abort重启了

zhuacai 发表于 2021-8-4 23:20

XlinliY.Zhang 发表于 2021-8-4 22:44
程序运行有问题,他自己调abort重启了

大致那里有问题,怎么解决呢?

XlinliY.Zhang 发表于 2021-8-5 07:53

zhuacai 发表于 2021-8-4 23:20
大致那里有问题,怎么解决呢?

/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:1446 (xQueueGenericReceive)- assert failed!
abort() was called at PC 0x4009159f on core 1

zhuacai 发表于 2021-8-5 10:23

XlinliY.Zhang 发表于 2021-8-5 07:53
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/ ...

这个文件没改过,这个报错是什么意思呢!要怎样才能解决报错重启?
页: [1]
查看完整版本: esp32经常重启,请大家帮帮忙看看能不能找到问题??