PDA

View Full Version : Debugging in MSVS leaves zombie console window



T4ng10r
10th March 2010, 10:36
Some time ago Qt has start to leave console window if I stop debug process. I find console app in Task manager in App tab, but there's no sign of them in Process tab. And i can't close console otherwise then after computer hard reset.

For example - program stops on my breakpoint and I decide to stop debugging by SHIFT-F5. App GUI vanishes, but console window stays. It's even more frustrating when program crashes - I can't push it further and the only thing I can i s to stop debug.
On the other hand - if I choose 'Detach all' from Debug menu - then app and console disappears (sometimes even this won't help).
In release mode - there's no problem, even during crash.

It seams like debug service leaves some strange hook or connection and refuses to close console (or entire app).

--
Microsoft Visual Studio 2005 Pro edition.
Qt 2009.05 OpenSource edition compiled under MSVS
Project created by CMake

Lesiok
10th March 2010, 11:17
We observe this same on VS 2008 since about 1 week. Problem occurs only on Windows XP, not on Vista.

Piskvorkar
10th March 2010, 13:41
I've seen this problem in our application, I seems it is caused by microsoft path KB978037 - see http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/64edc1fe-94dc-4f44-8e17-03331a203ac8 for more info. Unistalling of this path should fix it.

I hope it will be useful.

T4ng10r
11th March 2010, 09:59
After KB978037 update removed from system problem vanishes.
I hope that Microsoft will solve this problem with other patches.
Thx Piskvorkar.