大学校长什么级别| 什么刻| 见路不走是什么意思| 重度贫血是什么原因引起的| 双肺纹理增粗是什么意思| 拉肚子最好吃什么食物| b像什么| 干咳喝什么止咳糖浆好| 双性恋是什么| 口苦口臭吃什么药效果最佳| 急腹症是什么意思| 梦到捡金子首饰是什么意思| 字读什么| 至死不渝什么意思| 出痧是什么意思| 世界上什么最大| 什么手机电池最耐用| 护士需要什么学历| 什么东西化痰效果最好最快| 珑骧包属于什么档次| 潮吹是什么感觉| 丝瓜吃了有什么好处| 聪明的近义词是什么| 砭石是什么石头| 腋臭手术挂什么科| 规培是什么| 蛇缠腰是什么病| 施字五行属什么| lpn什么意思| emoji是什么意思| 11.23是什么星座| 桜什么意思| 耳石症是什么原因| 胰腺炎是什么引起的| 脉率是什么| 乔迁送什么水果| 大什么大什么| 为什么医生都不体检| 小孩睡不着觉是什么原因| 血小板为0意味着什么| 水瓜有什么作用和功效| 常吃洋葱有什么好处| 什么牛排最好吃| tritan是什么材质| 转氨酶偏低是什么原因| 汪小菲什么星座| 泡妞是什么意思啊| 尿有泡沫是什么原因| 寒湿吃什么中成药| 双胞胎代表什么生肖| 白鸭是什么鸭| 短板是什么意思| 苹果花是什么颜色| ttm是什么意思| 卷柏是什么植物| 吃什么水果容易排便| 肾阳不足吃什么中成药| 吃坏东西肚子疼吃什么药| neg是什么意思| 榴莲和什么相克| 肠易激综合症吃什么药| 血管瘤吃什么药| 脑委缩有什么症状| 变蛋是什么蛋| 阿飞是什么意思| 蜂蜜不能和什么食物一起吃| 肛门坠胀吃什么药最好| 12月15日什么星座| 看见黑猫代表什么预兆| acu是什么意思| 11.6号是什么星座| 为什么会得肩周炎| 脚趾麻是什么病的前兆| 宅基地是什么意思| 怀孕第一个月有什么特征| 喉咙发炎吃什么| 人体最大的器官是什么| 肝郁吃什么药| 男人蛋蛋疼是什么原因| 蚱蜢吃什么食物| 你喜欢什么| 小孩咳嗽吃什么药效果最好| 年少有为什么意思| 女人吃莲藕有什么好处| 北京户口有什么好处| 什么图强| 痛风可以喝什么酒| 血糖高了会有什么危害| 麒麟臂什么意思| 专情是什么意思| 秦皇岛有什么特色美食| 华山在什么地方| 幽门螺杆菌挂什么科| 能量棒是什么东西| 看脖子挂什么科| 才高八斗是什么意思| 十月五号是什么星座| 博美犬吃什么狗粮最好| 镜子是用什么做的| 眼睛痛什么原因| 皮肤黑的人穿什么颜色的衣服好看| 十八岁成人礼送什么礼物| 老来得子是什么意思| 跳蛋有什么用| 肝功能谷丙转氨酶偏高是什么原因| 脑洞是什么意思| 魅可口红属于什么档次| 1月21日什么星座| 天津有什么好吃的| 3月18是什么星座| 孕妇吃什么盐最好| 胃痛去药店买什么药| hape是什么牌子| sp是什么面料成分| 来月经有异味什么原因| 1962年属什么| 厘米为什么叫公分| 8.26是什么星座| 家庭是什么| 风水宝地是什么生肖| 额头上长斑是什么原因造成的| 蔻驰香水属于什么档次| 成人礼送什么礼物| 爱妃是什么意思| 香港什么东西值得买| 百田森的鞋什么档次| 黄瓜什么时候种| 回光返照什么意思| hardly什么意思| 市政府办公室主任是什么级别| 结痂什么意思| 心肌缺血吃什么补得快| 角化型脚气用什么药| 甲状腺发炎有什么症状| eos是什么| 大便出血挂什么科| 身体冒虚汗什么原因| 小气道病变是什么意思| 屏风是什么| 韩国欧巴是什么意思| 黑色的玫瑰花代表什么| 宜子痣是什么意思| 小宝贝是什么意思| 梦中梦是什么原因| 什么病不能吃绿豆| 大姨的女儿叫什么| 不想吃饭没胃口是什么原因| 饱的偏旁叫什么| 竹字五行属什么| 欲言又止下一句是什么| 条件致病菌是什么意思| 姜子牙属什么生肖| 攀缘是什么意思| 雪莲果什么时候成熟| 泌乳素高有什么症状| 现在做什么最赚钱| 心脏供血不足用什么药| 吃稀饭配什么菜好吃| 胃绞疼是什么原因| 拉肚子挂什么科| 古今内衣是什么档次| 脚踝肿挂什么科| 寒战是什么症状| 2025年什么年| 出梅是什么意思| 灰指甲用什么药最好| 沙拉是什么| 钱是什么单位| 异化是什么意思| 感康是什么药| 眉毛少是什么原因| 没腿毛的男人代表什么| 全腹部ct平扫主要检查什么| 心电图pr间期缩短是什么意思| 麒麟长什么样| 子宫直肠凹积液是什么意思| 学霸是什么意思| 本色出演是什么意思| 水饮是什么意思| 鸡鸡长什么样| 西米是什么| 猫喜欢吃什么| 知柏地黄丸主治什么| 卒中中心是干什么的| 丁亥年五行属什么| 间质性肺炎是什么意思| 低钾会有什么症状| 月亮什么颜色| 脑电图异常是什么病| 柿子和什么不能一起吃| 99属什么| 神经性头疼吃什么药效果好| 滑膜炎是什么病| 怀孕前有什么症状| 梦见花开是什么预兆| 增强ct是什么| 身体游走性疼痛什么病| 有什么烟| 夏天什么时候结束| 查血常规挂什么科| 王加民念什么| 什么的辨认| 什么的云朵| 三顾茅庐的顾是什么意思| 朝鲜韩国什么时候分开的| cordura是什么面料| 今年什么时候进入伏天| 头孢不能和什么一起吃| 尿多尿频是什么原因| 小便解不出来是什么原因| 浑身没力气是什么原因| hpv是什么疫苗| 社保基数什么时候调整| 清五行属什么| 宫颈转化区三型是什么意思| 打招呼是什么意思| 结节是什么东西| 月经肚子疼是什么原因| 深圳属于什么方向| 什么是管状腺瘤| 拧巴是什么意思| 皮肤黑适合穿什么颜色的衣服| 摸头杀是什么意思| 什么是69式| aoerbo是什么牌子的手表| 阑尾炎手术后吃什么| 10.16是什么星座| 女人吃什么对卵巢和子宫好| pt是什么材质| 淋巴细胞百分比偏高是什么意思| 补肾壮阳吃什么效果好| 2020属什么生肖| 7月属什么生肖| 李荣浩什么学历| jacquemus是什么牌子| 润滑油可以用什么代替| 未亡人什么意思| 凌波仙子是什么意思| 招魂是什么意思| 女人为什么要穿高跟鞋| 车顶放饮料是什么意思| 蛋白电泳是查什么的| 产后吃什么水果好| 为什么会堵奶| 查血脂挂什么科| 紫笋茶属于什么茶| 12月15日什么星座| 傻瓜是什么生肖| 鼻子出血是什么原因引起的| 89属什么| 化疗和放疗什么区别| 什么是性格| 肾结石要注意些什么| 什么是中暑| 检点是什么意思| 四季春属于什么茶| 体位是什么意思| 比音勒芬是什么档次| 秋分是什么意思| 肝血管瘤挂什么科| 水果之王是什么水果| 什么是半衰期| 鸡犬不宁是什么意思| 咸鱼翻身是什么意思| 百度Jump to content

