Repository navigation
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
44.0.0
What operating system(s) are you using?
Ubuntu
Operating System Version
Ubuntu 24.04.4 LTS (Noble), Linux 7.0.0-30-generic, X11 via Xvfb
What arch are you using?
x64
Last Known Working Electron version
No reliable last-known-working Electron version. The failure is intermittent and has not been compared against a controlled older-Electron matrix.
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
Under the stated packaged-AppImage startup conditions, Electron should initialize Fontconfig, start the main process, and create the first BrowserWindow without terminating.
Actual Behavior
The Electron browser/main process intermittently exits with SIGTRAP during application startup.
The failure has been observed in independent command-line startup cases that use valid debug-level options and valid diagnostic-log-directory options. The fully symbolicated instance occurred while a valid debug-level startup case was initializing; other instances occurred after internal service readiness while creating the first BrowserWindow.
This is a native SIGTRAP from Electron/Chromium PartitionAlloc, not a harness timeout, SIGTERM cleanup, OOM event, disk-full event, or GPU-process failure.
Testcase Gist URL
No public testcase is currently available because the packaged application is closed source. The failure is reproduced by repeatedly launching one retained Linux AppImage through the sequential startup matrix described in Additional Information. A matching Crashpad minidump, full symbolicated output, and a retained-binary reproduction environment are available privately on maintainer request.
Additional Information
Summary
This is an intermittent native SIGTRAP from Electron 44.0.0 on Ubuntu 24.04.4.
Electron's matching public Linux x64 symbols resolve the crash to partition_alloc::internal::FreelistCorruptionDetected. Detection occurs when Fontconfig calls strdup() while parsing font XML configuration.
This identifies where Electron detected invalid allocator freelist metadata. It does not prove that Fontconfig, Pango, or Expat made the earlier invalid write or free.
Environment
- Electron:
44.0.0 - Electron public-symbol debug ID:
E798769358C1C954E22B4446B9C113EB0 - OS: Ubuntu
24.04.4 LTS(Noble) - Kernel:
7.0.0-30-generic - Architecture: x64
- Display: X11 via Xvfb
- Virtualization: VirtualBox
- VM memory: 5 GiB
- Virtual GPU acceleration: disabled
Relevant Ubuntu packages:
- fontconfig:
2.15.0-1.1ubuntu2 - libfontconfig1:
2.15.0-1.1ubuntu2 - libpango-1.0-0:
1.52.1+ds-1build1 - libpangoft2-1.0-0:
1.52.1+ds-1build1 - libexpat1:
2.6.1-2ubuntu0.4
Controlled Reproduction Process
The product is a closed-source Linux AppImage. I do not yet have a standalone public reproducer.
The failure is captured using one retained AppImage, so no rebuild occurs between attempts:
- Extract the AppImage once with
--appimage-extract. - Run the extracted
AppRunrepeatedly. - Use one Xvfb display and one D-Bus session for a run.
- Use a minimal Fontconfig configuration containing only system font directories, then run
fc-cache -f. - Start only one application process at a time.
- Give each launch a fresh temporary data directory, XDG cache/config/runtime directories, diagnostic directory, loopback ports, and process group.
- Wait up to 120 seconds for the startup-ready record. On successful readiness, request orderly shutdown. Stop the stress run at the first
SIGTRAP.
The fully symbolicated crash occurred during this valid startup invocation:
AppRun --no-sandbox --disable-gpu --disable-dev-shm-usage --disable-software-rasterizer -- --backend-debug info --frontend-debug off --profile-log <temporary-profile-path>
This invocation starts the application normally, applies valid command-line debug settings, and waits for the startup-ready record. It does not load user projects, measurement data, remote content, or application workflows.
The packaged Linux AppImage uses --no-sandbox. The following flags are CI-specific and have not yet been individually removed from the reproduction:
--disable-gpu--disable-dev-shm-usage--disable-software-rasterizer
Observed Frequency
The retained Electron 44 AppImage completed 99 complete sequential startup stress runs successfully. Attempt 100 then failed during another valid startup case using a diagnostic log-directory argument.
The following reduced observed frequency but did not eliminate the crash:
- increasing VM memory;
- reducing concurrent VM activity;
- serializing application launches;
- reusing one Xvfb/D-Bus session;
- using a minimal Fontconfig configuration;
- prewarming the Fontconfig cache.
An isolated Expat 2.8.3 build was also tested. ldd confirmed that Electron and Fontconfig loaded the replacement libexpat.so.1, but the same native SIGTRAP occurred. This rejects Expat replacement as a fix.
Fully Symbolicated Crashing Thread
partition_alloc::internal::FreelistCorruptionDetected
partition_alloc::PartitionRoot::Alloc
malloc
libc.so.6!__GI___strdup
libfontconfig.so.1!FcExprCreateString
libfontconfig.so.1!FcParseFamily
libfontconfig.so.1!FcEndElement
libexpat.so.1
libfontconfig.so.1!FcConfigParseAndLoadFromMemoryInternal
The Crashpad dump shows:
- process uptime: approximately 8 seconds;
SIGTRAP, notSIGSEGV;- crash in the Electron browser/main process, not a renderer or GPU subprocess;
- no OOM, disk-full, GPU, or test-harness-timeout event.
Questions
- Does this match a known Electron/Chromium Linux PartitionAlloc or allocator-shim issue involving system Fontconfig/Pango libraries?
- Is packaged AppImage
--no-sandboxbehavior relevant to this allocation path? - Which supported Electron or Chromium diagnostics can identify the earlier allocation, free, or write that corrupted the freelist before
malloc()detected it? - Is there a later Electron or Chromium branch with a relevant Linux allocator fix that should be tested?
Potentially Related Report
This may be related at the environment and symptom level, but has not been proven to be the same root cause:
Evidence Availability
A matching Crashpad .dmp, complete symbolicated output, sanitized command line, and additional environment details are available through a private maintainer-requested channel.
I will not publish the raw minidump, system core, packaged binary, source code, or CI evidence directory publicly.
Analysis Note
This report was heavily AI-assisted. The underlying evidence was independently captured and verified through retained-AppImage startup loops, Crashpad minidumps, systemd core metadata, official Electron 44 symbols, exact package versions, and the resolved native stack.
Please treat the causal interpretation as a diagnostic lead. Corrections, requests for non-sensitive evidence, and guidance toward a supported minimal reproducer are welcome.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fields👍 Does Not Block Stable
Activity
dsanders11 commentedon Aug 26, 2026
Thanks for the issue report! Could you try reproducing this on the last beta of v44, which was
v44.0.0-beta.6? This may be related to changes in #53070.SchmelleDevCrea commentedon Sep 3, 2026
Thanks for suggesting
v44.0.0-beta.6.For comparison, the retained Electron
44.0.0AppImage previously completed 99 sequential startup stress runs successfully, then failed on attempt 100 during a valid startup case using a diagnostic log-directory argument. The failure was a nativeSIGTRAPduring first-window creation.I built and tested
v44.0.0-beta.6on the same Ubuntu 24.04.4 x64 VirtualBox machine, using the same Xvfb/D-Bus environment and startup flags, but without Fontconfig prewarming.The beta.6 AppImage completed 200 full sequential startup stress runs without a failure or
SIGTRAP.This suggests the problematic change may have been introduced between
v44.0.0-beta.6and the finalv44.0.0release.Thank you for fixing this issue.