Re: some help still needed....

2011-06-15 Thread Damien Fleuriot
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 edi...@d3photography.com
 Subject: Re: some help still needed
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Mailing List freebsd-questions@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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: some help still needed....

2011-06-11 Thread Ryan Coleman

Always on php the latest.. So php5. 

On Jun 11, 2011, at 18:11, Gary Kline kl...@thought.org wrote:

 
 Guys,
 
 This is both an ACK of thanks to the many listmembers who helped
 with the last problejm , and a request for further help.  There are
 at least a couple thing that plague me when I try to get back to
 where things were before I _finally_ tracked the named/bin problem
 to it being a bad switch.
 
 The first is that php now keeps coring on me.  It's a segv.
 According to the FBSD  forums, if I comment-out all the
 php5-extensions, I will eventually figure out what's causing php to
 segv.  Is this the only way? or the easiest way?  
 
 Should I be using php5 or php52, or no-diff?  I'm using php5.5.3.6
 
 
 
 tia,
 
 gary
 
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: some help still needed....

2011-06-11 Thread Gary Kline
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 edi...@d3photography.com
 Subject: Re: some help still needed
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Mailing List freebsd-questions@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?


 
 On Jun 11, 2011, at 18:11, Gary Kline kl...@thought.org wrote:
 
  
  Guys,
  
  This is both an ACK of thanks to the many listmembers who helped
  with the last problejm , and a request for further help.  There are
  at least a couple thing that plague me when I try to get back to
  where things were before I _finally_ tracked the named/bin problem
  to it being a bad switch.
  
  The first is that php now keeps coring on me.  It's a segv.
  According to the FBSD  forums, if I comment-out all the
  php5-extensions, I will eventually figure out what's causing php to
  segv.  Is this the only way? or the easiest way?  
  
  Should I be using php5 or php52, or no-diff?  I'm using php5.5.3.6
  
  
  
  tia,
  
  gary
  
  
  -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
   The 8.51a release of Jottings: http://jottings.thought.org
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org