Skip to main content
Known Participant
March 28, 2008
Question

Getting Assert after Exit Indesign

  • March 28, 2008
  • 1 reply
  • 288 views
Hi All,<br />I have an application in which i am writting and reading data to/from document.<br /><br />But when i exit indesign i get many asserts like.....<br /><br />b fTotalActiveLastRevInfoCount bad.<br /><br />b LastRevInfo ID= 3 leaked. Possibly others as well.<br /><br />b ASSERT 'fRefCount == 0' in ..\..\..\source\components\appframework\commandmgmt\LastRevInfoCache.cpp at line 204 failed.<br /><br />b Erased LastRevInfo list not empty at block delete time<br /><br />b blockUID = 2 not freed <br /><br />in may application i am querying for layout control data and socument layer<br />and i am releasing them at the end.<br /><br />and one more thing i am using <br /><br />InterfacePtr<IHierarchy> child(hierarchy->QueryChild(childIndex));<br /><br />b should i need to release "child" also????????<br /><br />and what is LastRevInfoCache.cpp????<br /><br />i am not getting why i am getting these asserts.<br /><br />thanks
This topic has been closed for replies.

1 reply

Known Participant
April 29, 2008
Hello dude0000
No therz no need to handle InterfacePointer as it is a smart pointer. The errors you are getting are just because of memory leaks. check out any references which you are taking and not releasing.

Regards,
MS Choudry