SQLite seems broken on MacOS Tahoe 26.5

I've been running into lots of issues since I upgraded to 26.5 beta, spotlight doesn't work, mail index was broken and after deleting it I can't reindex my mail., after a while I get an error that reindexing failed and that I should relaunch that app and it will start over. It never succeeds

Looking into the console, it seems that at least the mail issue, but also others system logging errors (trustd, coreduetd) are linked to corrupted sqlite databases.

So I guess the sqlite version is a dud ?

I've been running into lots of issues since I upgraded to 26.5 beta, spotlight doesn't work, mail index was broken and after deleting it I can't reindex my mail., after a while I get an error that reindexing failed and that I should relaunch that app and it will start over. It never succeeds

That all sounds like OS-level issues. As a developer, it's not your concern. That's Apple's problem to fix. You only need to worry about it if it impacts your apps.

And if it does impact your apps, you'll have to evaluate how your app responds to this kind of OS-level failure. If your app is heavily dependent on Spotlight, then maybe you need to re-think that approach.

Looking into the console

I wouldn't recommend doing that. That data doesn't have any meaning for 3rd party developers.

So I guess the sqlite version is a dud ?

It may be that you have some corrupt SQLite databases. If so, you'll need to wipe your drive and reinstall. I recommend running Apple beta OS versions, and even any .0 versions in a VM.

And I strongly recommend developers have at least two separate systems, one running a stable OS like Sequoia, and another for the current OS version. And then a VM on top of that for any betas/.0 versions.

SQLite seems broken on MacOS Tahoe 26.5
 
 
Q