出現core時的處理流程:
step 1. 將core放到執行檔目錄下
step 2. 使用file找到出 core的執行檔
指令 file core.xxx
step 3. 打開core檔
指令 gdb -c core檔名 執行檔檔名
gdb -c core.31 DBstorage
step 4. 顯示在何處down掉的
指令 where
文章標籤
全站熱搜
出現core時的處理流程:
step 1. 將core放到執行檔目錄下
step 2. 使用file找到出 core的執行檔
指令 file core.xxx
step 3. 打開core檔
指令 gdb -c core檔名 執行檔檔名
gdb -c core.31 DBstorage
step 4. 顯示在何處down掉的
指令 where