0

gdb で Apache コア ダンプ ファイルを読み込もうとしています

これは完全な出力ではなく短い出力ですが、ここに出力全体を投稿することはできません

# gdb /usr/local/apache/bin/httpd core.27476
GNU gdb (GDB) CentOS (7.0.1-42.el5.centos)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/apache/bin/httpd...(no debugging symbols found)...done.
[New Thread 27476]

warning: .dynamic section for "/lib/libssl.so.6" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/lib/libcrypto.so.6" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/lib/librt.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations
Core was generated by `/usr/local/apache/bin/httpd -k start -DSSL'.
Program terminated with signal 11, Segmentation fault.
#0  0xb3986ca8 in ?? ()

この問題の正確な原因を知りたい

ありがとう

4

1 に答える 1

4

このドキュメントから始めたいと思います: http://httpd.apache.org/dev/debugging.html

それが特定のモジュールにあることがわかった場合 - http://www.myiphoneadventure.com/linux-2/debugging-apache-modules-in-linux-with-gdbdddが役立ちます。

http://www.omh.cc/blog/2008/mar/6/fixing-apache-segmentation-faults-caused-php/には、いくつかの優れた追加のトリックが記載されています。

于 2012-07-24T12:38:24.420 に答える