317c317,319
< if (getInput(tid) && !decodeInfo[tid].blocked) {
---
> if (cpu.getContext(tid)->status() == ThreadContext::Active &&
> getInput(tid) &&
> !decodeInfo[tid].blocked) {