From Wikipedia, the free encyclopedia
百度 尽管所有狗的99%的基因是相同的,但剩下1%的基因差异却决定了狗的品种。

A kernel panic displayed on an iMac. This is the most common form of an operating system failure in Unix-like systems.

In computing, a crash, or system crash, occurs when a computer program such as a software application or an operating system stops functioning properly and exits. On some operating systems or individual applications, a crash reporting service will report the crash and any details relating to it (or give the user the option to do so), usually to the developer(s) of the application. If the program is a critical part of the operating system, the entire system may crash or hang, often resulting in a kernel panic or fatal system error.

Most crashes are the result of a software bug. Typical causes include accessing invalid memory addresses,[a] incorrect address values in the program counter, buffer overflow, overwriting a portion of the affected program code due to an earlier bug, executing invalid machine instructions (an illegal or unauthorized opcode), or triggering an unhandled exception. The original software bug that started this chain of events is typically considered to be the cause of the crash, which is discovered through the process of debugging. The original bug can be far removed from the code that actually triggered the crash.

In early personal computers, attempting to write data to hardware addresses outside the system's main memory could cause hardware damage. Some crashes are exploitable and let a malicious program or hacker execute arbitrary code, allowing the replication of viruses or the acquisition of data which would normally be inaccessible.

