Strange bug in Visual Studio 2008 SP1 when you undock or dock tool windows and enter debug mode

After installing Visual Studio 2008 SP1 on my laptop with Vista Ultimate I suddenly experienced a lot of crashes while working. The crashes seemed random at first, but also appeared to become more frequent and of course increasingly annoying.

To begin with I figured that something might have been corrupted, as I previously had the SP1 Beta installed as well as a lot of other beta stuff, so I uninstalled everything related to Visual Studio and .Net and a few installed updates, and reinstalled Visual Studio from scratch and updated to SP1.

But that didn't help. Problem was still there, and I was truly puzzled and a bit angry, as I am preparing my Entity Framework talk at ONUG and need to update my demos, and obviously have a stabile environment for the demo (I suppose this is where I start considering a VPC for that purpose).

So now I looked in the event log, where I got the very little informative error message:

"Program med fejl devenv.exe, version 9.0.30729.1, tidsstempel 0x488f2b50, modul med fejl unknown, version 0.0.0.0, tidsstempel 0x00000000, undtagelseskode 0xc0000005, forskydning med fejl 0x777833fe, proces-id 0x1978, programmets starttidspunkt 0x01c9102ed5c3f8a0."

Having no clue what is causing this random error, I decide to notice exactly what I do before the error occurs. I notice that it always happens when I enter debug mode in visual studio. So far so good, but otherwise it just seems totally random.

I decide to make an error dump with Debugging Tools. And now I just have to reproduce the error. Now this is strange, because no matter how many times I entered debug mode it just didn't crash. Typical. Until I finally remember that I had been undocking and redocking my tool windows, because they where cluttering up the interface. And this was it!!

So because I undocked my tools, Visual Studio crashed when entering debug mode. I googled it and found this error report. But no immediate solution, just "Thanks for reporting the issue. It has been reproduced and will be addressed in a future version or patch of Visual Studio."

The only thing to do at the moment, if you have the problem, is to leave the tool windows docked, and if you have to move them or redock them, then first close the window, open it again and reposition it.

Posted September 6, 2008 by Joachim Lykke Andersen
In

Comments [3]   
Sunday, September 07, 2008 10:48:48 AM (Romance Standard Time, UTC+01:00)
Its sad because the more i use Visual Studio 2008 SP1 the more i realise that they focused on getting some new features out of the door, and less on making Visual Studio 2008 a solid and fast dev enviroment. I have a simular problem when i try to layout CSS using the automatic layout tool, it just crash. And sometime things in the ASP.NET Design view, dont show up in source view, and the markup is not saved. That is a bummer.
Tuesday, September 09, 2008 12:37:25 AM (Romance Standard Time, UTC+01:00)
I think your right. This should have been called a feature update, this is bordering the unacceptable as there appears to be many very workflow critical bugs - I sincerely hope that we will se an SP2 soon.
Thursday, November 13, 2008 4:40:59 PM (Romance Standard Time, UTC+01:00)
I am facing the same problem with SP1 and I can't stay up for more than about 30 minutes without Visual Studio crashing. It's a total pain to have to save after every 10 to 15 lines of code or any fix so you don't lose everything.

Sure Visual Studio does recover but that isn't consistent but then you have to remember everything that you might have changed. FRUSTRATING to have to fix bugs 3 or 4 times.
Wayne Hamberg
All comments require the approval of the site owner before being displayed.
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview