歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> Linux文化 >> 錯誤信息:Segmentation fault 是什麼意思?

錯誤信息:Segmentation fault 是什麼意思?

日期:2017/2/27 12:09:58   编辑:Linux文化

>>> 此貼的回復 >> 段錯誤.內存訪問越界.

>>> 此貼的回復 >> 一般是指針用錯

>>> 此貼的回復 >> Segment fault時會在可執行文件目錄下產生coredump文件(如果沒有要先執行一下ulimit -c 16)。

然後gdb coredump_filename 進人gdb後bt查看調用棧,看是在那個函數中出錯的


Copyright © Linux教程網 All Rights Reserved