Crash when calling IActionManager::PerformAction() in InDesign SDK Sample
Steps:
1. On macOS, build sample plugin "SnapShot.sdk.xcodeproj" which is from Adobe InDesign SDK.
2. Load the plugin in InDesign.
3. Create a empty new document.
4. Open panel "Windows->SnippetRunner[US]"
5. From snippet name drop down list, select "ManipulateStructureView"
6. Cick "Go" icon button.
7. On parameter dialog, select "ChangeStructureViewState(toggle)".
8. Click OK.
9. Crash.
The attachment is the crash log.
For the same plugin with same operations, the crash only occurs on macOS, but not on Windows.
-
Dirk Becker commented
Having a look at the crash log - the crash is within signal handling of a Java VM. That Java VM is apparently loaded by a some modules "xPresso" that by their bundle ID (com.adobe.InDesign.xPressoPrd etc.) pretends to be from Adobe but is not present in my clean install. Neither is the Java VM, it must be an extra install. Remove all of those interfering modules and repost a clean crash log if you still can reproduce the crash.
-
Aidy commented
Steps:
1. On macOS, build sample plugin "SnapShot.sdk.xcodeproj" which is from Adobe InDesign SDK.
2. Load the plugin in InDesign.
3. Create a empty new document.
4. Open panel "Windows->SnippetRunner[US]"
5. From snippet name drop down list, select "ManipulateStructureView"
6. Cick "Go" icon button.
7. On parameter dialog, select "ChangeStructureViewState(toggle)".
8. Click OK.
9. Crash.
The attachment is the crash log.For the same plugin with same operations, the crash only occurs on macOS, but not on Windows.
-
Aidy commented
Steps:
1. On macOS, build sample plugin "SnapShot.sdk.xcodeproj" which is from Adobe InDesign SDK.
2. Load the plugin in InDesign.
3. Create a empty new document.
4. Open panel "Windows->SnippetRunner[US]"
5. From snippet name drop down list, select "ManipulateStructureView"
6. Cick "Go" icon button.
7. On parameter dialog, select "ChangeStructureViewState(toggle)".
8. Click OK.
9. Crash.
The attachment is the crash log.For the same plugin with same operations, the crash only occurs on macOS, but not on Windows.