Opal for Mac 1.5.7 (build 78) crashes several times a day on macOS 26.6.2. I have seven crash reports and they are all the identical fault, so I traced it through the binary. Details below so an engineer can go straight to it.
Environment
- Opal for Mac 1.5.7 (78), the current build on the appcast (released 17 Oct 2025)
- macOS 26.6.2 (25G83), MacBook Air M1
- arm64 slice UUID
21A679C4-A197-3F42-8DD4-254DC4529E0A - Browsers running: Google Chrome and Safari
The crash (identical in all 7 reports; this is the latest one)
Incident: 6A69AFDF-4008-4A7F-85DC-8270822021C0 (2026-09-01 09:26:04 -0400)
Process: Opal [97683] 1.5.7 (78) arm64, not translated
OS: macOS 26.6.2 (25G83)
Launched: 2026-09-01 05:40:38 -0400 crashed: 2026-09-01 09:25:59 -0400
Exception: EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0x0000000000000038
Termination: Segmentation fault: 11
VM region: 0x38 is not in any region (null + 0x38)
Faulting thread: 21 queue: com.apple.root.user-initiated-qos.cooperative
0 Opal +0x62fa74
1 Opal +0x62acd8
2 Opal +0x4bf5
3 Opal +0x38ad5
4 Opal +0x7555
5 libswift_Concurrency.dylib +0xcec5 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1
Registers: x0=0x1fc0e2358 x1=0x600000003 x2=0x99ddeb430 x3=0x80000006ffffffff
x4=0x99dca0250 x5=0x190a902fc x6=0x600000003 x7=0x4
pc=0x105087a74 lr=0x105087a6c far=0x38
esr=0x92000006 (Data Abort, read, translation fault)
What the code is doing (from disassembly + Swift reflection metadata)
Opal+0x62a918 is the async closure created in ScreentimeService (MacScreentimeKit) that runs
for await event in AsyncStream<ScreentimeService.ScreentimeEvent> { ... }
The crashing iteration has tag 1 = .websiteChange(Set<Website>). With isSystemAwake true it calls Date.now, then Opal+0x62fa28 with x0 = the Set<Website> payload, x1 = &now, x2 = the tracker’s usageSegments dictionary. That function is UsageTracker<Website> iterating the Set: it reads the hash table’s _scale byte at +0x20 and the metadata bitmap at +0x38. The Set’s storage pointer is 0, hence the fault at 0x38.
A Swift Set never has null storage (empty sets use __swiftEmptySetSingleton), so the event was yielded with a value that was a nil Optional<Set<Website>> read as non-optional, or memory that was never initialised.
Where the value comes from
The event is yielded by the closure at Opal+0x6323bc, installed with
websitesPublisher.sink { continuation.yield(.websiteChange($0)) } // Combine sink at Opal+0x62a52c
The publisher is the monitoring adapter’s Set<Website> publisher. MacMonitoringAdapter schedules executions with both a dispatch_source_timer and an NSBackgroundActivityScheduler behind a stateLock, and reads browser URLs via NSAppleScript. The two candidates are (a) a race between overlapping executions publishing from a not-yet-initialised or already-torn-down value, or (b) an error path in the AppleScript / URL-to-Set code that hands the publisher a nil.
Occurrences (America/Toronto)
2026-08-25 21:39:27 2026-08-26 18:02:16 2026-08-28 11:34:27
2026-08-28 14:58:03 2026-08-31 09:26:54 2026-08-31 14:57:06
2026-09-01 09:25:59
macOS prunes old reports; the real count is higher. Each process had been launched by the ScheduledLauncher agent (open -g -a Opal a minute before a block). Crashlytics is also logging these on relaunch (an _ae fatal event at 13:59:06 on 1 Sep), so you should already have them under version 1.5.7 (78).
Ruled out
- Sleep/wake: no Wake, DarkWake or Sleep event within 20 minutes of any crash.
- Block-session boundaries: schedule is 14:00–17:00 weekdays; crashes don’t cluster on the edges.
- Machine state: byte-identical registers and stack every time.
Two more things worth a look
Group Containers/…/ScreentimeTrackingEventsheld 10,524 queued JSON event files (41 MB, oldest January 2025) that never drain.- macOS filed a resource report on 28 Aug: Opal dirtied 2.1 GB of file-backed memory in 10 hours (58 KB/s sustained; the limit is 24.86 KB/s).
The forum only accepts image uploads, so the full .ips files aren’t attached; happy to send all seven privately to whoever picks this up.