2
我一直在從Apache獲得偶爾的Seg Fault,所以我在我的服務器上啓用了核心轉儲,試圖找出發生了什麼事情。昨晚我得到了另一個,並試圖檢查覈心轉儲以瞭解發生了什麼。這絕對是一個PHP過程,所以我Google搜索瞭如何專門針對PHP進行檢查。我下載的.gdbinit中的PHP 5.2,我跑在轉儲文件如下:分析Apache/PHP核心轉儲
$ gdb apache2 dumpfile
[reading/loading symbols]
(gdb) bt
[...backtrace...]
(gdb) source ~/.gdbinit
(gdb) dump_bt executor_globals.current_execute_data
Attempt to extract a component of a value that is not a structure.
我應該dump_bt executor_globals.current_execute_data
導致此賽格故障PHP腳本後得到一個回溯,但我不斷收到Attempt to extract a component of a value that is not a structure.
代替。
可能是一個模塊/擴展版本不匹配 – stillstanding 2010-12-02 14:03:17