(Bug report mentions PHPstorm but it manifests on CLion, GoLand, and others.)
This is clearly an Apple bug as well as possibly a bug in Jetbrains' UI or other native libraries or maybe upstream in the JVM. It's an Apple bug because it can bring down the whole system, sometimes with an absolute hardest possible crash that generates no debug logs! Sometimes it also just crashes the JVM. Sometimes it's a softer crash with logs and sometimes a hard crash with no logs. Logs show crashes happening at random different places in the code.
Absolutely nothing else does this, including heavy stuff like running two Parallels VMs at once (Windows 10 and Linux) and running heavy multithreaded compiles. Also ran a RAM and CPU burn-in test. It's not a hardware problem. Many others are reporting it too.
Given that the new 13" Pro is a slightly larger version of what seems to be the same machine (10th gen Intel core, etc.) I would speculate that it will probably show the same weird problem. (The 2020 Air is a "2020 13" Pro, No Touch Bar Edition.")
People using Jetbrains products on earlier or different MacBook models have no issues. This includes the 2019 Air.
Posting here to attempt to get Apple's attention. Drawing attention on social media is the new way to get tech support focused on an issue -- "blue checkmark service" as it's called on Twitter.
Edit: I bet there is a security vulnerability here given that it brings down the whole OS. Any security researchers in the audience? The 2020 Air has a new 10th generation Intel chip and a new version of Intel integrated GPU graphics, so my money is on drivers or kernel support for one of those. (Runs off to disable WebGL and WebGPU...)
It'd be an extremely esoteric one if these products crash it and literally nothing else does including:
- Hours of CPU and RAM burn
- Multiple concurrent VMs running different OSes (Windows 10 and Linux).
- "make -j8" on a large C++ code base
- Visual Studio Code and other large Electron apps that also run under a JIT.
- I ran a 3D graphics demo to stress test the GPU, no issues.
Zero crashes of any kind, then I launch a Jetbrains app and boom at a frequency of about once per hour of app use. Sometimes the app just crashes, sometimes the whole machine crashes and does so very "hard."
The simplest explanation is an Apple bug being triggered by a Jetbrains runtime or JVM bug, or if not an outright bug something really odd and out of the ordinary that this software is doing via some OS API. Given that it only happens on this machine my bet would be on something video or screen related as the GPU differs slightly from other Mac laptops and that's a common place for bugs to hide.
Recent Mac GPUs have been... weird. I've had small artifacts on three different 16-inch MBPs (one that I returned, a replacement that I decided to keep, and one that I was issued at work).
That's not true. It's pretty easy to crash Finder, and when Finder crashes, the whole system goes with it. For example, Time Machine has a tendency to crash my devices. It takes down finder, and from there, it's impossible to do anything.
Heavy resource usage isn't usually what causes these kinds of crashes on macOS, from what I've seen (unless there's an underlying hardware issue).
But yes, I'd agree this one is probably on Apple.
> Drawing attention on social media is the new way to get tech support focused on an issue -- "blue checkmark service" as it's called on Twitter.
You're right, sadly.
> Edit: I bet there is a security vulnerability here given that it brings down the whole OS. Any security researchers in the audience?
Possibly, but crashes are a dime a dozen. Actually getting something useful out of that information can be difficult. Hopefully this will be fixed long before anyone is able to get that far.
Interestingly, one commenter posted that switching to OpenJDK fixes it. So it's some interaction between the hardware, the JRE, and JetBrains. I look forward to the post-mortem for this one.
Read more. It doesn't, though it may be less frequent under OpenJDK (hard to tell as its random). Disabling newer GCs, SSE, and AVX has no effect either.
My favorite is that nothing else triggers it. Just this app. So, so bizarre. I am wondering about some mega obscure Intel errata, some specific pattern of highly improbable opcodes combined with some pattern of multithreaded memory operations...
My old Mac started crashing fairly regularly a couple months ago. Which are “the logs” one would look at to investigate this? I haven’t been able to get anyone to tell me anything specific.
Did you try some good SSD burn in test?
Last time I observed all kinds of weird crashes and behavior on my wife’s old Air, it was due to slowly dying SSD...
Then you have another fun one probably related like it spinning up the fans and the GPU consuming double power when you run the built in display and an external monitor, but not with just external monitors: https://forums.macrumors.com/threads/16-is-hot-noisy-with-an...
Of course the problem with Apple is zero communication even acknowledging an issue leads to all sorts of wild goose chases usually involving reset pram or whatever.
the thing that sucks about jetbrains is that you need to keep updating license keys on your own end every year, even though you're paying a yearly fee. they really need to make this much easier. the end user shouldn't have to do anything.
This is clearly an Apple bug as well as possibly a bug in Jetbrains' UI or other native libraries or maybe upstream in the JVM. It's an Apple bug because it can bring down the whole system, sometimes with an absolute hardest possible crash that generates no debug logs! Sometimes it also just crashes the JVM. Sometimes it's a softer crash with logs and sometimes a hard crash with no logs. Logs show crashes happening at random different places in the code.
Absolutely nothing else does this, including heavy stuff like running two Parallels VMs at once (Windows 10 and Linux) and running heavy multithreaded compiles. Also ran a RAM and CPU burn-in test. It's not a hardware problem. Many others are reporting it too.
Given that the new 13" Pro is a slightly larger version of what seems to be the same machine (10th gen Intel core, etc.) I would speculate that it will probably show the same weird problem. (The 2020 Air is a "2020 13" Pro, No Touch Bar Edition.")
People using Jetbrains products on earlier or different MacBook models have no issues. This includes the 2019 Air.
Posting here to attempt to get Apple's attention. Drawing attention on social media is the new way to get tech support focused on an issue -- "blue checkmark service" as it's called on Twitter.
Edit: I bet there is a security vulnerability here given that it brings down the whole OS. Any security researchers in the audience? The 2020 Air has a new 10th generation Intel chip and a new version of Intel integrated GPU graphics, so my money is on drivers or kernel support for one of those. (Runs off to disable WebGL and WebGPU...)