As of several days ago, Osaurus stopped launching fully. Instead, it starts and just hangs before the interface is even shown. I’ve tried manually installing the latest version but that didn’t work. Do you have any advice for how to fix this issue? I’m on a Mac M1 with 32 GB RAM running Golden Gate 27.0
Follow-up: this is fixed on my end, and I think I found the cause.
Osaurus 0.25.31 on macOS 27.0 hung at launch every time, before any window appeared. The macOS hang report showed the main thread pegged at 100% CPU for 45+ seconds in Swift Foundation calendar calls (Calendar.date(from:), dateComponents, date(byAdding:)). It wasn’t blocked or deadlocked, just looping, and the process footprint was only ~19 MB, so the UI never got built.
That looked like date-search code, so I checked ~/.osaurus/schedules/. I had one schedule using the cron expression 0 8 */3 * *. Its last successful trigger was Oct 28, and the run history had several entries stuck at “running”. I moved that schedule file out of the folder and Osaurus launched normally right away.
My guess is that computing or catching up the next run for a day-of-month step like */3 goes wrong around the month boundary (the 31st to the 1st is a 1-day gap, not 3), possibly combined with the Nov 1 DST change. That is a guess. I haven’t confirmed the exact code path. The symbols in the report are stripped, so I couldn’t name the function.
Suggestion: a safeguard in the schedule next-run calculation (an iteration cap, or skipping an invalid schedule instead of looping) would stop a bad schedule from making the app unlaunchable. I can share a trimmed copy of the hang report (main-thread stack only) if that helps.