View Issue Details

IDProjectCategoryView StatusLast Update
0006427JEDI Code LibraryJclUnitVersioningpublic2019-04-13 15:43
ReporterBrian THOMASAssigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
Status newResolutionopen 
Product VersionVersion 2.5 (Subversion repository/Daily zips) 
Target VersionFixed in Version 
Summary0006427: The Include Unit Versioning JCL feature causes an app crash at exit time
DescriptionWe built the JCL with the Include Unit Versioning feature turned on, which is the default setting. Then we built our own MS Office plugin dll that links to the JCL.

We saw there is sometimes a crash at app exit time when the JCL-linked dll is unloaded.

As the Systemp.pas:FinalizeUnits method walks the UnitEntryTable from its tail-end, it calls the FInit address member in the table, which is set to the Finalize method for each unit. When it gets to the Finalize for JclUnitVersioning.pas it suffers an access violation, and then all subsequent calls to FinalizeUnits fail. I would have expected JclUnitVersioning.pas to make itself the last thing to be finalized - looks like it tugs the rug from under its own feet.
Additional InformationOriginally recorded as part of issue 0006403

You can avoid the problem by rebuilding the JCL with Include Unit Versioning turned off.
TagsNo tags attached.
Fixed in GIT commit
Fixed in SVN revision
IDE versionDelphi/C++Builder XE3

Relationships

duplicate of 0006165 feedbackAHUser COM Client and COM Server include JclDebug => Access Violation 

Activities

2015-08-13 11:32

 

2015-04-24 - FogBugz.pdf (294,043 bytes)

Brian THOMAS

2015-08-13 11:33

reporter   ~0021178

Last edited: 2015-08-13 11:43

I've uploaded a pdf containing a page from my development diary showing the limited investigation I've already done.

mh

2019-04-13 15:43

reporter   ~0021680

May this be a duplicate of this one as well?
http://issuetracker.delphi-jedi.org/view.php?id=6364

Issue History

Date Modified Username Field Change
2015-08-13 11:08 Brian THOMAS New Issue
2015-08-13 11:08 Brian THOMAS IDE version => Delphi/C++Builder XE3
2015-08-13 11:32 Brian THOMAS File Added: 2015-04-24 - FogBugz.pdf
2015-08-13 11:33 Brian THOMAS Note Added: 0021178
2015-08-13 11:43 Brian THOMAS Note Edited: 0021178
2016-08-06 00:49 AHUser Relationship added duplicate of 0006165
2019-04-13 15:43 mh Note Added: 0021680