Skip to content

ci: pre-initialize fontconfig to fix Pango threaded-FcInit crash in smoke tests - #323015

Merged
Alexandru Dima (alexdima) merged 2 commits into
mainfrom
fix-fontconfig-preinit-race
Jun 25, 2026
Merged

Alexandru Dima (alexdima) merged 2 commits into
mainfrom
fix-fontconfig-preinit-race

Conversation

@alexdima

Copy link
Copy Markdown
Member

The real root cause (symbolized, with corroborating upstream reports)

The intermittent Linux Electron-Smoke SIGSEGV is an upstream Pango concurrency bug, not a VS Code bug. I pulled the crash dumps, downloaded the matching Ubuntu debug symbols, and resolved the exact frames:

pango:      fc_thread_func -> init_in_thread -> FcInit()        (pangofc-fontmap.c)
fontconfig: FcInit -> FcConfigParseAndLoadFromMemory -> _FcConfigParse
libexpat:   XML_ParseBuffer -> libc   (NULL deref, signal 11)

Pango ≥ 1.52's pango_fc_font_map_init() unconditionally spawns a [pango] fontconfig thread that runs FcInit(). That races with the Electron/Chromium main thread's own fontconfig use during startup and corrupts fontconfig's global config mid-parse. There's no env var to disable it (still present in Pango 1.56).

This is a known-bad area upstream:

  • pango#784 — "single fontconfig thread introduces a hang … the use of strace makes the problem disappear. So this seems to be due to a race condition."
  • pango#872 — the thread is an unwaited daemon, "causing memory leaks and likely incorrect behavior."

Why it shows up in our CI and not "all over the internet"

It's a microsecond-wide race in first-time FcInit. To hit it you need a cold process, two threads reaching first-time FcInit() at the same instant, and a slow machine. Desktop apps have warm fontconfig state, fast cores, and launch once — they never land in the window. Our smoke job is a near-perfect trigger: fresh contended 4‑vCPU runners, a wiped fontconfig cache + custom FONTCONFIG_FILE (so FcInit re-parses cold and slow = wider window), and ~25 cold Electron starts per run. That turns "never" into ~1%/launch, which compounds to the 8–19% per-run failure.

