Re: PEAR Segfault with PHP 5.0.3
| From: | Matthew Weier O'Phinney | Date: | Thu, 03 Mar 2005 03:52:22 +0000 |
| Subject: | Re: PEAR Segfault with PHP 5.0.3 | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17798@lists.php.net to get a copy of this message | ||
* Greg Beaver <cellog@php.net>:
> Matthew Weier O'Phinney wrote:
> > I've got an interesting situation. I've just created a web farm of
> > Gentoo 2004.3 servers, each running apache 1.3.32 and PHP 5.0.3; instead
> > of using portage to compile and install apache and PHP, we did so
> > manually.
> >
> > PEAR::DB runs fine.... but... I started noticing that one of my scripts,
> > which runs fine on my development platform (basically identical) wasn't
> > working on the cluster. So I tried it on the commandline on one node.
> > And I got a segmentation fault. I was preliminarily able to isolate the
> > segmentation fault to DB.
> >
> > At the time, I was running 1.7.1. I downgraded to 1.6.8, which we have
> > running on a production server with PHP 5.0.2 and Apache 1.3.32 -- but
> > still received a segfault.
> >
> > I tested some more, and finally isolated the issue to PEAR.php itself.
>
> remove the "debug_backtrace()" call in PEAR_Error's constructor and see
> if the segfault goes away
Nope -- same response.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org