by api · 6y ago · 0 comments
https://youtrack.jetbrains.com/issue/JBR-2310
I lost days of time to what very much appears to be yet another hardware bug in Intel's latest core. If you don't believe me that it's a hardware bug, read the whole thing. It's probably a zero day security vulnerability too.
The only catch is: if Apple also takes the opportunity to iOS-ify Mac and lock it down to the point that it is no longer useful for professional work, I will have to drop the platform entirely. I've seen some decent AMD Ryzen laptops showing up on the market and I could use Linux with a Windows VM for the occasional Zoom call or similar thing.
Honestly though... I think if Apple pulls this off well without alienating their user base, it probably spells the end of the X64 architecture outside cloud and servers. Given that people prefer to deploy to the same architecture they develop on, it probably means X64 will eventually die in those areas too. AArch64 could end up being the core architecture of almost everything by the 2030s.
The other way around works pretty well these days. Windows 10 and their new terminal app plus WSL2 for development is a pretty good combo. Most things work as expceted, and if you use Visual Studio Code it has good integration between the two environments.
Modern processors are crazy complicated.
Does this bug also appear on Linux or Windows?
Read the above sentence again. It escapes VM isolation.
It also crashes the whole machine on a Microsoft Surface tablet with the same chip in it.
So three OSes, and it escapes VM isolation. It's a hardware bug.
Mitigation so far is to try to use exotic JVM options to make the JIT be less clever and not emit whatever the offending code is... but we don't know what it is, so it's shooting in the dark.
The same bit of software:
* Crashes the OS when running native, where OS is Windows, Mac, and Linux.
* Crashes the host OS from inside a VM running Linux or Windows.
I can't think of any explanation other than a hardware bug. How can the same crash happening inside and outside a VM on multiple OSes be anything else?