The idea is that while in ISR the stack is that of the kernel and not that of the process/thread. The stack checking is usually done against the thread stack and doing that wile in the ISR will result in undefined behavior (that’s under QNX4). I don’t know how gcc under QNX6 works though. I don’t recall having do deal with these issue under gcc.