hang(redirected from hangs)
Also found in: Dictionary, Thesaurus, Medical, Idioms.
To lock the receiver or bolt of a gun in an open position.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.
To wait for an event that will never occur. "The system is hanging because it can't read from the crashed drive". See wedged, hung.
To wait for some event to occur; to hang around until something happens. "The program displays a menu and then hangs until you type a character." Compare block.
To attach a peripheral device, especially in the construction "hang off": "We're going to hang another tape drive off the file server." Implies a device attached with cables, rather than something that is strictly inside the machine's chassis.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
abend(ABnormal END) Pronounced "ab-end." An abend is an unexpected termination that causes the computer, smartphone or tablet to stop responding. The abend occurs either when the processor is presented with instructions or data it cannot recognize, or a program tries to address memory beyond a defined boundary. Abends are generally the result of erroneous software logic in the application or operating system (see anomaly).
Crash, Freeze, Lock Up and Hang
A "crash" occurs when the computer issues a "fault" and deliberately halts that line of execution. The terms "freeze," "lock up" or "hang" may refer to software that is actually still running but has erroneously wound up in an endless, internal loop that renders the program useless. In practice, the terms "crash," "freeze," "lock up" and "hang" are used synonymously. See infinite loop.
Bad Hardware Can Look Like Bad Software
A serious hardware failure will stop a computer-based device that has no redundant components. For example, a short circuit on the motherboard will halt the operation; however, a failing memory cell can cause an instruction to point to an erroneous location, making it look like a software failure.
It Depends on the OS
If the abend occurs due to a bug in an application and the operating system is not resilient, the computer locks up and has to be rebooted. Modern operating systems attempt to halt only the offending application and allow the remaining applications to continue. As operating systems evolve through the years, they are more tolerant of application bugs. However, operating systems themselves are not 100% foolproof, and bad applications can cause operating systems to crash; a major motivation for running in a virtual mode (see virtualization and virtual machine).
A Miracle It All Works
If you consider what goes on inside a computer, you might wonder why it does not crash more often. An ordinary home computer can easily have 64 billion memory (RAM) cells. Every second, millions of them switch their status between charged and uncharged (1 to 0; 0 to 1). If only one cell fails, it can cause an instruction to be invalid, and an abend can occur. See head crash, GPF, active area and transistor concept.
|The green blocks are machine instructions executed by the CPU one after the other until a branch (jump) instruction breaks the sequence and points to an instruction elsewhere in the program. Abending (crashing, hanging, etc.) occurs when the program erroneously points outside of its address space, typically due to bad logic.|
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.