Friday, April 02, 2021

The panicky M1 MacBook Air known as Crashy

Nine weeks ago I replaced Emily's 9yo 11" Air with a 2021 M1 Air. Shortly after we passed the return date I realized I'd made a bad decision. The M1 Air panicked so often that it's forever known to us as "Crashy" the M1 Air. On some days Emily would see a spontaneous restart several times a day.

I don't think it's a hardware problem; among other things it's passed repeated hardware tests.  I suspect using Migration Assistant to move from High Sierra didn't help, but I don't think that's all of it. There's something bizarre with residual parental controls on my son's account that I can't seem to clear -- but Apple's parental controls/Screen Time have been horked for my family for years across iOS and now macOS. I don't think that's all of it.

I think it's mostly a bug with Fast User Switching and maybe Chrome/Google Software. We know that Fast User Switching can kill Mail.app spotlight search until corespotlightd is restarted, so we know some defect is leaking across user sessions. We also know that Fast User Switching is disabled by default on Big Sur, which suggests Apple is worried about it. (Maybe the weird Screen Time behavior is playing a role.)

So after doing every possible fix short of wiping the drive and reinstalling data from backup I removed every trace of Chrome and Google software [1] and I turned off FUS. Since then we've had no more crashes.

Eventually I'm going to restore FUS. This is a multi-user machine and we want it to work properly. When I do that I'll make every user admin because Big Sur does not display a Panic report to non-admin users -- then look for a log report. If Crashy stays up then the finger points to Chrome.

I really wish we'd bought an Intel Air. The 2020 Intel Air was basically perfect.

[1] My son used Chrome, Emily is Safari only. After one crash Emily was asked if she wanted to restart Chrome -- but she wasn't using Chrome. Suspicious for more leakage across user sessions.

PS. At one point I saw a very long thread on Apple Discussions about M1's crashing. It vanished. Here's a shorter thread and another.

Update 4/19/2021: Removing Chrome and disabling Fast User Switching eliminated the panics. We are doing ok without both so we aren't doing further testing. I don't miss Chrome and Emily and my son don't mind logging out.

Update 6/18/2021: By Big Sur 11.4 Crashy was fixed. We're keeping the name however. Fast User Switching is on but I never did reinstall Chrome. We bought our M1 Air around Jan 20, 2021 and 11.4 came out 5/24/2021, so it took five months for Apple to fix the damned thing. Eclectic Company wrote an article about M1 instability under Big Sur.

Monday, February 15, 2021

Big Sur bug: Mail Search (corespotlightd) fails on multi-user machine after a user logs out

We are indebted to GanawaGangunawa for figuring out why Mail search was failing on Emily's M1 MacBook Air (known to our family as "Crashy" [1]). It's a Big Sur bug (though I think it happened in some Catalina environments) that hits multi-user machines.

In our case Ben and Emily both have non-admin accounts on her M1 Air running Big Sur 11.2.1 with fast user switching enabled. When Ben logs out Emily's Mail search stops working. There's no error message, but search does nothing and Smart Folders are inactive.

The fix is to kill corespotlightd.

I created an AppleScript with the contents: 

do shell script "killall -9 corespotlightd"

I saved it as an application and put it on Emily's dock. Two clicks fixes her Mail search until Apple fixes the bug.

[1] When we first got the M1 Air it crashed (spontaneous restart) every few hours. Reinstalling Big Sur meant it crashed every few days, with Big Sur 11.2 it didn't crash, with 11.2.1 it restarts every week or so. I suspect a firmware/OS mismatch in the factory was the initial problem and that for the rest that Big Sur/M1 are not quite stable yet. I almost returned Crashy in the 2 week return window but it seems just stable enough. Good chance future OS updates will fix. It does pass hardware test.

Saturday, February 06, 2021

Fixing the Mojave Mail split view in full screen bug

For many users Mojave email will periodically open in Split View mode even then Mail Preferences: General split view is unchecked.

I'm trying this fix:

  1. Check Mail Preferences:General "Prefer opening messages in split view when in full screen". Confirm Mail opens in split view. Maybe quit and restart.
  2. Now open mail preferences and uncheck that option and force quit Mail. (Somewhere in the Mojave era or earlier macOS preferences got wonky such that an app on exiting could do weird and occult things to preferences.)
  3. Restart mail with Safari open in full screen and confirm you don't get the Split View -- get Mail as full screen.
