configLIST_VOLATILE required - Missing configASSERT in listREMOVE_ITEM

Hi,
Thanks for posting the query.
There are some similar posts in the following threads:

  1. Stuck in xTaskResumeAll() - Interrupt Priorities? Stack?
  2. Endless loop in 10.4.6 with -Os flag
    Please check if any of the suggested options help in your scenario.