RE: PHP causing seg fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Glenn Richmond [mailto:glenn.richmond@xxxxxxxxxxxxx]
> Sent: Thursday, October 12, 2006 4:45 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux