Re: Dialog Editor Crash
- From: David Lowndes <DavidL@xxxxxxxxxxxxxxx>
- Date: Mon, 20 Mar 2006 08:03:34 +0000
I worked all day Saturday on it and was able to come up with a pretty simple
sample project that reproduces the Resource Editor crash and the Find Symbol
bug. I sent both in as bug reports. We'll see what happens.
Great, can you paste the link to your bug report here - it'll give
others the opportunity to have a look at it and maybe verify it.
I haven't figured out a way to isolate the optimizer problems to any more
than the subroutine. Since it doesn't happen in debug you can't really break
at the point of the crash.
You can debug the optimised version if you set the appropriate debug
generation options on the project's C/C++ and Linker tabs. Also, have
a look for "Turn on Generation of Debug Information for the Release
Build" in your VC++ help.
As it's an optimised build the compiler will rearrange the code - so
lines of source don't always match and variables aren't often what the
debugger reports them to be - you can do it, but you have to
disbelieve a lot of what you get told and look a bit deeper, possibly
into the registers.
I'm not sure how one would find "incorrect code that happens to give correct
results without the optimizations". I'd like to see an example of how that is
possible. Can you think of an example of such a thing?
Not on the spur of the moment. I have reported a couple of such things
myself that I believed were clearly compiler optimisation bugs, only
to be told by MS that the code was incorrect - and indeed it was.
These things are difficult to spot if you're too close to the code, it
often pays to go through it with a fine tooth comb with a colleague.
BTW, is http://lab.msdn.microsoft.com/productfeedback/ the best place to
report VS2005 bugs? That's where I submitted them.
Yes. If you have blocking issues and need a solution quickly, it's
best to ring MS and report the bug. That way their official channels
will function to get you a workaround and/or a quick fix - if it's
feasible.
Dave
.
- References:
- Re: Dialog Editor Crash
- From: David Lowndes
- Re: Dialog Editor Crash
- From: David Lowndes
- Re: Dialog Editor Crash
- From: Michael
- Re: Dialog Editor Crash
- Prev by Date: Re: Dialog Editor Crash
- Next by Date: Re: Dialog Editor Crash
- Previous by thread: Re: Dialog Editor Crash
- Next by thread: Re: Dialog Editor Crash
- Index(es):
Relevant Pages
|