freeRTOS timers crash. Assert failed line 693

Lucas.Hutchinson
Posts: 79
Joined: Tue Apr 26, 2016 5:10 am

freeRTOS timers crash. Assert failed line 693

Postby Lucas.Hutchinson » Wed Jul 05, 2017 10:18 pm

Hi All,

Not sure if this has already been reported, please let me know if it has.

I am having an intermittent crash when running my program.
My program is not using freeRTOS timers. I am using the uart and bluetooth central+peripheral.

This is the trace that gets printed in the monitor when the crash occurs.

Code: Select all

C:/0000-Working/ESP32/esp-idf/components/freertos/timers.c:693 (prvProcessReceivedCommands)- assert failed!
abort() was called at PC 0x40087838 on core 0
0x40087838: prvProcessReceivedCommands at C:/0000-Working/ESP32/esp-idf/components/freertos/timers.c:839
 (inlined by) prvTimerTask at C:/0000-Working/ESP32/esp-idf/components/freertos/timers.c:445


Backtrace: 0x4008810f:0x3ffb7120 0x4008813b:0x3ffb7140 0x40087838:0x3ffb7160
0x4008810f: invoke_abort at C:/0000-Working/ESP32/esp-idf/components/esp32/panic.c:138

0x4008813b: abort at C:/0000-Working/ESP32/esp-idf/components/esp32/panic.c:147

0x40087838: prvProcessReceivedCommands at C:/0000-Working/ESP32/esp-idf/components/freertos/timers.c:839
 (inlined by) prvTimerTask at C:/0000-Working/ESP32/esp-idf/components/freertos/timers.c:445
I am running esp-idf @ commit 9b955f4c

If anyone has any idea what might be causing this it would be much appreciated.

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: freeRTOS timers crash. Assert failed line 693

Postby ESP_Sprite » Thu Jul 06, 2017 1:26 am

That is hard to say... the assert basically indicates something sent a bad timer control command to that task, but the information on who did that is missing. Can you reproduce this reliably, and if so, are you willing to share your code, or a small bit of code that gives the same error?

Lucas.Hutchinson
Posts: 79
Joined: Tue Apr 26, 2016 5:10 am

Re: freeRTOS timers crash. Assert failed line 693

Postby Lucas.Hutchinson » Thu Jul 06, 2017 8:48 pm

Hi,

After I posted this I updated the IDF that i was using to 3c9ea3cb, and the crash stops happening.

When it was happening i could reproduce it, but not reliably. Not 100% sure what was going on. Ill let you know if it appears again.

Who is online

Users browsing this forum: No registered users and 27 guests