Skip to main content
Participant
December 6, 2024

Reopening Panel Causes Crash on Mac: Problem with CS Interface closeExtension();

  • December 6, 2024
  • 7 replies
  • 727 views

Hi! I'm developing an extension and I'm running into a bug when testing my ZXP on Mac. Able to repro on a fresh project (video attached), and on a friend's system as well. 

Here's the steps to reproduce:

1. Main Panel: Button that runs CS Interface's requestOpenExtension to open a Settings Panel.  
2. Settings Panel: Button that runs CS Interface's closeExtension. 
3. Main Panel: Same button, crashes AE when trying to open Settings panel again. 

Notably, the crash does not occur when closing the Settings panel by closing through the OS.

Crash does not occur on Windows or on dev server. 

Logs: 
On Main + Settings:

2024-12-05 12:45:32:614 : ERROR ClientInitialized begin
2024-12-05 12:45:32:614 : ERROR ClientInitialized end
[1205/124532.885219:INFO:CONSOLE(40)] "/Library/Application Support/Adobe/CEP/extensions/com.dummy.cep/jsx/index.js", source: /Library/Application Support/Adobe/CEP/extensions/com.dummy.cep/assets/bolt-0331cf97.js (40)
[1205/124532.885219:INFO:CONSOLE(40)] "/Library/Application Support/Adobe/CEP/extensions/com.dummy.cep/jsx/index.js", source: /Library/Application Support/Adobe/CEP/extensions/com.dummy.cep/assets/bolt-0331cf97.js (40)
2024-12-05 12:47:12:607 : ERROR Heartbeat call failed.


On Main-renderer: 

2024-12-05 12:47:12:530 : ERROR RequestOpenExtension caught NSInvalidReceivePortException: connection went invalid while waiting for a reply because a mach port died

 
Machine that I'm testing on is M1 Mac, and friend's machine which also crashes when that happens was an M3 Mac. Crash still occurs when running with Rosetta.   

Pretty hard prog-stop as I was looking to distribute ZXP, & would still need to be able to support Mac users. Any help or guidance would be much appreciated!! 

7 replies

JohnColombo17100380
Community Manager
Community Manager
February 11, 2025

@Matt2894429885pz Unfortunately there is no update on this at the moment. Until the issue is resolved, I'd agree that you may want to rework your extension to avoid using closeExtension for the settings.

 

Cheers,

- John, After Effects Engineering Team 

Participant
February 9, 2025

Hi John! Just checking back in, any progess on a solve for this?  Or am I better off to rework my extension to not use closeExtension? 

Participant
December 17, 2024

Thanks John! Definitely keep me in the loop if you find a way around it!

JohnColombo17100380
Community Manager
Community Manager
December 17, 2024

Hi @Matt2894429885pz,

Thank you for sharing those ZXP packages. We are also able to reproduce the crash on macOS and now have a ticket open to investigate potential fixes.

 

Thanks again for reporting this issue,

- John, After Effects Engineering Team  

JohnColombo17100380
Community Manager
Community Manager
December 16, 2024

Hi @Matt2894429885pz,

Thank you for the ping! Would you be able to share the ZXP that exhibits the crash with us? Feel free to use a DM to me. Reproducing the crash on our side would be the most helpful as we investigate the root cause.

 

Additionally, have you reported any of these crashes via the Crash Reporter dialog with your email? Looking at those reports would also be helpful.

 

Thanks again the report,

- John, After Effects Engineering Team 

Participant
December 15, 2024

@JohnColombo17100380 Hey John, sorry for the direct ping, but I'm still stuck on this. Would you happen to have any advice? 

Participant
December 6, 2024

Oh! Forgot to mention. Initial test was on AE 23.2.1, and still occurs on  AE 25.