RE: [PHP] PHP causing seg fault
| From: | Kristen G. Thorson | Date: | Thu, 12 Oct 2006 14:05:45 +0000 |
| Subject: | RE: [PHP] PHP causing seg fault | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243025@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Glenn Richmond [mailto:glenn.richmond@ilisys.com.au]
> Sent: Thursday, October 12, 2006 4:45 AM
> To: php-general@lists.php.net
> Subject: [PHP] PHP causing seg fault
>
> Hi guys,
>
> I'm attempting to run a SugarCRM variant that uses SOAP to access
> information from the database. The code is causing a seg fault when
> executing a particular line of code. The code executes properly until
it
> calls a generic function in the parent class that causes a seg fault
on
> the return command. The line of code is:
>
> return $this;
>
> I've found this to be a problem in PHP version 5.1.4 and 5.2.0rc4. Is
> this statement illegal in PHP5? When I set a memory limit for the
> script, the error changes to indicating that it has exceeded its
memory
> allocation, so it seems to be allocating memory over and over.
>
> Note that this code runs fine on most other combinations of functions
> calling this same parent method. Any suggestions are appreciated.
This sounds a lot like what I was running into. What is the OS? I was
having a very similar-sounding problem running SugarCRM on any Red Hat
system (including CentOS and Fedora).
kgt