Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InDesign crashes when a native plugin is used AND there is a CEP plugin with eventHandlers attached via JSX #474

Open
rahul-dutt-sharma opened this issue Nov 3, 2022 · 3 comments

Comments

@rahul-dutt-sharma
Copy link

Hi,

We have been shipping a CEP extension which has been running fine for many years
in the JSX we listen to InDesign app's document close and open events like this ..

function registerEvent() {
    app.addEventListener("afterOpen", findMissingFonts);
    app.addEventListener("afterClose", closeDocument);
}

Now we recently got a support ticket where the client's InDesign was crashing when our plugin was enabled
Turns out that they also have a C++ plugin which calls

Utils<IDocumentUtils>()->CloseAll();

I will attach the sample C++ plugin in the ticket
BasicDialog.sdk.InDesignPlugin.zip
basicdialog.zip

Once, this crash occurs here is the log
crash.log

@ErinFinnegan
Copy link
Contributor

Hi @rahul-dutt-sharma. The engineering team is looking into this.

@rahul-dutt-sharma
Copy link
Author

@ErinFinnegan any updates on this?

@ErinFinnegan
Copy link
Contributor

I'm following up... Have you posted about this in any of the InDesign forums as well? Are you in the InDesign prerelease? Is it still a problem in InDesign 18.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants