Discussion:
Repeatable devenv.exe crashes VS 2005 SP1
(too old to reply)
Brett
2009-04-15 21:57:03 UTC
Permalink
devenv.exe (VS2005SP1) crashes when switching to "Design View" on my main
form in a C# application environment. This only happens in this particular
project. I can compile and things work perfectly.

Below is posted the event log information

Event information:
Bucket 1228495110, bucket table 1, faulting application devenv.exe, version
8.0.50727.762, stamp 45716759, faulting module unknown, version 0.0.0.0,
stamp 00000000, debug? 0, fault address 0x10df79d3.

Also:
.NET Runtime version 2.0.50727.4005 - Fatal Execution Engine Error
(7A2E111A) (0)

Also:
Faulting application devenv.exe, version 8.0.50727.762, stamp 45716759,
faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0, fault
address 0x10df79d3.

I made it as far as I could with the debugger to be able to tell it's
crashing on a null pointer.
I do have a custom user-painted usercontrol. But I've removed all the
painting information from code and the issue still occurs.
Additionally, "devenv.exe /safemode" doesn't fix the problem.

Please help if possible. Doing it manually for now and it's a real pain.
Brett
2009-04-16 21:37:02 UTC
Permalink
This has been resolved:

It took a while to track down.

I had a Timer object with an event setup in the constructor of my
UserControl. The event accesses an object and I wasn't checking for a null
refrence on that object before accessing its members. In code it worked
because I create the object and set it before the timer event fires.
Apparently, it didn't work that well for the IDE.
Post by Brett
devenv.exe (VS2005SP1) crashes when switching to "Design View" on my main
form in a C# application environment. This only happens in this particular
project. I can compile and things work perfectly.
Below is posted the event log information
Bucket 1228495110, bucket table 1, faulting application devenv.exe, version
8.0.50727.762, stamp 45716759, faulting module unknown, version 0.0.0.0,
stamp 00000000, debug? 0, fault address 0x10df79d3.
.NET Runtime version 2.0.50727.4005 - Fatal Execution Engine Error
(7A2E111A) (0)
Faulting application devenv.exe, version 8.0.50727.762, stamp 45716759,
faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0, fault
address 0x10df79d3.
I made it as far as I could with the debugger to be able to tell it's
crashing on a null pointer.
I do have a custom user-painted usercontrol. But I've removed all the
painting information from code and the issue still occurs.
Additionally, "devenv.exe /safemode" doesn't fix the problem.
Please help if possible. Doing it manually for now and it's a real pain.
Loading...