some help still needed....

Damien Fleuriot ml at my.gd
Wed Jun 15 08:49:30 UTC 2011


On 6/12/11 1:36 AM, Gary Kline wrote:
> On Sat, Jun 11, 2011 at 06:22:57PM -0500, Ryan Coleman wrote:
>> Date: Sat, 11 Jun 2011 18:22:57 -0500
>> From: Ryan Coleman <editor at d3photography.com>
>> Subject: Re: some help still needed....
>> To: Gary Kline <kline at thought.org>
>> Cc: FreeBSD Mailing List <freebsd-questions at FreeBSD.ORG>
>> X-Mailer: iPad Mail (8J3)
>>
>>
>> Always on php the latest.. So php5. 
> 
> 
> 	And, what's the easiest way to determine why # php segvs?
> 


Sorry for the late response Gary.


First, I would ask myself:
- does it crash in CLI ?
- does it crash as an apache module ?
- does it crash as a PHP FCGI process ?

Second, I would ask myself:
- does it crash when I call a specific php page ?
- any page at all ?

Third, I would rebuild php with debug: cd /usr/ports/lang/php5 && make
config

Tick DEBUG.

Of course you'll also want to rebuild your php5-extensions just to be safe.



When you next get a core dump, you should be able to load it in gdb and
see what module caused it to crash.


More information about the freebsd-questions mailing list