Application crashes

[edit]
A display at Frankfurt Airport running a program under Microsoft Windows that has crashed due to a memory read access violation

An application typically crashes when it performs an operation that is not allowed by the operating system. The operating system then triggers an exception or signal in the application. Unix applications traditionally responded to the signal by dumping core. Most Windows and Unix GUI applications respond by displaying a dialogue box (such as the one shown in the accompanying image on the right) with the option to attach a debugger if one is installed. Some applications attempt to recover from the error and continue running instead of exiting.

An application can also contain code to crash[b] after detecting a severe error.

Typical errors that result in application crashes include:

  • attempting to read or write memory that is not allocated for reading or writing by that application (e.g., segmentation fault, x86-specific general protection fault)
  • attempting to execute privileged or invalid instructions
  • attempting to perform I/O operations on hardware devices to which it does not have permission to access
  • passing invalid arguments to system calls
  • attempting to access other system resources to which the application does not have permission to access
  • attempting to execute machine instructions with bad arguments (depending on CPU architecture): divide by zero, operations on denormal number or NaN (not a number) values, memory access to unaligned addresses, etc.

Crash to desktop

[edit]

A "crash to desktop" (CTD) is said to occur when a program (commonly a video game) unexpectedly quits, abruptly taking the user back to the desktop. Usually, the term is applied only to crashes where no error is displayed, hence all the user sees as a result of the crash is the desktop. Many times there is no apparent action that causes a crash to desktop. During normal function, the program may freeze for a shorter period of time, and then close by itself. Also during normal function, the program may become a black screen and repeatedly play the last few seconds of sound (depending on the size of the audio buffer) that was being played before it crashes to desktop. Other times it may appear to be triggered by a certain action, such as loading an area.

CTD bugs are considered particularly problematic for users. Since they frequently display no error message, it can be very difficult to track down the source of the problem, especially if the times they occur and the actions taking place right before the crash do not appear to have any pattern or common ground. One way to track down the source of the problem for games is to run them in windowed-mode. Certain operating system versions may feature one or more tools to help track down causes of CTD problems.

Some computer programs such as StepMania and BBC's Bamzooki also crash to desktop if in full-screen, but display the error in a separate window when the user has returned to the desktop.

Web server crashes

[edit]

The software running the web server behind a website may crash, rendering it inaccessible entirely or providing only an error message instead of normal content.

For example, if a site is using an SQL database (such as MySQL) for a script (such as PHP) and that SQL database server crashes, then PHP will display a connection error.

Operating system crashes

[edit]
A Blue screen of death as displayed in Windows XP, Vista, and 7
A kernel panic as displayed in OS X Mountain Lion

An operating system crash commonly occurs when a hardware exception occurs that cannot be handled. Operating system crashes can also occur when internal sanity-checking logic within the operating system detects that the operating system has lost its internal self-consistency.

Modern multi-tasking operating systems, such as Linux, and macOS, usually remain unharmed when an application program crashes.

Some operating systems, e.g., z/OS, have facilities for Reliability, availability and serviceability (RAS) and the OS can recover from the crash of a critical component, whether due to hardware failure, e.g., uncorrectable ECC error, or to software failure, e.g., a reference to an unassigned page.

Abnormal end

[edit]

An Abnormal end or ABEND is an abnormal termination of software, or a program crash. Errors or crashes on the Novell NetWare network operating system are usually called ABENDs. Communities of NetWare administrators sprang up around the Internet, such as abend.org.

This usage derives from the ABEND macro on IBM OS/360, ..., z/OS operating systems. Usually capitalized, but may appear as "abend". Some common ABEND codes are System ABEND 0C7 (data exception) and System ABEND 0CB (division by zero).[1][2][3] Abends can be "soft" (allowing automatic recovery) or "hard" (terminating the activity).[4] The term is jocularly claimed to be derived from the German word "Abend" meaning "evening".[5]

Security and privacy implications of crashes

[edit]

Depending on the application, the crash may contain the user's sensitive and private information.[6] Moreover, many software bugs which cause crashes are also exploitable for arbitrary code execution and other types of privilege escalation.[7][8] For example, a stack buffer overflow can overwrite the return address of a subroutine with an invalid value, which will cause, e.g., a segmentation fault, when the subroutine returns. However, if an exploit overwrites the return address with a valid value, the code in that address will be executed.

