Storage violation
In computing a storage violation is a hardware or software fault that occurs when a task attempts to access an area of computer storage which it is not permitted to access.[src]
In computing a storage violation is a hardware or software fault that occurs when a task attempts to access an area of computer storage which it is not permitted to access.[src] ==Types of storage violation== Storage violation can, for instance, consist of reading from, writing to, or freeing storage not owned by the task.[src] A common type of storage violation is known as a stack buffer overflow where a program attempts to exceed the limits set for its call stack.[src] It can also refer to attempted modification of memory "owned" by another thread where there is incomplete (or no) memory protection.[src] ==Avoidance of storage violations== Storage violations can occur in transaction systems such as CICS in circumstances where it is possible to write to storage not owned by the transaction; such violations can be reduced by enabling features such as storage protection and transaction isolation.[src] ==Detection of storage violations== Storage violations can be difficult to detect as a program can often run for a period of time after the violation before it crashes.[src] For example, a pointer to a freed area of memory can be retained and later reused causing an error.[src] As a result, efforts focus on detecting violations as they occur, rather than later when the problem is observed.[src] In systems such as CICS, storage violations are sometimes detected (by the CICS kernel) by the use of "signatures", which can be tested to see if they have been overlaid.[src] An alternative runtime library may be used to better detect storage violations, at the cost of additional overhead.[src] Some programming languages use software bounds checking to prevent these occurrences.[src] Some program debugging software will also detect violations during testing.[src] ==Common causes== A runaway subscript leading to illegal use of reference modification during run time.[src] Linkage layout mismatch between called and the calling elements.[src] Use of previously freed (and sometimes already re-allocated) memory.[src] ===Examples of software detecting storage violations=== Intertest originally from Online Software International, later Computer Associates ==See also== Segmentation fault ==References== CICS problem determination Guide ==External links== https://plus.google.com/u/1/collection/wUwasB Marketing material for other product detecting storage violations[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Storage violation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/storage-violation. Accessed 03 December 2026.
Chicago
"Storage violation." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/storage-violation.
APA
encyclopegia.org. (2026). Storage violation. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/storage-violation
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON