After Effects 26.3 crashes in AdobeSVGRE when several SVG files are imported in a single ExtendScript call
After Effects 26.3 crashes in AdobeSVGRE when several SVG files are imported in a single ExtendScript call
Environment
- After Effects 26.3.0 (build 26.3x87), macOS 26.2 (25C56), iMac
- SVGs imported via
app.project.importFile(new ImportOptions(new File(...)))from ExtendScript - Reproduces in a nearly empty project (Untitled Project) and in a large production project
Summary
Importing several SVG files back to back inside one script call makes After Effects crash or hang. Importing the same files one per script call has never failed (7 of 7). Importing the same four files in one call with $.sleep(2000) between imports passed in 2 of 2 runs.
Crash report (After Effects-2026-10-29-103909.ips)
Exception: EXC_BAD_ACCESS (SIGABRT), KERN_INVALID_ADDRESS at 0x0000000000000040 (null pointer dereference), main thread.
Module chain of the faulting thread, from the crash upward:
libsystem_kernel > libsystem_pthread > libsystem_c (abort)
> dvacore (Abort / SignalHandler) > libsystem_platform (_sigtramp)
> AdobeSVGRE > AdobeSVGAGM > PIN.dylib > AfterFXLib > MEE.dylib
> Scripting > extendscript > Scripting > AEGPDriverSo the fault happens inside the SVG rendering engine while the importer (PIN) runs on behalf of a script. The .ips file is available on request (it contains local paths, so it is not attached here).
Steps to reproduce
- Open After Effects 26.3 on macOS 26.2 and create an empty project.
- Run this script (four SVG exports from Figma, each about 700 KB, with about 130 paths, 45 clipPaths, 4 to 5 masks, 1 to 2 filters and 2 gradients):
javascript
var names = ["notice-1.svg","notice-2.svg","notice-3.svg","notice-4.svg"];
for (var n = 0; n < names.length; n++) {
app.project.importFile(new ImportOptions(new File(dir + names[n])));
}- After Effects freezes or crashes. It is intermittent: some runs of the same script finish and crash later.
What I tested
- One SVG per script call: fine, 7 of 7, including the same four files and a 12 KB SVG with plain paths and rects.
- Four SVGs in one call, no pause: crashed or hung on 2 of 2 runs in the empty project, plus hangs in earlier runs in the production project.
- Four SVGs in one call with
$.sleep(2000)between imports: fine, 2 of 2 runs. - Each file rendered correctly afterwards, also as a 3D layer in the Advanced 3D renderer, so the files themselves look valid.
Limits of this report
- Only one of the crashes left an After Effects crash report. The other crashes and hangs left no report from After Effects.
- Several
crashpad_handlerreports (EXC_BREAKPOINT insideExceptionHandlerServer::Run) appear at the same times as some of the hangs. I believe they are a consequence of After Effects dying, not the cause. - On earlier days this machine also had After Effects crashes in other modules (BEE, MC, MEE, dvacompressionengine, Calder). They are not related to SVG and are not part of this report.
Expected
Importing several SVG files in one script call should not crash After Effects.
Workaround
Import one SVG per call, or add a pause of about 2 seconds between imports.
