This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

App timer list gets corrupted with SDK 13 -> Dead lock

Hello Nordic Team,

I have an application running on SDK 13.0 which uses the app_timer for some timeout handling and so does repeatedly call app_timer_start and app_timer_stop to handle the potential timeouts.

I now noticed, that in some uses cases the application comes to a complete stop and the module just hangs.-> Pretty bad for the user.

From debugging i noticed, that the code always is in the timer_timeouts_check() function of app_timer.c and somehow the timer list got corrupted as the next pointer from the current timer entry points to it self, and so this function gets stuck in the while loop.

I found some other description on this problem, and the comments always say it is fixed in the next SDK release. Unfortunately it never mentions which version :-) And i also did not find any mention of it in the release notes of SDK 13.1, SDK14 or SDK15.

Can you please check if and when that was fixed, or is i somehow can fix it myself ?

kind regards

Related