Crash reproduction

[edit]

When crashes are collected in the field using a crash reporter, the next step for developers is to be able to reproduce them locally. For this, several techniques exist: STAR uses symbolic execution,[9] EvoCrash performs evolutionary search.[10]

See also

[edit]

Notes

[edit]
  1. ^ Types of invalid addresses include:
  2. ^ In OS/360 and successors the application normally uses an ABEND macro with a user completion code.

References

[edit]
  1. ^ "ABEND" (PDF). OS Release 21 – System/360 Operating System – Supervisor Services and Macro Instructions (PDF) (Eighth ed.). IBM. September 1974. pp. 97–99. GC28-6646-7. Retrieved 8 July 2023.
  2. ^ "0Cx – z/OS MVS System Codes". IBM.
  3. ^ List of ABEND codes Archived 2025-08-06 at the Wayback Machine on madisoncollege.edu
  4. ^ Parziale, Lydia (2008). z/VM and Linux Operations for z/OS System Programmers. IBM Redbooks. ISBN 9780738431598. page 352
  5. ^ "Abend" Archived 29 September 2011 at the Wayback Machine on dictionary.die.net
  6. ^ Satvat, Kiavash; Saxena, Nitesh (2018). "Crashing Privacy: An Autopsy of a Web Browser's Leaked Crash Reports". arXiv:1808.01718 [cs.CR].
  7. ^ "Analyze Crashes to Find Security Vulnerabilities in Your Apps". Msdn.microsoft.com. 26 April 2007. Archived from the original on 11 December 2011. Retrieved 26 June 2014.
  8. ^ "Jesse Ruderman ? Memory safety bugs in C++ code". Squarefree.com. 1 November 2006. Archived from the original on 11 December 2013. Retrieved 26 June 2014.
  9. ^ Chen, Ning; Kim, Sunghun (2015). "STAR: Stack Trace Based Automatic Crash Reproduction via Symbolic Execution". IEEE Transactions on Software Engineering. 41 (2): 198–220. doi:10.1109/TSE.2014.2363469. ISSN 0098-5589. S2CID 6299263.
  10. ^ Soltani, Mozhan; Panichella, Annibale; van Deursen, Arie (2017). "A Guided Genetic Algorithm for Automated Crash Reproduction". 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE). pp. 209–220. doi:10.1109/ICSE.2017.27. ISBN 978-1-5386-3868-2. S2CID 199514177. Archived from the original on 25 January 2022. Retrieved 21 December 2020.
[edit]
阿尔茨海默症是什么症状 经期头疼是什么原因怎么办 拉肚子去医院挂什么科 如意丹的作用是什么 什么炒鸡蛋
自怨自艾什么意思 安代表什么生肖 咳嗽完想吐是什么原因 什么金属最贵 什么拂面
氨酶偏高是什么意思 睡莲和碗莲有什么区别 胃溃疡适合吃什么水果 尿蛋白质阳性是什么意思 梦见石榴是什么意思
1997年什么命 睚眦欲裂什么意思 结节性甲状腺肿是什么意思 风热感冒吃什么食物 舌头发白有齿痕是什么原因
什么样的降落伞hcv7jop6ns3r.cn 蝙蝠长什么样子图片hcv8jop8ns5r.cn 奴才是什么意思sscsqa.com 网拍是什么意思ff14chat.com 喉咙痛看什么科hcv8jop3ns7r.cn
acs是什么hcv9jop2ns7r.cn 什么是有机食品hcv8jop1ns5r.cn 吃什么能化解肾结石wzqsfys.com 吃什么丰胸效果好又快hcv8jop0ns3r.cn 细菌性前列腺炎有什么症状hcv8jop8ns3r.cn
男人射的快是什么原因hcv9jop0ns5r.cn 二维是什么意思hcv9jop1ns0r.cn 视力模糊什么原因hcv8jop9ns3r.cn 美的是做什么起家的hcv8jop8ns0r.cn 嘿是什么意思hcv8jop7ns1r.cn
梦见自己把头发剪短了是什么意思hcv9jop8ns0r.cn 世界上最深的湖泊是什么hcv8jop7ns6r.cn 尿葡萄糖是什么意思hcv9jop4ns5r.cn 鼻鼽病是什么意思hcv8jop4ns2r.cn 点天灯是什么意思hcv7jop6ns1r.cn
百度