Skip to content

Fix crash for preset sync during startup#13797

Merged
SoftFever merged 1 commit into
mainfrom
fix/crash-on-startup
May 22, 2026
Merged

Fix crash for preset sync during startup#13797
SoftFever merged 1 commit into
mainfrom
fix/crash-on-startup

Conversation

@SoftFever

Copy link
Copy Markdown
Collaborator

Description

Startup cloud preset sync can mutate the active preset bundle from a background thread while the GUI render path is reading the same printer preset state. In the observed crash, the 3D canvas was rendering plate icons and called vendor/extruder helper methods while reload_settings() was applying synced user presets.

During this race, the selected printer config could temporarily be missing expected fields such as printer_model or nozzle_diameter, leading to unsafe reads in the render path.

Screenshots/Recordings/Graphs

Tests

How to Download Pull Requests Artifacts for Testing

@github-actions

Copy link
Copy Markdown

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit b211409. ± Comparison against base commit 1388dc5.

@SoftFever SoftFever merged commit 3d250dc into main May 22, 2026
19 checks passed
@SoftFever SoftFever deleted the fix/crash-on-startup branch May 25, 2026 06:17
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