This also resolves the two facts that broke earlier theories: the expat version was irrelevant (it's the concurrent parse, not the parser — installing 2.8.1 still crashed identically), and dropping the config DOCTYPE made it worse (pure timing, not content).

The fix

Initialize fontconfig once, single-threaded, from an ELF constructor that runs before main() (and therefore before any thread exists), via a tiny LD_PRELOAD shim:

__attribute__((constructor))
static void preinit_fontconfig(void) {
  void *h = dlopen("libfontconfig.so.1", RTLD_NOW | RTLD_GLOBAL);
  if (h) { int (*fc_init)(void) = dlsym(h, "FcInit"); if (fc_init) fc_init(); }
}

Pango's later threaded FcInit() then finds fontconfig already initialized and returns immediately — the concurrent parse never happens, so the race is eliminated. It's ~12 lines, needs only gcc + -ldl (both present), and auto-applies to every Electron/Chromium launch in the job.

Validation

  • Workflow YAML parses; the embedded shim compiles cleanly (-Wall -Wextra).
  • Diagnostics print LD_PRELOAD so the preload is verifiable from CI logs.
  • The true proof is the post-merge crash rate — but unlike the earlier attempts, this fix targets the exact symbolized crashing function and is corroborated by upstream bug reports.

Supersedes

Co-authored-by: Copilot [email protected]

…moke tests

Symbolizing the intermittent Electron-startup SIGSEGV crash dumps (Ubuntu debug
symbols + frame-pointer walk) shows the fault is an upstream Pango concurrency
bug, not a VS Code bug:

    pango:      fc_thread_func -> init_in_thread -> FcInit()   (pangofc-fontmap.c)
    fontconfig: FcInit -> FcConfigParseAndLoadFromMemory -> _FcConfigParse
    libexpat:   XML_ParseBuffer -> libc  (NULL deref, SIGSEGV)

Pango >= 1.52's pango_fc_font_map_init() unconditionally spawns a
"[pango] fontconfig" thread that runs FcInit(); that races with the
Electron/Chromium main thread's own fontconfig use during startup and corrupts
fontconfig's global config while it is being parsed. The threaded design is a
known-bad area upstream (pango#784 "single fontconfig thread introduces a hang
... seems to be due to a race condition", pango#872), and there is no env var to
disable it (still present in Pango 1.56).

It only manifests in our CI because the race window is microscopic: it needs a
cold process, two threads hitting first-time FcInit() simultaneously, and a slow
machine. Our smoke job is a near-perfect trigger — fresh contended runners, a
wiped fontconfig cache + custom FONTCONFIG_FILE (so FcInit re-parses cold), and
~25 cold Electron starts per run. (This also explains why the expat version was
irrelevant and why dropping the config DOCTYPE made it worse: it is pure timing,
not parser/content.)

Fix: initialize fontconfig once, single-threaded, from an ELF constructor that
runs before main() (and thus before any thread exists), via a tiny LD_PRELOAD
shim. Pango's later threaded FcInit() then finds fontconfig already initialized
and returns immediately, so the concurrent parse never happens and the race is
eliminated.

Co-authored-by: Copilot <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Linux PR workflow to mitigate intermittent Electron smoke-test startup crashes attributed to a fontconfig initialization race triggered by Pango’s background FcInit() thread. It does so by building a small LD_PRELOAD shim that calls FcInit() from an ELF constructor before main(), and adds diagnostics to confirm the preload is active.

Changes:

  • Add a workflow step that compiles a small LD_PRELOAD shared library to pre-initialize fontconfig before Electron/Chromium startup.
  • Export LD_PRELOAD via $GITHUB_ENV so subsequent steps inherit the preload.
  • Extend the existing fontconfig diagnostics step to print and verify the preload configuration.
Show a summary per file
File Description
.github/workflows/pr-linux-test.yml Adds an LD_PRELOAD-based fontconfig pre-init shim build step and corresponding diagnostics to reduce Electron startup SIGSEGV flakiness on Linux CI.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread .github/workflows/pr-linux-test.yml Resolved
Comment thread .github/workflows/pr-linux-test.yml Resolved
@alexdima
Alexandru Dima (alexdima) marked this pull request as draft June 25, 2026 21:29
@alexdima
Alexandru Dima (alexdima) marked this pull request as ready for review June 25, 2026 22:08
@alexdima
Alexandru Dima (alexdima) enabled auto-merge (squash) June 25, 2026 22:09
@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: c95c7ab7 Current: d98b77d7

Added (354)

sessions/viewAllChanges/ViewAllChanges_MultipleFiles/Dark

current

sessions/viewAllChanges/ViewAllChanges_MultipleFiles/Light

current

sessions/viewAllChanges/ViewAllChanges_OnlyInsertions/Dark

current

sessions/viewAllChanges/ViewAllChanges_OnlyInsertions/Light

current

sessions/viewAllChanges/ViewAllChanges_OnlyDeletions/Dark

current

sessions/viewAllChanges/ViewAllChanges_OnlyDeletions/Light

current

sessions/viewAllChanges/ViewAllChanges_NoChanges/Dark

current

sessions/viewAllChanges/ViewAllChanges_NoChanges/Light

current

chat/aiStats/AiStatsHover/Dark

current

chat/aiStats/AiStatsHover/Light

current

chat/aiStats/AiStatsHoverNoData/Dark

current

chat/aiStats/AiStatsHoverNoData/Light

current

chat/chatAgentFeedbackReviewConfirmation/SingleComment/Dark

current

chat/chatAgentFeedbackReviewConfirmation/SingleComment/Light

current

chat/chatAgentFeedbackReviewConfirmation/MixedKinds/Dark

current

chat/chatAgentFeedbackReviewConfirmation/MixedKinds/Light

current

chat/chatAgentFeedbackReviewConfirmation/ManyComments/Dark

current

chat/chatAgentFeedbackReviewConfirmation/ManyComments/Light

current

chat/chatAgentFeedbackReviewConfirmation/LongComment/Dark

current

chat/chatAgentFeedbackReviewConfirmation/LongComment/Light

current

chat/chatAgentFeedbackReviewConfirmation/Empty/Dark

current

chat/chatAgentFeedbackReviewConfirmation/Empty/Light

current

chat/chatAgentFeedbackReviewConfirmation/Carousel/Dark

current

chat/chatAgentFeedbackReviewConfirmation/Carousel/Light

current

chat/artifacts/chatArtifacts/SingleArtifact/Dark

current

chat/artifacts/chatArtifacts/SingleArtifact/Light

current

chat/artifacts/chatArtifacts/MultipleArtifacts/Dark

current

chat/artifacts/chatArtifacts/MultipleArtifacts/Light

current

chat/artifacts/chatArtifacts/MultipleArtifactsCollapsed/Dark

current

chat/artifacts/chatArtifacts/MultipleArtifactsCollapsed/Light

current

chat/artifacts/chatArtifacts/MultiSourceExpanded/Dark

current

chat/artifacts/chatArtifacts/MultiSourceExpanded/Light

current

chat/artifacts/chatArtifacts/MultiSourceHoveredRow/Dark

current

chat/artifacts/chatArtifacts/MultiSourceHoveredRow/Light

current

chat/input/chatInput/Default/Dark

current

chat/input/chatInput/Default/Light

current

chat/input/chatInput/WithArtifacts/Dark

current

chat/input/chatInput/WithArtifacts/Light

current

chat/input/chatInput/WithFileChanges/Dark

current

chat/input/chatInput/WithFileChanges/Light

current

chat/input/chatInput/WithTodos/Dark

current

chat/input/chatInput/WithTodos/Light

current

chat/input/chatInput/WithTodosAndFileChanges/Dark

current

chat/input/chatInput/WithTodosAndFileChanges/Light

current

chat/input/chatInput/WithArtifactsAndFileChanges/Dark

current

chat/input/chatInput/WithArtifactsAndFileChanges/Light

current

chat/input/chatInput/Full/Dark

current

chat/input/chatInput/Full/Light

current

chat/chatProgressContentPart/Completed/Dark

current

chat/chatProgressContentPart/Completed/Light

current

chat/chatProgressContentPart/WithCustomIcon/Dark

current

chat/chatProgressContentPart/WithCustomIcon/Light

current

chat/chatQuestionCarousel/SingleTextQuestion/Dark

current

chat/chatQuestionCarousel/SingleTextQuestion/Light

current

chat/chatQuestionCarousel/SingleSelectQuestion/Dark

current

chat/chatQuestionCarousel/SingleSelectQuestion/Light

current

chat/chatQuestionCarousel/MultiSelectQuestion/Dark

current

chat/chatQuestionCarousel/MultiSelectQuestion/Light

current

chat/chatQuestionCarousel/MultipleQuestions/Dark

current

chat/chatQuestionCarousel/MultipleQuestions/Light

current

chat/chatQuestionCarousel/NoSkip/Dark

current

chat/chatQuestionCarousel/NoSkip/Light

current

chat/chatQuestionCarousel/SubmittedSummary/Dark

current

chat/chatQuestionCarousel/SubmittedSummary/Light

current

chat/chatQuestionCarousel/SkippedSummary/Dark

current

chat/chatQuestionCarousel/SkippedSummary/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran - simple command/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran - simple command/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Running - simple command/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Running - simple command/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - simple command/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - simple command/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Running sandbox - simple command/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Running sandbox - simple command/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran - special chars/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran - special chars/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - special chars/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - special chars/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran - backticks/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran - backticks/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - backticks/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - backticks/Light

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - powershell backticks/Dark

current

chat/terminalCollapsible/chatTerminalCollapsible/Ran sandbox - powershell backticks/Light

current

chat/chatToolRiskBadge/Green/Dark

current

chat/chatToolRiskBadge/Green/Light

current

chat/chatToolRiskBadge/Orange/Dark

current

chat/chatToolRiskBadge/Orange/Light

current

chat/chatToolRiskBadge/Red/Dark

current

chat/chatToolRiskBadge/Red/Light

current

chat/chatToolRiskBadge/GreenInContext/Dark

current

chat/chatToolRiskBadge/GreenInContext/Light

current

chat/chatToolRiskBadge/OrangeInContext/Dark

current

chat/chatToolRiskBadge/OrangeInContext/Light

current

chat/chatToolRiskBadge/RedInContext/Dark

current

chat/chatToolRiskBadge/RedInContext/Light

current

chat/chatToolRiskBadge/GreenElicitationInContext/Dark

current

chat/chatToolRiskBadge/GreenElicitationInContext/Light

current

chat/chatToolRiskBadge/OrangeElicitationInContext/Dark

current

chat/chatToolRiskBadge/OrangeElicitationInContext/Light

current

chat/chatToolRiskBadge/RedElicitationInContext/Dark

current

chat/chatToolRiskBadge/RedElicitationInContext/Light

current

chat/chatToolRiskBadge/BadgeOffInContext/Dark

current

chat/chatToolRiskBadge/BadgeOffInContext/Light

current

chat/chatToolRiskBadge/BadgeOffWithDisclaimerInContext/Dark

current

chat/chatToolRiskBadge/BadgeOffWithDisclaimerInContext/Light

current

chat/chatToolRiskBadge/BadgeOffUnsandboxedInContext/Dark

current

chat/chatToolRiskBadge/BadgeOffUnsandboxedInContext/Light

current

chat/chatToolRiskBadge/BadgeOffUnsandboxedWithDisclaimerInContext/Dark

current

chat/chatToolRiskBadge/BadgeOffUnsandboxedWithDisclaimerInContext/Light

current

chat/chatToolRiskBadge/HoverPreviewNoDetails/Dark

current

chat/chatToolRiskBadge/HoverPreviewNoDetails/Light

current

chat/chatToolRiskBadge/HoverPreviewDisclaimer/Dark

current

chat/chatToolRiskBadge/HoverPreviewDisclaimer/Light

current

chat/chatToolRiskBadge/HoverPreviewUnsandboxed/Dark

current

chat/chatToolRiskBadge/HoverPreviewUnsandboxed/Light

current

chat/chatToolRiskBadge/HoverPreviewUnsandboxedWithDisclaimer/Dark

current

chat/chatToolRiskBadge/HoverPreviewUnsandboxedWithDisclaimer/Light

current

chat/widget/chatWidget/SimpleQA/Dark

current

chat/widget/chatWidget/SimpleQA/Light

current

chat/widget/chatWidget/PendingToolApproval/Dark

current

chat/widget/chatWidget/PendingToolApproval/Light

current

chat/widget/chatWidget/bugs/issue-309796-missing-backslash/Dark

current

chat/widget/chatWidget/bugs/issue-309796-missing-backslash/Light

current

chat/widget/chatWidget/MultiTurn/Dark

current

chat/widget/chatWidget/MultiTurn/Light

current

chat/promptFilePickers/PromptFiles/Dark

current

chat/promptFilePickers/PromptFiles/Light

current

chat/promptFilePickers/InstructionFilesWithAgentInstructions/Dark

current

chat/promptFilePickers/InstructionFilesWithAgentInstructions/Light

current

chat/aiCustomizations/aiCustomizationListWidget/InstructionsTabWithItems/Dark

current

chat/aiCustomizations/aiCustomizationListWidget/InstructionsTabWithItems/Light

current

chat/aiCustomizations/aiCustomizationListWidget/InstructionsTabEmpty/Dark

current

chat/aiCustomizations/aiCustomizationListWidget/InstructionsTabEmpty/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/WelcomePage/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/WelcomePage/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/SessionsSkillsTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/SessionsSkillsTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabActiveSession/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabActiveSession/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginBrowseMode/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginBrowseMode/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByUser/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByUser/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByPolicy/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpDisabledByPolicy/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByUser/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByUser/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByPolicy/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsDisabledByPolicy/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTabScrolled/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTabScrolled/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTabScrolled/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTabScrolled/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabNarrow/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabNarrow/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTabNarrow/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTabNarrow/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsItemPreview/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsItemPreview/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsItemRaw/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/AgentsItemRaw/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/BuiltinSkillItemPreview/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/BuiltinSkillItemPreview/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/BuiltinSkillItemRaw/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/BuiltinSkillItemRaw/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServerDetail/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServerDetail/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServerDetailNarrow/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/McpServerDetailNarrow/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginDetail/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginDetail/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginDetailNarrow/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/PluginDetailNarrow/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailWorkspace/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailWorkspace/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailUser/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailUser/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailEmpty/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailEmpty/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedPluginDetailInstalled/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedPluginDetailInstalled/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedPluginDetailMarketplace/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedPluginDetailMarketplace/Light

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedPluginDetailEmpty/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedPluginDetailEmpty/Light

current

chat/aiCustomizations/aiCustomizationWelcomePages/WelcomePage/Dark

current

chat/aiCustomizations/aiCustomizationWelcomePages/WelcomePage/Light

current

baseUI/Buttons/Dark

current

baseUI/Buttons/Light

current

baseUI/ButtonBar/Dark

current

baseUI/ButtonBar/Light

current

baseUI/Toggles/Dark

current

baseUI/Toggles/Light

current

baseUI/InputBoxes/Dark

current

baseUI/InputBoxes/Light

current

baseUI/CountBadges/Dark

current

baseUI/CountBadges/Light

current

baseUI/ActionBar/Dark

current

baseUI/ActionBar/Light

current

baseUI/ProgressBars/Dark

current

baseUI/ProgressBars/Light

current

baseUI/HighlightedLabels/Dark

current

baseUI/HighlightedLabels/Light

current

editor/codeActionList/SimpleQuickFixes/Dark

current

editor/codeActionList/SimpleQuickFixes/Light

current

editor/codeEditor/CodeEditor/Dark

current

editor/codeEditor/CodeEditor/Light

current

editor/inlineChatAffordance/InlineChatAffordance/Dark

current

editor/inlineChatAffordance/InlineChatAffordance/Light

current

editor/inlineChatZoneWidget/InlineChatZoneWidget/Dark

current

editor/inlineChatZoneWidget/InlineChatZoneWidget/Light

current

editor/inlineChatZoneWidget/InlineChatZoneWidgetTerminated/Dark

current

editor/inlineChatZoneWidget/InlineChatZoneWidgetTerminated/Light

current

editor/inlineCompletions/other/HintsToolbar/Dark

current

editor/inlineCompletions/other/HintsToolbar/Light

current

editor/inlineCompletions/other/HintsToolbarHovered/Dark

current

editor/inlineCompletions/other/HintsToolbarHovered/Light

current

editor/inlineCompletions/other/JumpToHint/Dark

current

editor/inlineCompletions/other/JumpToHint/Light

current

editor/inlineCompletions/other/NextFileEditSuggestion/Dark

current

editor/inlineCompletions/other/NextFileEditSuggestion/Light

current

editor/inlineCompletions/other/GutterMenu/Dark

current

editor/inlineCompletions/other/GutterMenu/Light

current

editor/inlineCompletions/views/SideBySideViewSmall/Dark

current

editor/inlineCompletions/views/SideBySideViewSmall/Light

current

editor/inlineCompletions/views/SideBySideViewWide/Dark

current

editor/inlineCompletions/views/SideBySideViewWide/Light

current

editor/inlineCompletions/views/WordReplacementView/Dark

current

editor/inlineCompletions/views/WordReplacementView/Light

current

editor/inlineCompletions/views/DeletionView/Dark

current

editor/inlineCompletions/views/DeletionView/Light

current

editor/inlineCompletions/views/LineReplacementView/Dark

current

editor/inlineCompletions/views/LineReplacementView/Light

current

editor/multiDiffEditor/MultiDiffEditor/Dark

current

editor/multiDiffEditor/MultiDiffEditor/Light

current

editor/multiDiffEditor/MultiDiffEditorIncrementalPending/Dark

current

editor/multiDiffEditor/MultiDiffEditorIncrementalPending/Light

current

editor/multiDiffEditor/MultiDiffEditorIncrementalResolved/Dark

current

editor/multiDiffEditor/MultiDiffEditorIncrementalResolved/Light

current

editor/multiDiffEditor/MultiDiffEditorDocumentSwapBefore/Dark

current

editor/multiDiffEditor/MultiDiffEditorDocumentSwapBefore/Light

current

editor/multiDiffEditor/MultiDiffEditorDocumentSwapAfter/Dark

current

editor/multiDiffEditor/MultiDiffEditorDocumentSwapAfter/Light

current

editor/suggestWidget/MethodCompletions/Dark

current

editor/suggestWidget/MethodCompletions/Light

current

editor/suggestWidget/MixedKinds/Dark

current

editor/suggestWidget/MixedKinds/Light

current

peekReference/PeekReferences/Dark

current

peekReference/PeekReferences/Light

current

imageCarousel/imageCarousel/SingleSection/Dark

current

imageCarousel/imageCarousel/SingleSection/Light

current

imageCarousel/imageCarousel/SingleSectionMiddleImage/Dark

current

imageCarousel/imageCarousel/SingleSectionMiddleImage/Light

current

imageCarousel/imageCarousel/MultipleSections/Dark

current

imageCarousel/imageCarousel/MultipleSections/Light

current

imageCarousel/imageCarousel/SingleImage/Dark

current

imageCarousel/imageCarousel/SingleImage/Light

current

onboarding/spotlightOverlay/SpotlightOverlay/Dark

current

onboarding/spotlightOverlay/SpotlightOverlay/Light

current

agentSessionsViewer/CompletedRead/Dark

current

agentSessionsViewer/CompletedRead/Light

current

agentSessionsViewer/CompletedUnread/Dark

current

agentSessionsViewer/CompletedUnread/Light

current

agentSessionsViewer/InProgress/Dark

current

agentSessionsViewer/InProgress/Light

current

agentSessionsViewer/NeedsInput/Dark

current

agentSessionsViewer/NeedsInput/Light

current

agentSessionsViewer/FailedWithDuration/Dark

current

agentSessionsViewer/FailedWithDuration/Light

current

agentSessionsViewer/FailedWithoutDuration/Dark

current

agentSessionsViewer/FailedWithoutDuration/Light

current

agentSessionsViewer/WithDiffChanges/Dark

current

agentSessionsViewer/WithDiffChanges/Light

current

agentSessionsViewer/WithFileChangesList/Dark

current

agentSessionsViewer/WithFileChangesList/Light

current

agentSessionsViewer/WithBadge/Dark

current

agentSessionsViewer/WithBadge/Light

current

agentSessionsViewer/WithMarkdownBadge/Dark

current

agentSessionsViewer/WithMarkdownBadge/Light

current

agentSessionsViewer/WithDescription/Dark

current

agentSessionsViewer/WithDescription/Light

current

agentSessionsViewer/WithMarkdownDescription/Dark

current

agentSessionsViewer/WithMarkdownDescription/Light

current

agentSessionsViewer/WithBadgeAndDiff/Dark

current

agentSessionsViewer/WithBadgeAndDiff/Light

current

agentSessionsViewer/Archived/Dark

current

agentSessionsViewer/Archived/Light

current

agentSessionsViewer/ArchivedUnread/Dark

current

agentSessionsViewer/ArchivedUnread/Light

current

agentSessionsViewer/CloudProvider/Dark

current

agentSessionsViewer/CloudProvider/Light

current

agentSessionsViewer/BackgroundProvider/Dark

current

agentSessionsViewer/BackgroundProvider/Light

current

agentSessionsViewer/ClaudeProvider/Dark

current

agentSessionsViewer/ClaudeProvider/Light

current

agentSessionsViewer/CloudProviderInProgress/Dark

current

agentSessionsViewer/CloudProviderInProgress/Light

current

agentSessionsViewer/InProgressWithDescription/Dark

current

agentSessionsViewer/InProgressWithDescription/Light

current

agentSessionsViewer/SectionToday/Dark

current

agentSessionsViewer/SectionToday/Light

current

agentSessionsViewer/SectionYesterday/Dark

current

agentSessionsViewer/SectionYesterday/Light

current

agentSessionsViewer/SectionLastWeek/Dark

current

agentSessionsViewer/SectionLastWeek/Light

current

agentSessionsViewer/SectionOlder/Dark

current

agentSessionsViewer/SectionOlder/Light

current

agentSessionsViewer/SectionArchived/Dark

current

agentSessionsViewer/SectionArchived/Light

current

agentSessionsViewer/SectionMore/Dark

current

agentSessionsViewer/SectionMore/Light

current

agentSessionsViewer/ApprovalRowJson/Dark

current

agentSessionsViewer/ApprovalRowJson/Light

current

agentSessionsViewer/ApprovalRowBash/Dark

current

agentSessionsViewer/ApprovalRowBash/Light

current

agentSessionsViewer/ApprovalRowPowerShell/Dark

current

agentSessionsViewer/ApprovalRowPowerShell/Light

current

agentSessionsViewer/ApprovalRowLongLabel/Dark

current

agentSessionsViewer/ApprovalRowLongLabel/Light

current

agentSessionsViewer/ApprovalRow1Line/Dark

current

agentSessionsViewer/ApprovalRow1Line/Light

current

agentSessionsViewer/ApprovalRow2Lines/Dark

current

agentSessionsViewer/ApprovalRow2Lines/Light

current

agentSessionsViewer/ApprovalRow3Lines/Dark

current

agentSessionsViewer/ApprovalRow3Lines/Light

current

agentSessionsViewer/ApprovalRow4Lines/Dark

current

agentSessionsViewer/ApprovalRow4Lines/Light

current

agentSessionsViewer/ApprovalRow3LongLines/Dark

current

agentSessionsViewer/ApprovalRow3LongLines/Light

current

@alexdima
Alexandru Dima (alexdima) merged commit ba2a3ee into main Jun 25, 2026
29 checks passed
@alexdima
Alexandru Dima (alexdima) deleted the fix-fontconfig-preinit-race branch June 25, 2026 22:53
@vs-code-engineering vs-code-engineering Bot added this to the 1.127.0 milestone Jun 25, 2026
@deepak1556

Copy link
Copy Markdown
Collaborator

Just catching up on this, I had previous two attempts on this #308495 and #309451, that went with bumping the libexpat versions (that had fix for the concurrent init) and reducing the fontconfig, interesting the crash happened via libpango. The fix is reasonable, thanks for tackling it!

Alex Ross (alexr00) added a commit that referenced this pull request Jul 29, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Aug 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants