Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
What should I do when Ubuntu freezes?

I've got Ubuntu 12.04 LTS. and I'm new to Ubuntu. I have problems with crashes that occur semi-randomly.

  • Sometimes when I start Ubuntu, both browsers (Firefox and Chrome) fail to load. Chrome gives “Aw Snap!” on every site and Firefox exits giving an error. Then I restart Ubuntu and everything is normal. Why does it fail to start when I start ubuntu for the first time?

  • Sometimes I get “System Program Problem Detected”. I even performed sudo rm /var/crash/*. It disappers on restart but it then comes back again.

Should I check if my all packages are properly installed? How?

share|improve this question

marked as duplicate by Jorge Castro, Thomas W., Mitch, James Henstridge, fossfreedom Jul 13 '12 at 8:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
You need to be clear enough , if any errors , pls post the EXACT errors , a screenshot maybe. –  atenz Jul 12 '12 at 17:58
2  
Also, if each issue is with a different program, then you should ask for support in each one specifically. As for the crash, did you file a crash report? –  Thomas W. Jul 12 '12 at 18:03
2  
sunny, welcome to AskUbuntu! It's a good practice to ask just one thing per question, to get best answers to all of them! I suggest you split up these 3 into separate questions. –  Rafał Cieślak Jul 12 '12 at 18:21

1 Answer 1

Run a memory test. At the boot menu, instead of picking Ubuntu or Windows, pick “Memory test”. See Faulty hardware in the Ubuntu community documentation for more details. If you don't get a boot menu, see configuring Grub2 for how to enable it.

Seriously. Linux is pretty demanding on the RAM. RAM tends to fail in subtle ways: if you write a value to a location and read it later, it comes out right — except when you've done a very particular sequence of writes and you happen to read at exactly the wrong time. I've seen computers that seemed to run Windows just fine, and even ran some applications under Linux — but start using Firefox (which uses a lot of RAM), and the crashes would come. I ran a memory test, which showed a single failure; I replaced the RAM sticks, and that machine ran without rebooting for the next year or so.

The crash reports in /var/crash are just that: crash reports. They are a consequence of the crashes, not a cause. They might help in diagnosing what is wrong; but if it's failing RAM, the crashes tend to look pretty random.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.