Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Error "Cannot Set Allocations"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrDoomMaster
Tomato Guru

251 Posts

Posted - Dec 25 2009 :  6:44:29 PM  Show Profile  Reply with Quote
Hello,

I'm running the latest beta for VS2010 and when I start visual studio I get an error that says "Cannot set allocations" and all options in the VAssistX menu are disabled.

I was doing some crazy project restructuring in my solution when this happened.

Note that this only happens when I double-click an SLN file, which causes visual studio 2010 to load and immediately open that solution.

If I open Visual Studio 2010 first, wait for VAX to load, and then Load Solution, it works fine.

Edited by - MrDoomMaster on Dec 25 2009 6:46:26 PM

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Dec 29 2009 :  1:09:36 PM  Show Profile  Reply with Quote
Do you have any other IDE plugin's installed?

If you create a new, default solution of the same language / type as this problem solution, do you see the same problem? So far I cannot reproduce the problem here.

Which OS are you using?

zen is the art of being at one with the two'ness
Go to Top of Page

invino4
Senior Member

35 Posts

Posted - Jan 21 2010 :  12:29:16 AM  Show Profile  Reply with Quote
I experienced the same problem following a VS crash while debugging a program. After restarting VS it gave me the "Cannot set allocations" error. I grabbed a minidump of the devenv.exe process during the crash, but don't have any symbols for VA_X.dll.

The problem appears to have now (temporarily) disappeared on my machine at the moment, so I can't repro.

I'll drop in the dump somewhere if you'd like?
Go to Top of Page

cadwerx
Starting Member

1 Posts

Posted - Jan 21 2010 :  08:53:07 AM  Show Profile  Reply with Quote
I get this problem often in VS 2010. It can usually be fixed by starting VS without a solution and then going to the VA options and clearing the 'History, cache and temporary files' under Performance.

Perhaps a file used by VA is being corrupted when VS crashes?

If there's anything I can do to help debug it let me know...
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 21 2010 :  4:59:04 PM  Show Profile  Reply with Quote
@invino4: if the dump zips down to less than 5MB, you can get it to us by using this form:
http://www.wholetomato.com/support/contact.asp


Everyone else, please let us know if you have any other addins/extensions installed when this occurs.

Also, native (unmanaged) minidumps taken when the message box is being displayed could be helpful.

Edited by - sean on Jan 21 2010 4:59:34 PM
Go to Top of Page

invino4
Senior Member

35 Posts

Posted - Jan 21 2010 :  11:26:56 PM  Show Profile  Reply with Quote
the whole dump (without heaps) was only 1.2MB so I sent it without zipping. Let me know if you need more.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Jan 25 2010 :  3:13:22 PM  Show Profile  Reply with Quote
We have the mini dump, thank you for this:

case=38543

Unfortunately, so far no clues in the dump file. invino4 do you have any other addins/extensions installed?

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

What type of project and programming language are you seeing this problem with?

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 25 2010 :  8:46:51 PM  Show Profile  Reply with Quote
@MrDoomMaster: does this message always occur when you double-click a solution?
Go to Top of Page

invino4
Senior Member

35 Posts

Posted - Jan 25 2010 :  9:35:07 PM  Show Profile  Reply with Quote
* I don't have any other add-ins installed in my config right now. It just vanilla Beta 2 + VAX. I have only been programming in C# lately, so that is the only projects that I have in my solutions. I don't know if the problem occurs with other languages or project types.

* The problem doesn't occur all of the time. Only once in a while. It only occurs when either you open VS by clicking on a SLN file OR you have the "Open last solution" option turned on which causes it to open the last solution you had open when it starts. It may only happen after VS has crashed, but I can't yet confirm that.

* I have also found that the workaround which cadwerx indicated of opening VS *without* a solution (holding down shift works for this if you have the option above turned on) and then opening the solution *after* VS is open and VAX has initialed avoids the issue.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Jan 26 2010 :  11:02:12 AM  Show Profile  Reply with Quote
Do you have any anti-virus or anti-spyware software installed?

I am wondering if something is occasionally interfering with the IDE's ability to load the solution on startup. This seems unlikely, but not impossible.

zen is the art of being at one with the two'ness
Go to Top of Page

invino4
Senior Member

35 Posts

Posted - Jan 27 2010 :  02:50:23 AM  Show Profile  Reply with Quote
Nope, no AV on this machine.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18951 Posts

Posted - Jan 28 2010 :  3:23:40 PM  Show Profile  Reply with Quote
It looks like this is being discussed via email:

case=38543

A mini dump while the error is on the screen will hopefully offer some clues.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 12 2010 :  12:28:32 AM  Show Profile  Reply with Quote
We have posted build 1812 for Visual Studio 2010 RC. It does not have a fix for the 'Cannot set allocations' problem. If you get that message, please contact us at http://www.wholetomato.com/support/contact.asp
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 23 2010 :  03:18:43 AM  Show Profile  Reply with Quote
The "cannot set allocations" problem is case=39412, and is fixed in build 1822

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000