User User name Password  
   
Monday 27.1.2025 / 08:11
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > general discussion > all other topics > why do we experience random crashes?
Show topics
 
Forums
Forums
Why do we experience random crashes?
  Jump to:
 
Posted Message
usjbroly
Junior Member
_
29. July 2009 @ 09:44 _ Link to this message    Send private message to this user   
If memory serves me correctly, a computer system is designed to repeat a task again and again unless there is a change in software or a hardware malfunction. So, a computer controlled drill is told to drill 3cm in a wall, it will drill exactly 3cm time and time again until it told to drill another length or a hardware malfunction occurs (the drill becomes blunt).

If this is true, why do random crashes happen? Either the system works and does its job or it doesn't and needs repair. Yet we experience moments when the computer 'sometimes' starts up, or a DVD sometimes loads. Any answer is welcome, Thank You!
Advertisement
_
__
AfterDawn Addict
_
29. July 2009 @ 12:09 _ Link to this message    Send private message to this user   
What you say would be true if the computer were processing and excuting one process and one process only.

The example that you use would be more appropriate for a finite state machine than a multitasking OS.

A multitasking OS is more like a busy train lobby with processes entering, operating and exiting. Each customer entering the lobby can be viewed as a task or process which enters the CPU (task starting), does a function (task running), and then exits (task ending)

All of the taks communicate with a central operating kernel, which, among other things, is responsible for the modules and tasks that are running.
One of the ways that the kernel knows that the task are running correctly is by a mechanism known as a "watchdog timer". The purpose of the watchdog is to ensure that tasks and modules "check in" with the kernel.
If a module (for whatever reason) fails to check in, the kernel may take action to restart the module, or in some cases, kill the module.
Sometimes the result of killing the module is an unrecoverable error from which the kernel has no other option but to shut down the system.
Modules or processes can encounter problems for any number of reasons.
Memory access problems (corruption or invalid address)

Zombie process (process gets into a loop and doesn't respond)

Memory leak (memory not properly released as processes start and stop)

Instruction Exception (an abnormal condition which may be caused by poorly written software or an unexpected condition)

Others can probably elaborate or add to this list.

This message has been edited since posting. Last time this message was edited on 29. July 2009 @ 18:02

ddp
Moderator
_
29. July 2009 @ 14:36 _ Link to this message    Send private message to this user   
anything made or designed by man has hiccups. i have a saying that i tell my customers when they as what caused the problem. i tell them there is 5 things that can go wrong with a system, 1:humans 2:electricity 3:software 4:electronics 5:mechanical. any 1 or a combination of them & god knows what the results will be. with pc's, the operating system is a compromise as it has to work with software manufacturers a to z & hardware manufacturers a to z.
usjbroly
Junior Member
_
29. July 2009 @ 17:42 _ Link to this message    Send private message to this user   
Thank you very much for the replies, particularly 'dailun'. Your explaination was quite easy to understand. Thank You :)
Advertisement
_
__
 
_
bzuka
Newbie
_
3. August 2009 @ 02:19 _ Link to this message    Send private message to this user   
Originally posted by usjbroly:
If memory serves me correctly, a computer system is designed to repeat a task again and again unless there is a change in software or a hardware malfunction. So, a computer controlled drill is told to drill 3cm in a wall, it will drill exactly 3cm time and time again until it told to drill another length or a hardware malfunction occurs (the drill becomes blunt).

If this is true, why do random crashes happen? Either the system works and does its job or it doesn't and needs repair. Yet we experience moments when the computer 'sometimes' starts up, or a DVD sometimes loads. Any answer is welcome, Thank You!

ow, any system needs repair and i think it's quite normal

im cool to be blessed by power of attorney
afterdawn.com > forums > general discussion > all other topics > why do we experience random crashes?
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork