Skip to content

fix(docker): replace non-existent CEF tracing flag with working alternatives#461

Merged
srperens merged 1 commit intomainfrom
fix/cef-memoryinfra-flags-v2
Mar 26, 2026
Merged

fix(docker): replace non-existent CEF tracing flag with working alternatives#461
srperens merged 1 commit intomainfrom
fix/cef-memoryinfra-flags-v2

Conversation

@srperens
Copy link
Copy Markdown
Collaborator

Summary

  • The Chromium switch disable-background-tracing does not exist — verified in both Chromium 144 source (tracing_switches.cc) and by binary string search of libcef.so. Only enable-background-tracing exists (opt-in). The flag was silently ignored.
  • This explains why MemoryInfra SIGILL crashes (exit 132) persisted despite the previous fix attempt: the periodic memory dump system was never actually disabled.
  • Replace with three flags that are confirmed present in libcef.so and target the correct mechanisms: disable-features=BackgroundTracing, no-periodic-tasks, force-fieldtrials=

Test plan

  • Build strom-full image with updated entrypoint
  • Deploy to test host and run with CEF sources for extended period
  • Verify no new core.MemoryInfra.* core dumps appear
  • Verify CEF HTML rendering still works correctly

🤖 Generated with Claude Code

…king flags

The Chromium switch "disable-background-tracing" does not exist (verified
in Chromium 144 source and libcef.so binary). Only "enable-background-tracing"
exists as an opt-in flag. The previous flag was silently ignored, leaving
the MemoryInfra periodic dump system active and causing intermittent
SIGILL crashes (exit code 132) in long-running CEF processes.

Replace with flags that actually prevent MemoryInfra from running:
- disable-features=BackgroundTracing (disables the feature entirely)
- no-periodic-tasks (prevents periodic dump scheduling)
- force-fieldtrials= (clears field trial configs that enable tracing)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@srperens srperens merged commit e6201c5 into main Mar 26, 2026
7 checks passed
@srperens srperens deleted the fix/cef-memoryinfra-flags-v2 branch March 26, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant