Author |
Topic |
|
Christopher Holt
Ketchup Master
USA
70 Posts |
Posted - Dec 07 2006 : 12:50:10 PM
|
Ever since updating to the latest VA releases (Currently on Build 1541) I have had problems with devenv.exe processes not going away after the app seems to have closed.
I spent awhile tracking this down and this is what I know. It only happens if running more than once instance of devenv. VA seems to be stuck in some sort of deadlock. This is apparent because both instances say "Waiting for other VS instance to flush DB" down in the status bar. If you then close VS it appears to have gone away but I notice that the open one still says "Waiting for other VS instance to flush DB". If I open Task Manager whala both devenv processes are still there. If I am not paying attention and don't notice the status bar I can end up with 6 devenv processes running. |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Dec 07 2006 : 1:01:52 PM
|
One particular bug that causes this to happen has been fixed for the next build
case=3828
This should only happen if you close the IDE while VA is rebuilding the symbol database or doing a lot of reparsing. Does this sound like what happens in your case? |
zen is the art of being at one with the two'ness |
|
|
Christopher Holt
Ketchup Master
USA
70 Posts |
Posted - Dec 08 2006 : 08:43:32 AM
|
I can't be completely sure but it is definitely possible. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Dec 08 2006 : 12:23:30 PM
|
If you wait for VA to finish parsing before closing the IDE this should limit, or even stop this happening. We are hoping to post a new build some time next week. |
zen is the art of being at one with the two'ness |
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Dec 08 2006 : 11:33:12 PM
|
But, in the meantime, Build 1541 was declared a general release? |
Joe Pizzi |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Dec 11 2006 : 09:03:09 AM
|
This is not a new problem, and so far I am only aware of two or three people reporting this issue.
I have spent quite a lot of time trying to pin down the cause of the problem that was fixed in case=3828, and it has been going on for a while - it was reported before 1540 was released. Now having a description of how to produce it, it is not to hard to reproduce.
As far as I can tell 1541 is as stable and reliable as 1540. Are you having additional problems with it?
Remember we never claim that a general release is bug free |
zen is the art of being at one with the two'ness |
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Dec 11 2006 : 10:23:45 PM
|
No, no other problems. Just wondering about the logic of declaring a release a "general release" with another one following so closely.
Not a big deal. Just an observation. |
Joe Pizzi |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Dec 12 2006 : 3:07:34 PM
|
I know I said that we need a new release once the fix for the options dialog not working under Vista has been done, since this is effecting quite a lot of people. |
zen is the art of being at one with the two'ness |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Dec 19 2006 : 9:21:50 PM
|
case=3828 is fixed in build 1543 |
|
|
SiteIntel
New Member
United Kingdom
3 Posts |
Posted - Jan 03 2007 : 05:05:34 AM
|
I am running the latest version, but this is still an issue (DevEnv not closing when using mutable copies). The majority of the work I do now is in C#. I am using VS 5.0 Team Ed for Software Devs.
VA_X.dll file version 10.3.1543.0 built 2006.12.19 Support ends 2007.02.02 VAOpsWin.dll version 1.3.4.1 VATE.dll version 1.0.5.5 DevEnv.exe version 8.0.50727.762 msenv.dll version 8.0.50727.859 Font: Consolas 11(Pixels) Comctl32.dll version 6.10.6000.16386 Windows Vista 6.0 Build 6000 2 processors
|
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 03 2007 : 08:34:56 AM
|
do you have any other plugin's installed? are you running the IDE as administrator? since you are running under Vista this may be a factor.
how frequently are you seeing this problem? if you are seeing quite often are you able to reproduce the problem on demand? |
zen is the art of being at one with the two'ness |
|
|
SiteIntel
New Member
United Kingdom
3 Posts |
Posted - Jan 03 2007 : 08:49:09 AM
|
I am running VS 2005 with SP1 & SP for vista beta. As I am currently doing C# work it does not seem necessary to run as Admin. Every time I run up more than one project this problem occurs.
As an aside, IMHO Vista is a crappy platform to do development work in. The OS got released, but without any support for there existing products. One can only hope things get better. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 03 2007 : 09:16:51 AM
|
First up you may want to look at this FAQ about installing VA under Vista:
http://docs.wholetomato.com?W296
If VA does not have rights to write to its own installation directory and the sub directories then it will not work correctly. However the problems this causes will show up with only one IDE running.
If VA works correctly with just one IDE running do you have time to try the following simple test? * make sure all IDE processes have been killed off * load 2 IDE's, but do not load any projects * quit both IDE's
do you have any problems with the IDE's shutting down when you do this?
If not can you load 1 IDE and a solution and then wait for both VA and the IDE to finish parsing before you load the second IDE and a different solution, again waiting for both VA and the IDE to finish parsing.
If you then close the two IDE's does everything close down correctly?
As for Vista its self I have not really looked into it, but I am not feeling that interested in it personally *shrug* |
zen is the art of being at one with the two'ness |
|
|
SiteIntel
New Member
United Kingdom
3 Posts |
Posted - Jan 03 2007 : 09:28:50 AM
|
I have granted user's all permissions on the VAX install directory, and this has solved this problem. Thanks for the support. |
|
|
Ivan A. Fotan
Ketchup Master
Ukraine
67 Posts |
Posted - Jan 04 2007 : 03:01:26 AM
|
It is not a Vista's (or VS under Vista) trouble -- I have the same under XP SP2. I got this trouble after installing SP1 for VS. |
IAF |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 04 2007 : 11:20:52 AM
|
Ivan what version of VA are you using?
There are (at least) two separate problems going on here. There is a known problem under some very specific circumstances that has been fixed in VA 1543. This particular problem has nothing to do with VS2005 SP1 or Vista. So can you try upgrading to this version and see if this fixes the problem.
http://www.wholetomato.com/downloads/VA_X_Setup1543.exe
If you still see this problem with VA 1543 how easily can you reproduce this problem? What are you doing to reproduce this problem?
I have just loaded two copies of VS2005 (with SP1 installed) on a win2k machine, using VS 1543, and closed both of them, and no devenv.exe processes are left running. |
zen is the art of being at one with the two'ness |
|
|
Ivan A. Fotan
Ketchup Master
Ukraine
67 Posts |
Posted - Jan 05 2007 : 02:44:58 AM
|
I'm using latest available build (1543), and looks like trouble is because VS cannot close solution -- even if I make File -> Close Solution. Solution's files which was opened left opened, but "Solution Explorer", "Class View", etc. windows are empty. And VS cannot be closed. When I press close button, or making File -> Exit nothing happens. Only one way - kill devenv.exe process. |
IAF |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 05 2007 : 07:53:52 AM
|
This is a totally different problem, and one I do not recognise.
Can you confirm you are using VS2005? Have you installed any hot fixes for the IDE? If you disable VA via VAssistX menu -> Enable / Disable Visual Assist X before closing the solution does this make any difference?
If you stop VA from loading, and then restart the IDE does this make any difference? How to stop VA loading is explained here: http://docs.wholetomato.com?W306 |
zen is the art of being at one with the two'ness |
|
|
Ivan A. Fotan
Ketchup Master
Ukraine
67 Posts |
Posted - Jan 05 2007 : 10:47:58 AM
|
At least for now I can confirm that I'm using VS2005 with SP1 (and with Vista's patch, but Vista's patch has no matter, because problem was before). And problem exists under XP SP2, and under Vista Ultimate (RTM, build 6000).
For example, just now, I'm trying to close VS, and got: "Solution Explorer" window is empty, but, "Proprty Manager" and "Resource Viewer" still has items from last opened solution. And all previous source windows which was opened, are still opened. And, as I told, pressing Close button has nothing now.
Will try with VA turned off, and will inform you result. |
IAF |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 05 2007 : 3:46:34 PM
|
I have just installed VS2005 SP1 onto a winXP pro SP2 machine with VA 1543, and I am not seeing anything like the problem you describe.
This is a fairly common configuration, and so far you seem to be the only person having this problem, which suggests it is something about your configuration or machine that is triggering this problem. So the trick is to find out what that something is. |
zen is the art of being at one with the two'ness |
|
|
Erik Olofsson
Tomato Guru
111 Posts |
Posted - Jan 06 2007 : 05:49:04 AM
|
I'm experiencing something similar. Visual Studio stops responding to all commands and even the windows explorer stops responding to right click. This has only happened when I have two instances of Visual Studio running, but I don't know if Visual Assist has anything to do with this. I'm running VS2005 with SP1 + SP1 for Vista beta.
When this happens it's not possible to close the Visual Studio. I think it might be connected to debugging as well.
Edit: It seems creating Windows in all of Windows becomes unstable. Does VA hook window creation and potentially stop them from being created? |
Cutting Edge Project Management http://www.hansoft.se |
Edited by - Erik Olofsson on Jan 06 2007 07:04:17 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 06 2007 : 6:59:36 PM
|
I am off to install VS2005 SP1 for Vista beta.
How easily can you reproduce this problem? Can you reproduce it with a couple of new default test projects? It is possible the size and complexity of your projects is a factor. |
zen is the art of being at one with the two'ness |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 08 2007 : 08:36:53 AM
|
I have installed VS2005 SP1 and the VS2005 SP1 Vista beta onto a Vista Business 32bit machine. I then loaded two instances of VS2005, both running as administrator, and loaded two separate C++ projects. I am not seeing any problems here.
This is with VA 1543 installed, and UAC turned on, but I am on the verge of turning that bloody thing off. |
zen is the art of being at one with the two'ness |
|
|
Ivan A. Fotan
Ketchup Master
Ukraine
67 Posts |
Posted - Jan 08 2007 : 12:10:23 PM
|
Looks like this happens (even if you have one copy of the VS) when your run via Ctrl+F5 (no debug), than, after GPF, debug your application.
After that, you cannot close VS. And when I'm trying to open another solution, VS asking me to save previous open solution, which should be closed already.
EDIT: And after trying to open new solution, and say "No" when asking to save previous one, VS goes into "Not Responding" :(
I'm not sure that it is VAX, but... |
IAF |
Edited by - Ivan A. Fotan on Jan 08 2007 12:12:37 PM |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 08 2007 : 1:06:16 PM
|
Using VS2005 SP1, win2k as my OS, and C++ I have added the following code to my main function in a test project:
printf("prepare to crash!");
int *p = NULL;
*p = 0;
I then ran this program using CTRL-F5, and when it crashed I selected to debug in a new instance of VS2005. I am not seeing any problems at all doing this.
I have also selected to debug in the current instance of VS2005 (only one instance open) and still no problems.
Ivan is this similar to what is happening for you? Can you suggest some sample code I can use to produce a similar type of crash to the one you are seeing? |
zen is the art of being at one with the two'ness |
|
|
Ivan A. Fotan
Ketchup Master
Ukraine
67 Posts |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 09 2007 : 08:04:03 AM
|
I am not immediately seeing anything odd in the logs. Can you try stopping VA from loading, as described in this FAQ, and see if this makes any difference to this problem?
http://docs.wholetomato.com?W306 |
zen is the art of being at one with the two'ness |
|
|
Ivan A. Fotan
Ketchup Master
Ukraine
67 Posts |
Posted - Jan 09 2007 : 11:18:11 AM
|
Without VAX I just got GPF into VS during exit process :( |
IAF |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jan 09 2007 : 3:06:39 PM
|
Wild theory - the IDE is throwing an error / exception that VA is catching, but does not know how to properly handle. This might explain what you are seeing.
How did you disable VA? Via the registry value to stop it loading, or just disabling it via VA's own enable / disable option?
Your results suggest VA is not a factor here, but it might still be involved. Do you have any other plugin's installed? Have you installed any hot fixes for the IDE? |
zen is the art of being at one with the two'ness |
|
|
aboyle
Starting Member
1 Posts |
Posted - Feb 19 2007 : 08:17:46 AM
|
I am using Microsoft Windows Vista operating system + ...
Microsoft Visual Studio 2005 + SP1 + Vista SP1 Hotfix (Beta) +
VA_X.dll file version 10.3.1544.0 built 2007.01.10
When I start Visual Studio and open a solution the status bar says:
"VA X:Sorting..."
It never comes back from this.
If I close Visual Studio and open the Task Manager there is still a copy of devenv.exe in the active processes. This happens every time I open a new instance of Visual Studio and open a project (solution). Eventually I end up with 5 or 10 devenv.exe processes and have to clean them up in Task Manager.
Also it seems that most of the functionality of VAX is broken - none of the hints etc come up, Alt+G not taking me anywhere near a definition, no brace completion.
If I start another instance of Visual Studio my status bar says "VA X: Waiting for other instance of Visual Studio to flush DB...".
Any ideas what I can do to get VA X and Visual Studio 05 to play nice together on Vista?
|
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Feb 19 2007 : 2:28:08 PM
|
You might have a permissions problem, see this FAQ for details:
http://docs.wholetomato.com?W296
If you do, then after you fix this can you go into VA's options dialog and select:
VA Options -> Performance -> General -> Rebuild symbol databases
to make sure that any problems are cleaned up. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|