-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Clayton wrote:
Juliano F. Ravasi wrote:
Clayton wrote:
Your PHP version is more
than two years old. A *lot* of segfaulting bugs
were fixed since then.
http://www.php.net/ChangeLog-5.php
We are working on updating that soon. We're somewhat limited by the
version of Coolstack/Solaris that is running on the Wiki server. There
is an update to the Coolstack scheduled for early January which
includes.. I hope.. a fresh version of PHP.
The only "pure PHP" code that should ever cause a segfault is infinite
recursion -- this eventually breaks the stack, causing a segfault. You
can detect this condition more easily by installing the XDebug extension
for PHP; this provides better error reporting for some problems, and
will error out and give you a PHP-level stack trace at a give recursion
threshold, making it easier to track down such problems.
If it's not that, then the most likely culprits are bugs in PHP or in an
extension to PHP (including, perhaps, the PCRE regular expression
library). Given a very old version of PHP, you're more likely to hit
such a bug.
All I can really recommend for that other than just upgrading is hopping
in with a hardcore debugger (eg gdb) to track down what part of PHP is
crashing and get a C-level backtrace.
- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAklC3jYACgkQwRnhpk1wk46xiQCfWSVhlWUWd93TIhcTYHXTk6b4
nrIAoI3f25rJrQWSfd2NawjEOzM3gTlD
=lwdt
-----END PGP SIGNATURE-----