# How to solve Semaphore failed issue

**URL:** <https://forums.freertos.org/t/how-to-solve-semaphore-failed-issue/14425>\
**Category:** Kernel\
**Created:** [February 9, 2022, 6:01pm UTC](https://forums.freertos.org/t/how-to-solve-semaphore-failed-issue/14425 "2022-02-09T18:01:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AthulMadhavan](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@AthulMadhavan](https://forums.freertos.org/u/AthulMadhavan)\
**Post date:** [February 9, 2022, 6:01pm UTC](https://forums.freertos.org/t/how-to-solve-semaphore-failed-issue/14425/1 "2022-02-09T18:01:05Z")

</div>

Hello,

I ran into following issue when running the demo FreeRTOS.

Kernel ASSERT at core0! Line xxxx of file …/FreeRTOS/FreeRTOS-Kernel/tasks.c  
+Semaphore task failed

Could you please help me in resolving this issue.

NOTE: I tried disabling the semaphore task in testing\_main.h file and didn’t see any issue. But is that the correct approach to resolve this issue?

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 9, 2022, 6:56pm UTC](https://forums.freertos.org/t/how-to-solve-semaphore-failed-issue/14425/2 "2022-02-09T18:56:00Z")

</div>

Please let us know which chip you are using and post a link to the line where the configASSERT() is failing. Just as an example, this is how to post a link to line 36 (which I chose at random) [https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/V10.4.6/tasks.c#L36](https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/V10.4.6/tasks.c#L36)
