> With the same appliaction configuration, the optimized version just
> silent crashes after 5-10 seconds no matter what I do :|!
> I know this is a beta and a very new feature but maybe someone here
> has some help for me.
Given the information available, there are too many possibilities of what
could be wrong. Aggressive optimization does not necessarily mean there is a
bug in the compiler.
If you feel comfortable sharing your project with us, we can investigate.

Signature
Brandon Bray, Visual C++ Compiler http://blogs.msdn.com/branbray/
Bugs? Suggestions? Feedback? http://msdn.microsoft.com/productfeedback/
Andre Lorbach - 03 Sep 2004 11:04 GMT
> > With the same appliaction configuration, the optimized version just
> > silent crashes after 5-10 seconds no matter what I do :|!
[quoted text clipped - 6 lines]
>
> If you feel comfortable sharing your project with us, we can investigate.
Thanks for your answer. It only crashes under stress circumstances.
I will analyze it further, it could be a bug in my code which just
didn't popup yet. The app is using multithreading and in my test where
it crashed, I had both CPU's at full usage. I will continue playing
around with this new optimization stuff and come back again when I
find the problem ;)
Steve McLellan - 07 Sep 2004 17:09 GMT
[]
> > If you feel comfortable sharing your project with us, we can investigate.
>
[quoted text clipped - 4 lines]
> around with this new optimization stuff and come back again when I
> find the problem ;)
Multithreaded apps are notoriously hard to debug when you get intermittent
faults. Make sure any resources that need to be are thread-safe, and make
sure the calls you're making from different threads are safe too. Bob
Powell's FAQ is a great resource for multithreading under .NET. Good luck!
Steve
Ioannis Vranos - 07 Sep 2004 23:05 GMT
> Bob
> Powell's FAQ is a great resource for multithreading under .NET. Good luck!
May you provide a URL?

Signature
Ioannis Vranos
Steve McLellan - 08 Sep 2004 11:03 GMT
> > Bob
> > Powell's FAQ is a great resource for multithreading under .NET. Good luck!
>
> May you provide a URL?
Hi,
Apologies, it's Jon Skeet's FAQ.
http://www.yoda.arachsys.com/csharp/multithreading.html
Sorry for not posting the link, very busy at the moment.
Steve