The headline is the structural fix for the cluster:pstat-async-delete crash family — v0.99.55 already closed the render-thread half (#929), and v0.99.56 closes the other: an array-backed event stack that replaces LVGL's linked-list event_head with a global array, eliminating the wild-pointer dereference path that's been the dominant production crash signature for weeks (#793/#840/#871/#878/#880/#906). Plus a defensive NULL-guard layer on lv_obj_event.c for the new VHTR49QJ signature, and a suppress-the-dialog fix for truncated crash files that were generating useless bundle submissions. Round it out with a K2 phase-tracker fix that stops mis-flagging BED_MESH on profile-load echoes, a theme-init DPI fix for BTT CB1 / sun4i framebuffers reporting bogus width_mm, and a label-printer font-fit fix for longer vendor strings on continuous tape.
- Array-backed LVGL event stack (#907 — cluster:pstat-async-delete structural fix) —
lv_event_mark_deletedpreviously walked a linked list of stack-allocatedlv_event_tviae->prevpointers chained throughevent_head. Any frame returning without popping (exception unwind, control-flow bug) stranded a stack pointer that the next walk would dereference, often after heap reuse had written ASCII bytes over it — the dominant crash signature in #793/#840/#871/#878/#880/#906. The chain is now a fixedlv_event_t * event_stack[256]in_lv_global_t; mark_deleted iterates the array and never dereferencese->prev. Per-slot stack-bounds + alignment validation (inherited from the v0.99.54 dispatch-depth-guard work) catches any remaining stomp into the array. Also consolidates the file-staticevent_dispatch_depthinto_lv_global_t::event_depthso post-mortem heap snapshots can read it. - NULL-guards on
lv_obj_event.caccessors (VHTR49QJ defense) —lv_obj_get_event_count,lv_obj_get_event_dsc,lv_obj_remove_event,lv_obj_remove_event_dsc,lv_obj_remove_event_cb, andlv_obj_remove_event_cb_with_user_dataall had release-modeLV_ASSERT_NULL(a no-op) on the obj argument. Bundle VHTR49QJ (v0.99.53/ad5x, 2026-05-04) crashed withfault_addr=0x0reaching the field load via a deferred async callback that didn't validate widget lifetime. Replace the ASSERT with a runtime check that bails to a sane return value and surfaces telemetry — matches the establishedlvgl_observer_null_guardspattern. - Suppress crash dialog for unparseable crash files (CHUQCNAE) — bundle CHUQCNAE shipped a
crash.txtcontaining onlysignal:\nafter the signal handler was killed mid-write (OOM / watchdog / power loss). Application::run was still showing the crash report dialog and letting the user submit a useless empty bundle. Now consumes the file and skips the dialog whenread_crash_filereturns null. Regression test pins the contract. - K2 phase tracker no longer false-fires BED_MESH on profile load — K2
PRINT_STARTemitsBED_MESH_PROFILE LOAD="default"early in pre-print to reuse the saved mesh (no calibration). The profile's BED_MESH regex matched these echoes and falsely transitioned to BED_MESH for several seconds before HEATING_BED took over. Reduces the alternation toBED_MESH_CALIBRATE(still coversBED_MESH_CALIBRATE_START_PRINT). Also drops three dead profile entries that logged warnings on every load (signal_format withpatterninstead ofprefix; HEATING_CHAMBER and LOADING_FILAMENT response patterns referencing phases not in thePrintStartPhaseenum). - TempGraphWidget null-config crash on legacy home-panel layouts —
set_configwas readingconfig.value("follow_overlay", false)without guarding against JSON null. Layouts saved before v0.99.54 omit"config"andparse_widget_arrayhands a default-constructed (= JSON null) config to widgets, throwingjson::type_error::306fromHomePanel::finalize_setup. The throw escapedrun()before v0.99.55's main_loop catch could absorb it, exiting 134. Reported by d0u8l3m, who originally requested the follow-overlay feature. - Theme DPI defaults to LV_DPI_DEF on bogus width_mm reports — on BTT CB1 (sun4i-drmdrmfb) the kernel reports the 800×480 panel as 890mm × 500mm (off by ~6×), making LVGL compute DPI=23. With sub-160 DPI,
LV_DPX_CALCclampsPAD_SMALLto 1px, collapsing dropdown/input padding. Now forceslv_display_set_dpi(disp, args.dpi > 0 ? args.dpi : LV_DPI_DEF)before theme init so widget padding survives garbage display metadata. The existingif(width > 0)guard inlv_linux_fbdev.conly catches drivers that admit ignorance, not drivers that lie. - Continuous-tape label fonts shrink to fit longer vendor strings — vendor names like PRUSAMENT / POLYMAKER were truncating on 62mm tape. Drops phantom
avail_hfrom 300 to 260 (STANDARD scale becomes lg=5 / md=4 / sm=3, was 6/5/4), tightens the horizontal-fit floor from 4 to 8 chars, and applies the narrow-tape margin/QR shrink to 29mm and 38mm continuous (was die-cut only).