apache核心转储文件 [英] apache core dump files

查看:76
本文介绍了apache核心转储文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过gdb读取apache核心转储文件

I am trying to read apache core dump files by gdb

这是简短的输出,而不是完整的输出,但是我无法在此处发布整个输出

and this is the short output not the complete output but i cannot post the whole output in here

# 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 ?? ()

我想知道到底是什么引起了这个问题

and i want to know what exactly cause this problem

谢谢

推荐答案

您想从本文档开始:

You want to start with this document: http://httpd.apache.org/dev/debugging.html.

如果发现它在特定模块中-

If you find that it is in a specific module - http://www.myiphoneadventure.com/linux-2/debugging-apache-modules-in-linux-with-gdbddd can help.

http://www .omh.cc/blog/2008/mar/6/fixing-apache-segmentation-faults-caused-php/介绍了一些不错的技巧.

http://www.omh.cc/blog/2008/mar/6/fixing-apache-segmentation-faults-caused-php/ documents a few nice extra tricks.

这篇关于apache核心转储文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