Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Startup/Shutdown    [ Add a report in this area ]  
Report #:  64662   Status: Closed
Rad Studio 2007 is crashing on exit often
Project:  Delphi Build #:  Version 11.0.29
Version:    11.2 Submitted By:   Martin Fensome
Report Type:  Crash / Data loss / Total failure Date Reported:  7/20/2008 9:29:01 PM
Severity:    Commonly encountered problem Last Updated: 1/10/2010 11:20:22 PM
Platform:    32 Bit Internal Tracking #:  
Resolution: Test Case Error (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
I've been working on a simple Win32 program, using Vista 32 bit OS, just a gui with checkboxes, radio buttons and pagecontrol, nothing fancy. Codeguard enabled.

After every session that lasts more than 30 minutes or so, if I exit with the X in top right corner, or do File, Exit, I get the msg from Vista that Rad Studio has stopped responding, no other information.

Windows Event viewer shows this:
Faulting application bds.exe, version 11.0.2902.10471, time stamp 0x475fc257, faulting module ntdll.dll, version 6.0.6001.18000, time stamp 0x4791a7a6, exception code 0xc0000005, fault offset 0x0004311a, process id 0xc58, application start time 0x01c8eae063ef232a.

I have applied the Dec 2007 update, the May help update and the April 08 hotfix - though the April 08 hotfix does not show in the list of updates on About.
Steps to Reproduce:
Nothing yet, but I will continue to try different options to isolate the cause.
Workarounds
None
Attachment
None
Comments

Martin Fensome at 7/26/2008 8:59:45 AM -
I was using GetText on a StringList within a ShowMessage function to show the strings I had read from the registry.
I read online somewhere that there was a memory leak in GetText().

CodeGuard alerted me to the memory leak. Once I commented out that call to GetText within the ShowMessage, the crashing problem was gone.

Server Response from: ETNACODE01