News for hackers. Stuff that matters.
Re:Cleaning up my 200GB iCloud with some JavaScript by Nextgrid on Friday January 05, 2024 @06:13AM (#38877889)
The opaqueness is definitely a problem. My iMessage database has a corrupted spot somewhere in the message history; if I accidentally make the Messages app read that spot (via searching or scrolling back through old conversations) it'll silently start maxing out the CPU and burning energy for no reason. There is no error message, nothing obviously wrong-looking, and as far as I know everything works.
Re:Cleaning up my 200GB iCloud with some JavaScript by o-o- on Friday January 05, 2024 @06:40AM (#38878085)
Oh, so that's what's happening? You made me realise I have the same exact issue!
Re:Cleaning up my 200GB iCloud with some JavaScript by Nextgrid on Friday January 05, 2024 @06:51AM (#38878169)
Well I can't for sure prove it's indeed DB corruption, but I don't have many other theories.

It's unlikely to be a "static" bug affecting everyone because it would've been caught in QA and/or user reports and fixed already (this is not a new issue, been happening for a year at least).

Therefore my hypothesis is that it's dependent on corrupt persistent data that a relative minority of users have which is not easy for Apple to detect/replicate.

Re:Cleaning up my 200GB iCloud with some JavaScript by farconics on Friday January 05, 2024 @06:29AM (#38878012)
Sounds like a nightmare. Do you know what could have caused the database corruption?
Re:Cleaning up my 200GB iCloud with some JavaScript by Nextgrid on Friday January 05, 2024 @06:53AM (#38878179)
Couple years of macOS/iOS reinstalls along with the typical shittiness of iCloud and the iMessage clients. I would be more surprised if it wasn't corrupt.
Re:Cleaning up my 200GB iCloud with some JavaScript by css on Friday January 05, 2024 @10:51AM (#38880336)
Hey, this sounds like an interesting problem. I am always looking for edge cases to test, if you have time would you mind checking if https://github.com/ReagentX/imessage-exporter works for you and if it crashes in that spot?
Re:Cleaning up my 200GB iCloud with some JavaScript by the_gastropod on Friday January 05, 2024 @11:58AM (#38881336)
Holy crap. I've been looking for ways to archive my imessages somehow. imessage-exporter looks like exactly what I wanted. What a cool project!
Re:Cleaning up my 200GB iCloud with some JavaScript by css on Friday January 05, 2024 @12:09PM (#38881506)
Cheers! It was fun to build.