IDE crashes when loading project

G

Guest

Hello all,

I have been recently running into a fairly annoying problem lately, the IDE
frequently crashes when I try to load my project. When I click to see what
the error report contains, the header dialog box comes up with:

An unhandled exception has been caught by the VSW exception filter.

Error signature
AppName: devenv.exe AppVer 7.10.3077.0 ModName: cslangsvc.dll
ModVer: 7.10.3077.0 Offset: 00016250

ModName, ModVer and Offset aren't always the same - so I'm guessing it might
be some memory corruption issue and the above may not help much - but about
95% of the time the error is either the above or:
ModName: mscorwks.dll ModVer 1.1.4322.573 Offset: 78a5

And every now and then it crashes in cslangvc at a different address.


Has anybody encountered similar problems and is there a workaround - e.g. do
I need to recreate my project file, etc. I've been playing around with
different files but no lock so far.

Once the project loads then it works fine, but lately that happens very
infrequently.

The code includes custom controls/components with quite a bit of code that
executes in the IDE (e.g. a timer, unsafe calls to the OS-memcopy functions
for fast bitmap copying), but this code has been here over a year and I
haven't run into any problems until recently -and again it works fine once it
loads.

The crash is nearly instantaneous - the solution explorer fills up with
files in the project and then the apology dialog appears. On success the
project takes about 30sec or so to load.

All feedback is greatly appreciated.
Markus
 
F

Floyd Burger

I had something similar a few years ago with the previous VS. One of my .cs
files had some control chars embedded in it. Try opening each .cs with
Notepad. Everything should be printable text (\x20 thru \x7E).
 
G

Guest

Thanks for the tip. If it recurs, I'll look into it, although I didn't
conciously add any control characters to my files.

This morning I managed to get around the problem by loading just one of the
project files (the solution has 3). Then I saved the result as a new solution
and manually loaded the remaining project files.

For some reason, after doing all this, the files in the first project I
loaded we're no longer "designer" files (i.e. I could only edit the code, I
couldn't bring up a form designer view). I'm not sure where that detail is
stored - perhaps in the .suo file. So then I manually removed and restored
the .cs files in that project and I was up and running again.

Unfortunately, I had originally grouped my components by type in the form
view for easier access (the form has over 100 components associated with it),
but that detail was lost so my components are now randomly distributed at the
bottom of the form in no apparent order. Well, nothing's perfect - at least
I'm back to editing my project - for now.

Markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top