ID: 36084 Comment by: engin at turk-php dot com Reported By: clive at darkarts dot co dot za Status: Feedback Bug Type: Reproducible crash Operating System: FreeBSD PHP Version: 5.1.2 New Comment:
i was having the same issue on same os and same php version but i didnt try to re-compile with different configure options coz in the previous php-5.0.5 with ZEND Debugger i faced with similar bug , seg fault, when i removed the Zend Debugger module it was working fine, ( on FreeBSD 4.11 - apache 1.3 ) recently i upgrade my os to FreeBSD-6.0 - apache 2.2 - php 5.1.2 with trial and error method i found imagick and recode modules cause issue [Thu Jan 27 02:04:12 2006] [notice] child pid 5968 exit signal Abort trap (6) httpd in free(): error: junk pointer, too high to make sense Previous Comments: ------------------------------------------------------------------------ [2006-01-20 09:51:30] [EMAIL PROTECTED] Then you need to add rest of your options one by one to see which one is causing the problem for you. ------------------------------------------------------------------------ [2006-01-20 09:47:12] clive at darkarts dot co dot za commandline for both versions (again): rm config.cache ; ./configure --disable-all --disable-cgi --enable-maintainer-zts --with-apxs2=/usr/local/sbin/apxs && make clean && make && sapi/cli/php -r 'phpinfo();' no segfaulting, runs fine. ------------------------------------------------------------------------ [2006-01-20 09:22:41] [EMAIL PROTECTED] Now try the same but add --with-apxs2=/usr/local/sbin/apxs to the configure options. ------------------------------------------------------------------------ [2006-01-20 08:19:42] clive at darkarts dot co dot za commandline as follows was used: % rm config.cache ; ./configure --disable-all --disable-cgi --enable-maintainer-zts && make clean && make && sapi/cli/php -r 'phpinfo();' this runs fine, without segfaulting, on both 5.1.2 as well as the snapshot 5.1-200601191130. 'sapi/cli/php -v' on 5.1.2 gives: PHP 5.1.2 (cli) (built: Jan 20 2006 09:28:25) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies 'sapi/cli/php -v' on 5.1.200601191130 gives: PHP 5.1.3-dev (cli) (built: Jan 20 2006 09:19:48) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies ------------------------------------------------------------------------ [2006-01-19 16:16:41] [EMAIL PROTECTED] Try adding --enable-maintainer-zts to that previous configure line. Does it still crash? What does this output: # sapi/cli/php -v And 'make clean' is _mandatory_ always. (remember to 'rm config.cache' before running the configure line too!) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/36084 -- Edit this bug report at http://bugs.php.net/?id=36084&edit=1