Guru Meditation Error at uxListRemove
Posted: Fri Nov 18, 2022 2:53 pm
I have an application which creates two static queues, and some static tasks which are waiting on said queues. When I try pushing an item onto a queue, I get the following error:
All tasks and queues are initialized when the error happens. The queues are used for passing data by copy.
Some info on my application:
- Using TWAI driver with ESP_INTR_FLAG_LOWMED
- Using tinyusb
- All user-defined tasks have a priority of 1
Any leads will be greatly appreciated, I've wasted a whole day with no results whatsoever.
Thanks
If only one of the queues is used, the error does not appear. It only occurs when I am pushing data to both queues.
Code: Select all
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x4037d76b PS : 0x00060633 A0 : 0x8037ca3d A1 : 0x3fceac70
0x4037d76b: uxListRemove at C:/Users/user/esp/esp-idf/components/freertos/FreeRTOS-Kernel/list.c:197
A2 : 0x000000be A3 : 0x3fc96cb8 A4 : 0x00000000 A5 : 0x00060623
A6 : 0x00000000 A7 : 0x0000cdcd A8 : 0x8037d920 A9 : 0x3fceac40
A10 : 0x00000001 A11 : 0x00000000 A12 : 0x00000000 A13 : 0x3fc94140
A14 : 0x00060023 A15 : 0x00000003 SAR : 0x00000020 EXCCAUSE: 0x0000001c
EXCVADDR: 0x000000ce LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0x00000000
Backtrace: 0x4037d768:0x3fceac70 0x4037ca3a:0x3fceac90 0x4037b46b:0x3fceacb0 0x4200882f:0x3fceacf0 0x42008d09:0x3fcead10 0x42009e3d:0x3fcead80 0x4200b005:0x3fceada0 0x4200b387:0x3fceadd0 0x4037d79d:0x3fceadf0
0x4037d768: uxListRemove at C:/Users/user/esp/esp-idf/components/freertos/FreeRTOS-Kernel/list.c:194
0x4037ca3a: xTaskRemoveFromEventList at C:/Users/user/esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:3800
0x4037b46b: xQueueGenericSend at C:/Users/user/esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:890
Some info on my application:
- Using TWAI driver with ESP_INTR_FLAG_LOWMED
- Using tinyusb
- All user-defined tasks have a priority of 1
Any leads will be greatly appreciated, I've wasted a whole day with no results whatsoever.
Thanks
If only one of the queues is used, the error does not appear. It only occurs when I am pushing data to both queues.