4 ms·
Honestly, that sounds like a kernel panic. Two guesses: bizarre GPU/driver issue triggered by some kind of preview/desktop environment thing (less likely), or y
by marcan_42 5y ago
Honestly, that sounds like a kernel panic. Two guesses: bizarre GPU/driver issue triggered by some kind of preview/desktop environment thing (less likely), or your filesystem is corrupt and/or your SSD has trouble (more likely).
Try `pv /dev/nvme0n1 > /dev/null` (or just cat, but pv will give you a nice progress bar if you install it). If that errors out or your machine freezes, you have a storage problem and probably need to replace your SSD. If that works, try booting in single user mode or from a USB boot drive and running fsck.
You can also try SSHing in from another machine while trying to open the file locally. If the SSH session dies instantly, it's probably a kernel panic. If it survives, you can look at logs and top see what happened (maybe the issue is the desktop environment locks up?)
Sleep issues, the dock stuff, those sound like legitimate driver/support issues that would affect anyone. But opening PDFs crashing your machine really sounds like either your hardware or install is specifically broken and needs fixing, or you're running into a really weird bug that is not hardware-specific.