Why Are My Linux Applications Crashing Randomly?

0
0
Asked By MellowPebble42 On

I've been dealing with persistent PC problems all weekend. My filesystems initially started switching to read-only, so I reinstalled the operating system and moved from CachyOS to Fedora. The issue continued until I installed the system on a different drive, which made me suspect that the original SSD is failing. Now applications are also crashing at random. Browsers such as Chromium, Firefox, and LibreWolf usually work briefly before crashing, and Discord and some Steam games have crashed occasionally too. Sometimes only browser tabs close, while other times the entire application exits. What should I check to determine whether this is a storage, memory, or another hardware problem?

3 Answers

Answered By QuietComet31 On

Launch the programs from a terminal, for example by running `firefox` or the relevant application command. If the process crashes, the terminal may print useful graphics, library, or segmentation-fault messages. Watching `sudo dmesg -w` in another terminal at the same time can help connect the crash to a disk, memory, GPU, or filesystem error.

Answered By CopperLynx88 On

Random crashes across multiple browsers, Discord, and games can also point to faulty RAM or a damaged swapfile. Run a full Memtest86 or another bootable memory test rather than relying only on normal system usage. If memory errors appear, test the sticks individually and check that they are seated properly.

MellowPebble42 -

The crashes are inconsistent: sometimes just browser tabs fail, while other times the whole application closes, and I haven’t found a reliable error message yet.

Answered By NorthStarJay7 On

A filesystem becoming read-only usually means the kernel detected a storage problem. Since moving the installation to another drive changed the behavior, the original SSD is definitely worth investigating. Check its SMART health data with a tool such as GSmartControl, and look for storage-related errors in the kernel log with `sudo dmesg -w` or by reviewing `dmesg` after a crash.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.