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.

I am using Ubuntu 12.10. I always keep my computer updated. Now, for some strange reason, whenever I start watching any movie, the computer restarts randomly. I tried watching with VLC, totem and mplayer. Result is the same. Can anybody tell me what can be possibly wrong? And there must be some log files including informations during the restarts. Can someone tell me where I can find those logs? Thanks in advance.

share|improve this question
    
is that hapends when no cd in drive ? –  user84277 Nov 27 '12 at 18:02
    
Upload /var/log/syslog to Pastebin and post link here. –  VedVals Nov 29 '12 at 14:37
add comment

1 Answer

To start:

/var/log/syslog - main system log file.
/var/crash - program crashes, look for anything with the right timestamp
/var/log/Xorg.*.log - GUI log files.  Look for one that matches the right time.

It could very well be a graphic card bug. I would make sure your graphics drivers are up to date, and if so, file a launchpad bug. So much of movie playback is hardware accelerated now, that subtle bugs can creep in.

You will probably also want to clarify in your question what you mean by restart. Does the full system reboot, or just the user interface crash and you go back to the login screen?

The following guides have been helpful to me when debugging system crashes. To be clear, I think you have a genuine bug of some kind, and I think you should file it upstream. I know that doesn't help you watch movies. :(

https://help.ubuntu.com/community/DebuggingSystemCrash

I don't see anything obvious in your log files. A true kernel crash will not show up in log files usually, and if find that is what you have, you will need to enable the following to make forward progress:

https://wiki.ubuntu.com/Kernel/CrashdumpRecipe

Sorry that you are having this trouble. :(

share|improve this answer
    
I examined these logs. /var/crash does not exist in my PC. App crashes are stored in apport log perhaps? Now, to me these seems fine. But I am including the logs here: syslog: link Xorg.0.log: link Xorg.1.log: link By restart I meant a full system reboot. I don't have a graphics card. I have 64MB graphic memory built-in in my Intel G31/33 Express Chipset Motherboard. Everyday I run an apt-get update && apt-get update so graphics drivers are alright I suppose. @dpb –  user111129 Nov 27 '12 at 21:45
    
During movie playback, top shows CPU load average is normal. Bellow 1.00 in my Core 2 Duo processor. –  user111129 Nov 27 '12 at 22:12
    
Your built-in graphics chip in your motherboard likely provids hardware acceleration in this case. Doesn't have to be an external card to be considered a graphics card, just pointing that out. :) Thanks for the log files. I would update your answer with them so others can more easily see. –  dpb Nov 29 '12 at 16:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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