Works so far but I wouldn't be surprised if fix doesn't last.

Sunday, January 24, 2021

Saturday, January 23, 2021

Don't blame your hub when your USB Flash (thumb) drive disconnects from your Mac

I tried using a SanDisk USB Flash ("thumb") drive as an alternative Time Machine backup device on my daughter's 2020 Intel MacBook Air (Catalina) and my 2020 Apple Silicon MacBook Air (Big Sur). It worked when directly connected to a 2011 MacBook Air (High Sierra), but when connected to an Anker USB-C hub it kept disconnecting:


I was pretty annoyed with the Anker hub and decided to return it, but then I tried it on my 2016 MacBook Air (Mojave) with a rock solid old Elgato Thunderbolt 2 Hub. The same thing happened there!

So I can't blame the Anker hub too much. I canceled my Amazon return. The bug is probably some mixture of faults in macOS, the processor in Flash drives, and some global Hub/USB flaw. 

It would be interesting to test Apple's hub-equivalent dongle -- the USB-C Digital AV multiport adapter.

Migrating from 9yo 11" High Sierra MacBook Air to 2021 Big Sur M1 Air

I replaced Emily's 8-9 yo MacBook Air 11" running High Sierra with Apple's latest (M1) Air (Big Sur). A few notes for others who might be facing migrations....

  1. I used Migration Assistant over WiFi but I didn't migrate any applications. Apps have changed to much, better to install from source. Pay CLOSE ATTENTION when they tell you to write down the user passwords! (I took a photo). Migration Assistant brings over a lot of old junk but it also saves a lot of time; it's a pain to migrate mail archives without it.
  2. Only 1Password needed Rosetta so far. As I write Office 365 is installing.
  3. Citrix Workspace for Apple Silicon worked! That was biggest risk.
  4. I couldn't get Carbon Copy Cloner email notifications working. I contacted vendor. The app works for back up though.
  5. I didn't want to use the iCloud Document sync feature and Migration Assistant did preserve my High Sierra settings.
  6. You need to open Photos and let it update before reenabling iCloud photo sync. There's no error message -- it just won't work.
  7. For multiple users I couldn't update the User Profile Login picture from the user account, I had to do it from my Admin account in Users and Groups preferences. (Needed update for Retina images)
  8. I did better skipping iCloud setup initially then doing it from each User account separately.
  9. I had to reenable Fast User Switching on 1-2 accounts.

Overall I ran into a few bugs and glitches but High Sierra is 3 releases from Big Sur so that's a hard jump. Really wasn't terrible so far. 

The new Air is rather faster than the 9yo 11" Air, but not amazingly faster than my 5yo MacBook Air (Best Computer Ever Made). Most delays are waiting for servers, so local speedups don't make a ton of difference.

Update 4/2/2021: Alas, it turned into a bit of a disaster.

Saturday, November 21, 2020

Google's mysterious new blogging platform

Google Blogger has been largely forgotten, but over the past 1-2 years it's been receiving regular updates.

Mostly these have been improvements with a few odd regressions. Some of the regressions have been fixed.

It's kind of curious. Google still uses Blogger for some of their blogs on googleblog.com (ex: Scholar), but they also have a new platform - https://blog.google (KeynoteData Centers). On the Keynote blog page the RSS feed is hidden (but exists), on Data Centers and Photos blog there's a familiar feed icon top right. Data Centers articles date to 2012, but the .google domain was only registered in 2014. So they've migrated some old content, probably from Blogger.

I looked a the source from a Data Center post and it's surprisingly old school readable. There are commented out tags for handling IE 7 (!) and metadata for Open Graph and Twitter Card. Style sheets refer to "/static/blogv2/css/blog.min.css?version=4.4" />. 

I wasn't able to find any articles on "Google's new blog platform". That doesn't surprise me, Google search is fairly useless these days. Clearly they are up to something internally.

If they do make this a public blogging platform I'm sure it still won't handle paragraph spacing correctly.