Console Window not closeable, and no process attached
Console Window not closeable, and no process attached
I'm currently not sure, if this irrlicht related at all, but I'm experiencing strange problems with closing my windows application.
The problem is, that sometimes the Irrlicht 3D window is closed correctly, but the console window still remains. Even uglier, there is no process attached to that window. So I can't terminate it with the task manager or some tool like sysinternals process explorer. Even windows itself is not able to terminate it and can't shut down anymore.... So currently my laptop is doomed for a hard reset or a lifelong uptime .... Since its windows, it will be the first
I'm tracking down the issue, but I have no clue, currently. I could reproduce it when closing the debugging while a assertion is triggered (which is implemented as asm { int 3 }).
Anyone experienced similar issues before? Maybe this is not irrlicht related at all? Is anyone using similar assertions, what happens if you quit the debugger while it is triggered?
The problem is, that sometimes the Irrlicht 3D window is closed correctly, but the console window still remains. Even uglier, there is no process attached to that window. So I can't terminate it with the task manager or some tool like sysinternals process explorer. Even windows itself is not able to terminate it and can't shut down anymore.... So currently my laptop is doomed for a hard reset or a lifelong uptime .... Since its windows, it will be the first
I'm tracking down the issue, but I have no clue, currently. I could reproduce it when closing the debugging while a assertion is triggered (which is implemented as asm { int 3 }).
Anyone experienced similar issues before? Maybe this is not irrlicht related at all? Is anyone using similar assertions, what happens if you quit the debugger while it is triggered?
YASS - Yet another Space Shooter
under Devolpment, see http://yass-engine.de
under Devolpment, see http://yass-engine.de
dito / Ibid !
see:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=37314
windows refusing to shut down is what bothers me most. I suspect a windows update in fact, but who knows...
see:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=37314
windows refusing to shut down is what bothers me most. I suspect a windows update in fact, but who knows...
So I suspect a Windows Update as well, since I'm still using irr 1.6 and it only occured recently. I'm using XP, what are you using?
Have you ever noticed this without a debugger attached?
Have you ever noticed this without a debugger attached?
YASS - Yet another Space Shooter
under Devolpment, see http://yass-engine.de
under Devolpment, see http://yass-engine.de
I also shut down very seldomly, thats why I have 28 minimized console windows open at the time of writing...
However I you stop at the breakpoint, step and debug to your hearts desire, then remove the breakpoint and press the play button again ("start debugging") and wait for irrlicht to start looping it is then safe to stop debugging for the console window will close as it should as long as irrlicht was really running.
If it crashes though, the console remains open after the app has stoppped.
EDIT: XP aswell here and No, it only happens in debug for me, never in release.
EDIT2:
http://boardreader.com/thread/VS_2008_d ... 9e3ca.html
EDIT3:
However I you stop at the breakpoint, step and debug to your hearts desire, then remove the breakpoint and press the play button again ("start debugging") and wait for irrlicht to start looping it is then safe to stop debugging for the console window will close as it should as long as irrlicht was really running.
If it crashes though, the console remains open after the app has stoppped.
EDIT: XP aswell here and No, it only happens in debug for me, never in release.
EDIT2:
http://boardreader.com/thread/VS_2008_d ... 9e3ca.html
EDIT3:
The Problem is with the KB978037
once removed everything return to normal!
-
- Posts: 12
- Joined: Tue Feb 23, 2010 12:27 pm
- Location: Tübingen, Germany
- Contact:
So it is definetly a Windows update and not irrlicht bound, thanks for the link, zillion42.
But, since I wanted to put up a release soon and don't want to raise the anger of the users:
Did this ever happen to one of you with a release build and no debugger attached?
But, since I wanted to put up a release soon and don't want to raise the anger of the users:
Did this ever happen to one of you with a release build and no debugger attached?
YASS - Yet another Space Shooter
under Devolpment, see http://yass-engine.de
under Devolpment, see http://yass-engine.de
If you don't rely on some debug output from the console, you can remove it with something like the following, instead of your current main (just replace it)
I think, that this bug is not on MS' high priority list, so I removed the console window for now, although it continued some useful information.
Code: Select all
int __stdcall WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
YASS - Yet another Space Shooter
under Devolpment, see http://yass-engine.de
under Devolpment, see http://yass-engine.de