Segmentation fault (core dumped) 是内存爆了么
时间: 2023-09-04 16:14:53 浏览: 100
Segmentation fault (core dumped)不一定是内存爆了的问题。引用中提到,Segmentation fault (core dumped)是一个错误信号,通常表示代码内部出现了问题。这个错误通常是由于代码中的一些错误操作导致的,比如空指针、野指针的读写操作,数组越界访问,破坏常量等。这些操作可能会导致内存访问错误,从而引发Segmentation fault (core dumped)错误。所以,Segmentation fault (core dumped)并不是仅仅指内存爆了的问题,而是涉及到代码中的错误操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Segmentation fault (core dumped)](https://blog.csdn.net/rasiel_2019/article/details/126929451)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core d](https://download.csdn.net/download/error0723/12013192)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [segmentation fault (core dumped)](https://blog.csdn.net/sexyluna/article/details/123766687)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文