Page 2 of 2

Re: New Kernel Less Stable than Last Kernel

Posted: Thu Oct 06, 2011 1:03 pm
by mikeshinn
You need to install the debug symbols for anything you want to backtrace:

https://www.atomicorp.com/wiki/index.ph ... Core_Files

"Step 3:

Install the debuginfo packages for the applications you want to backtrace. This is so your core file will contain the debug information needed to assist you in tracking down the source of the segfault. For example, if you are backtracing just apache, then you need to install its debuginfo packages. If you are debugging something else, like PHP, you need to install its debug symbols and so on. Here is an example for a package managed apache install:

yum install httpd-debuginfo

If your OS is missing debuginfo, file a bug report with them. Although we do make debuginfo rpms available in the atomic repository for our Apache builds, unless you use our free Atomic rpms you will want to install the correct debuginfo file for your system. "

Re: New Kernel Less Stable than Last Kernel

Posted: Thu Oct 06, 2011 1:18 pm
by premierhosting

Code: Select all

[root@server1 ~]# yum install httpd-debuginfo
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: www3.atomicorp.com
 * atomic-testing: www3.atomicorp.com
Setting up Install Process
No package httpd-debuginfo available.
Nothing to do

Re: New Kernel Less Stable than Last Kernel

Posted: Thu Oct 06, 2011 1:19 pm
by premierhosting

Code: Select all

[root@server1 ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: www3.atomicorp.com
 * atomic-testing: www3.atomicorp.com
repo id                      repo name                                                                              status
addons                       CentOS-5 - Addons                                                                          0
asl-2.0                      Atomicorp -  - Atomic Secured Linux 2.0                                                  352
atomic                       CentOS / Red Hat Enterprise Linux 5 - atomicrocketturtle.com                           1,228
atomic-testing               CentOS / Red Hat Enterprise Linux 5 - atomicrocketturtle.com - (Testing)                  92
base                         CentOS-5 - Base                                                                        3,566
extras                       CentOS-5 - Extras                                                                        235
updates                      CentOS-5 - Updates                                                                       239
repolist: 5,712

Apache and PHP segfaults

Posted: Thu Oct 06, 2011 1:19 pm
by premierhosting
Is there a debug package for PHP53?

Re: New Kernel Less Stable than Last Kernel

Posted: Thu Oct 06, 2011 2:46 pm
by mikeshinn
yum install httpd-debuginfo
Which http rpm do you have installed?

Re: Apache and PHP segfaults

Posted: Thu Oct 06, 2011 7:46 pm
by premierhosting
[root@server1 apache2-gdb-dump]# rpm -qa | grep http
httpd-2.2.21-1.el5.art
httpd-tools-2.2.21-1.el5.art

Re: Apache and PHP segfaults

Posted: Fri Oct 07, 2011 11:34 pm
by premierhosting
OK - so how would I get some info out of PHP in the core dumps? Does the art php have debug enabled?

Re: Apache and PHP segfaults

Posted: Sun Oct 09, 2011 7:18 pm
by premierhosting
I have 2 more cores without any PHP debugging info.
Can a package like this show up in atomic-testing perhaps?
http://rpm.pbone.net/index.php3/stat/4/ ... 6.rpm.html

Do I need to roll my own PHP to be able to debug these cores?

Re: Apache and PHP segfaults

Posted: Tue Oct 11, 2011 7:34 am
by scott
Yeah you'd really need to build your own with the debuginfo packages added. Depending on where it happens you might also need debuginfo packages for libraries as well.