Re: Application "Nuked"
- From: Paul Breneman <SeeWebPageForEmailAddress@xxxxxxxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 19:42:15 -0400
Hi Kristofer,
We're having some trouble with a Delphi 6 app that sometimes just disappears without a trace. It happens within a timespan of typically 30 to 60 hours of continuous uptime. It's a heavily multithreaded system, but all threads are internally exception-safed (basically, a catch-all try-except block in the TThread.Execute method, which should report the occurrence and nature of any exception to a log file), so I'm rather at a loss to explain why we cannot see any kind of error message at all. We use no third party components or DLL's.
I'm wondering whether there's a knowledge base somewhere specifically oriented toward grave application crash symptoms and their causes. Or if you have experienced a similar situation and found the cause, it would be helpful if you would share your story for me and others to possibly learn from.
About one year ago (when I got my new PC with a P4 HT) I found that one of my threaded applications would sometimes just disappear without any trace. Delphi-2005 does that too (and probably many other apps).
Here is a blog that I think describes the main problem (found using this google search: IsBadReadPtr "stack guard page"):
http://blogs.msdn.com/larryosterman/archive/2004/05/18/134471.aspx
Look at the last several comment entries as they specifically discuss how this problem occurs: "hit the guard page twice in a row"
Anyway, in my program I had a string that needed a critical section around it. Hopefully your problem will have an easy fix too!
-- Regards, Paul Breneman http://www.TurboControl.com http://www.turbocontrol.com/TPSupport.htm - TurboPower support links .
- Follow-Ups:
- Re: Application "Nuked"
- From: Kristofer Skaug
- Re: Application "Nuked"
- References:
- Application "Nuked"
- From: Kristofer Skaug
- Application "Nuked"
- Prev by Date: Re: Stunning interview with Danny Thorpe
- Next by Date: Re: May I sell Delphi 2005 Personal Applications
- Previous by thread: Re: Application "Nuked"
- Next by thread: Re: Application "Nuked"
- Index(es):
Relevant Pages
|