Adobe-CEP/CEP-Resources

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

rahul-dutt-sharma opened this issue · 3 comments

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

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

@ErinFinnegan any updates on this?

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?