ID: 27254 Updated by: [EMAIL PROTECTED] Reported By: ericn at ionws dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Linux 2.4.20-8smp i686 PHP Version: 4.3.4 New Comment:
You have an indefinite loop somewhere, which of course crashes PHP. If you want to figure out where this happens, try to install xdebug (www.xdebug.org), it will abort your script and shows a stacktrace if you reach too many nested levels of function calls. (If you need help with that, feel free to write to derick ta xdebug tod org Derick Previous Comments: ------------------------------------------------------------------------ [2004-02-14 15:48:18] ericn at ionws dot com phpinfo(): http://www.narutochaos.com/~ericn/phpinfo.php ------------------------------------------------------------------------ [2004-02-14 15:46:59] ericn at ionws dot com Description: ------------ Configure line: ./configure --with-mysql=/usr/local/mysql --with-mysql-sock=/var/lib/mysql/mysql.sock --enable-debug --enable-sockets --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs PHP is segfaulting when I tell it to run my (home-grown) content management system, Atomic. It's too large (and I can't tell what part of it is actually causing the trouble) to give a relevant code sample. Maybe someone can help me figure out what is going wrong. This bug is also occuring when PHP is configured as: ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs ./configure --with-mysql=/usr/local/mysql ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs ./configure --with-mysql ./configure Expected result: ---------------- I expect the script to execute as it normally should... make necessary MySQL connections, include required files, display output, etc. Actual result: -------------- Backtrace: http://atomic.ionws.com/atom_bt.txt Server replies with an empty document when viewing over web. Running via PHP CLI simply produces "Segmentation Fault". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27254&edit=1