Page 1 of 1

Debug php?

Posted: Mon Apr 14, 2014 3:29 pm
by DarkF@der
Hello,


I see some rules:

Code: Select all

[Mon Apr 14 20:53:25 2014] [notice] child pid 31119 exit signal Segmentation fault (11)
I have created dump core file from httpd.
I wanna read it with gdb but when i execute it ned php-debuginfo.

Where to get it for art .rpms?
Is there a other way to find out what;s happening?

Greetz

Re: Debug php?

Posted: Mon Apr 14, 2014 7:44 pm
by scott
You'll need to rebuild the src.rpm to get one, they're available here: http://updates.atomicorp.com/channels/source/php/

Re: Debug php?

Posted: Wed Apr 16, 2014 3:47 pm
by DarkF@der
Is there any nice tutorial for this?

Re: Debug php?

Posted: Wed Apr 16, 2014 6:20 pm
by scott
Yup, the TL;DR:

rpmbuild --rebuild /path/to/src.rpm

Re: Debug php?

Posted: Thu Apr 17, 2014 3:52 am
by DarkF@der
Thanks for the info php 5.4 source en spec file i can find in atomic repo but where can i find the Atomicorp Nucleus repo source?
I use php 5.3 from Atomicorp Nucleus

Re: Debug php?

Posted: Thu Apr 17, 2014 6:40 am
by prupert
Aren't *-debuginfo packages provided in the yum channels?

Re: Debug php?

Posted: Thu Apr 17, 2014 10:38 am
by scott
They were disabled in the past for disk space reasons, but were reactivated (this is a build time thing) recently. So new packages will have the debuginfo automatically. I'm adding those to nucleus right now