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