View Issue Details

IDProjectCategoryView StatusLast Update
00031603 - Current Dev ListBugpublic2019-02-20 00:23
ReporterK7ZCZ 
Assigned ToK7ZCZ 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version6.5.0.187 
Target VersionFixed in Version6.5.0.192 
Summary0003160: ALE leaks checked listbox, dialog boxes, for each invocation
DescriptionThe Logbook's ALE window doesn't correctly destroy the dialog boxes it creates for each tab in the tabbed part of the main ALE dialog. There's about a dozen; some of them include pretty complicated data structures ... most notably, the Awards tab includes two checked list boxes that each contain about 50 items.

All of these objects leak each time the ALE is opened and closed.

The Logbook also leaks the ALE window itself. The window isn't closed correctly. Since it is modeless, it should be closed with a call to DestroyWindow(). No such call is ever made.

Steps To Reproduce1) Fire up the Logbook under the debugger
2) Open the ALE
3) Close the ALE; don't need to do anything else.
4) Close the Logbook.

BUG#1) The debugger shows a big pile of leaked objects.



Several messages like this:

d:\agent\_work\3\s\src\vctools\vc7libs\ship\atlmfc\src\mfc\dlgcore.cpp(136) : AppMsg - Warning: calling DestroyWindow in CDialog::~CDialog --
d:\agent\_work\3\s\src\vctools\vc7libs\ship\atlmfc\src\mfc\dlgcore.cpp(137) : AppMsg - 	OnDestroy or PostNcDestroy in derived class will not be called.


and like this:

d:\agent\_work\3\s\src\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {869520} normal block at 0x23321298, 168 bytes long.
 Data: <  2#        `[  > A0 07 32 23 CD CD CD CD 00 00 00 00 60 5B A1 0A 
{869510} normal block at 0x0EC28868, 294 bytes long.
 Data: <  =             > EC 90 3D 06 8A 00 00 00 8A 00 00 00 01 00 00 00 
{869500} normal block at 0x14BD2DA0, 86 bytes long.
 Data: <  = "   "       > EC 90 3D 06 22 00 00 00 22 00 00 00 01 00 00 00 
{869490} normal block at 0x231E2C10, 84 bytes long.
 Data: <  = !   !       > EC 90 3D 06 21 00 00 00 21 00 00 00 01 00 00 00 
{869480} normal block at 0x231E2B90, 84 bytes long.
 Data: <  = !   !       > EC 90 3D 06 21 00 00 00 21 00 00 00 01 00 00 00 


are shown, describing the leaks and bad window management.


TagsNo tags attached.
ModuleLogbook
Sub-ModuleFunctional
Testing Not Tested

Relationships

Activities

K7ZCZ

2019-02-08 12:35

manager   ~0007326

fixed with this checkin:
https://hrdsoftware.visualstudio.com/HRD/_versionControl/changeset/4814

WA9PIE

2019-02-20 00:23

administrator   ~0007450

Accepted as validated

Issue History

Date Modified Username Field Change
2019-02-05 14:05 K7ZCZ New Issue
2019-02-08 12:35 K7ZCZ Assigned To => K7ZCZ
2019-02-08 12:35 K7ZCZ Status new => resolved
2019-02-08 12:35 K7ZCZ Resolution open => fixed
2019-02-08 12:35 K7ZCZ Note Added: 0007326
2019-02-13 07:59 K7ZCZ Fixed in Version => 6.5.0.192
2019-02-20 00:23 WA9PIE Status resolved => closed
2019-02-20 00:23 WA9PIE Description Updated View Revisions
2019-02-20 00:23 WA9PIE Steps to Reproduce Updated View Revisions
2019-02-20 00:23 WA9PIE Testing Not Started => Not Tested
2019-02-20 00:23 WA9PIE Note Added: 0007450