Hello,
My plug-in copies InDesign documents (aka "templates") inside another one (aka "destination"), after doing some modifications in the "templates". It works on CS4 and CS5, but I have a hang in CS5 during the opening of one of the "templates". I use IDocumentCommands::Open() to open the document.
- The problem exists only in CS5 (haven't tried CS5.5) and not in CS4
- It appears the problem appears only if all my "templates" use different ICC Profiles than my workspace or "destination"'s profiles
- If I don't copy my "templates" in my "destination" but just modify them and close them, the hang doesn't appear neither.
- I tried to modify the ICC Profiles of the "templates" to be the same of the "destination" before modifications and copy (I don't save the "templates"), the problem appears but not at the same opening.
I puzzled... Have someone encountered a similar problem?
The stack is :
[...My code...]
6 GetPlugIn + 58568 (in Document Actions) [0x1f26d158]
6 CmdUtils::ProcessCommand(ICommand*) + 59 (in PublicLib.dylib) [0x116562b]
6 ??? (in AppFramework + 108264) [0x1e2d96e8]
6 ??? (in Utilities + 7372) [0x23e6bccc]
6 ??? (in Utilities + 6819) [0x23e6baa3]
6 Command::DoImmediate(short) + 34 (in PublicLib.dylib) [0x11644d2]
6 GetPlugIn + 2347 (in Open Place) [0x2121086b]
6 ??? (in Open Place + 6213) [0x2120f845]
6 GetPlugIn + 33990 (in Open Place) [0x21218406]
6 GetPlugIn + 29244 (in Open Place) [0x2121717c]
6 GetPlugIn + 2185 (in Document Actions) [0x1f25f519]
6 CmdUtils::ProcessCommand(ICommand*) + 59 (in PublicLib.dylib) [0x116562b]
6 ??? (in AppFramework + 108264) [0x1e2d96e8]
6 ??? (in Utilities + 7372) [0x23e6bccc]
6 ??? (in Utilities + 6819) [0x23e6baa3]
6 Command::DoImmediate(short) + 34 (in PublicLib.dylib) [0x11644d2]
6 ??? (in Document Actions + 10182) [0x1f2597c6]
6 ??? (in Document Framework + 57356) [0x1f29400c]
6 ??? (in Document Framework + 403670) [0x1f2e88d6]
6 ??? (in Document Framework + 402749) [0x1f2e853d]
6 ??? (in Document Framework + 402105) [0x1f2e82b9]
6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 48550 (in ObjectModelLib.dylib) [0x1076f86]
6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 42722 (in ObjectModelLib.dylib) [0x10758c2]
6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 110394 (in ObjectModelLib.dylib) [0x108611a]
6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 142405 (in ObjectModelLib.dylib) [0x108de25]
6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 55650 (in ObjectModelLib.dylib) [0x1078b42]
6 PreDirty(IPMUnknown*, IDType<ImplementationID_tag>, short) + 89 (in PublicLib.dylib) [0x136b929]
6 ??? (in ObjectModelLib.dylib + 177181) [0x106341d]
6 ??? (in ObjectModelLib.dylib + 175398) [0x1062d26]
6 GetPlugIn + 776491 (in AppFramework) [0x1e3a16bb]
6 GetPlugIn + 795294 (in AppFramework) [0x1e3a602e]
4 DatabaseSnapshot::GetPersistObjLastRevInfo(IDType<UID_tag>, IDType<ImplementationID_tag>, ILastRevInfoCache*) const + 332 (in DataBaseLib.dylib) [0x1108f9c]
4 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 15282 (in DataBaseLib.dylib) [0x1103a02]
1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 13974 (in DataBaseLib.dylib) [0x11034e6]
1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 12501 (in DataBaseLib.dylib) [0x1102f25]
1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 14199 (in DataBaseLib.dylib) [0x11035c7]
1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 13026 (in DataBaseLib.dylib) [0x1103132]
1 DatabaseSnapshot::GetPersistObjLastRevInfo(IDType<UID_tag>, IDType<ImplementationID_tag>, ILastRevInfoCache*) const + 168 (in DataBaseLib.dylib) [0x1108ef8]
1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 3738 (in DataBaseLib.dylib) [0x1100cea]
1 DatabaseSnapshot::GetPersistObjLastRevInfo(IDType<UID_tag>, IDType<ImplementationID_tag>, ILastRevInfoCache*) const + 330 (in DataBaseLib.dylib) [0x1108f9a]