I've had so many issues over the years with various people's computers when a DX9 window loses focus. Alt-tab back and forth millions of times is normally the culprit... This looks similar to that.
I am assuming you're using a modern windows, when you hit alt-control-delete, it bounces to a splash screen rather than just pulls up a task window.
From my understanding, when a DX9 loses focus, it purges all the information out of the vram. If at anytime you try to access that information while it's not in vram, you crash. Likewise, when the window regains focus, the vram is supposed to repopulated, but occasionally this doesn't work. You try to access that information, and then boom. Crash again.
Check to see if you stop rendering if your window loses focus. If you don't, try that. If you do, make sure all logic pauses when you lose window focus. If it still crashes after that, try manually unloading and reloading the scenes/ui anytime the window loses focus.
All else fails, OpenGL tends to not have this problem. At least with my game.
I have the same problem, do you know if this worked in previous OGRE versions?
I'm not sure. There is plenty of message in this forum about that kind of crash, so I guess it's something that has been there for years.
Check to see if you stop rendering if your window loses focus. If you don't, try that. If you do, make sure all logic pauses when you lose window focus.
The overlay was using incorrectly BorderPanel instead of Panel in the overlay script overlay_element.
Changing this stoped my app to crash with each ctrl+alt+suppr.
S.