we were using the 4.4.277-cip60-rt35 kernel and it happens from time to time that the kernel watchdog is triggered and our embedded devices gets resetted.
This message specially appers when we run the CodeSYS Runtime (PLC runtime)
I contacted the support and they told me following about usage of mutexes of the runtime:
The runtime is using pi mutexes
pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT);and also with recursive attribute.
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);and that they got other customers that had also problems with this constellation.
My current knowledge of the linux kernel is not big enough to solve that problem by myself. But i'm willed to learn more about the kernel and maybe solve the problem by own.
Can anyone give me a hint how to continue investigation of that problem?
Maybe someone has solved that problem for another target hardware?
Every RTFM hint is also welcome, when it least tell me the manual to dig trough :)