Files
reims-vgpu/scripts
Anees Iqbal 4d4e79b2b9 📝 Spotlight does not crash on the macos-12 rail, over 32 driven rounds on two boots, and the results list renders correctly
Investigating a report of Spotlight crashing on macOS Monterey. Two driven boots
of `macos-12` (macOS 12.7.6, 21H1320), x86 macOS / Linux Vulkan, at
`ccefe3b0` — 19 rounds and 13 rounds of open, type a query, walk the results
list, close.

**It does not reproduce.**

- Spotlight's pid is **390 before and 390 after** the second boot's 13 rounds, so
  it did not die and relaunch — the check `pgrep` alone cannot make.
- No guest kernel panic in either boot's stdout, which is the verdict that
  outranks a probe's own exit.
- No new crash report in `~/Library/Logs/DiagnosticReports` or
  `/Library/Logs/DiagnosticReports`. The newest entries are `bluetoothd` and
  analytics files that predate the boot.
- Dock alive at the end of both runs.
- The typed state photographs correctly: the search field holds "safari", the
  results list is populated and categorised, the top hit is highlighted and the
  preview pane is drawn. The vibrancy surface behind it composites correctly.
- The device's own window over the rounds holds six `sampled_resident_reclaimed`,
  five `translation_deferred`, and four `type4_backing_fail` — each of the four
  paired with its own `type4_backing_recovered` 1-10 ms later, which is the
  guest finishing a mapping the device asked about early. No loss.

What that negative does *not* cover, stated so nobody reads it as broader than it
is: one rail, one snapshot, one input pattern, keyboard-only, no results opened
by Return, and nothing typed that would reach a network or index-rebuild path.
A crash that needs a particular query, a cold Spotlight index, or a mouse-driven
result would not have been found here.

Also fixes the probe flaw that boot exposed: `cmd+space` *toggles*, so a round
starting with the window already open closed it and typed into whatever had
focus — one round in three photographed a bare desktop. It now escapes first, so
every round starts from the same state whatever the last one left behind.
2026-08-11 15:23:41 +03:00
..