ID: 41645 Updated by: [EMAIL PROTECTED] Reported By: slogster at gmail dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: FreeBSD 6-STABLE PHP Version: 5.2.3 New Comment:
This is bogus then. :) Previous Comments: ------------------------------------------------------------------------ [2007-06-17 10:39:03] slogster at gmail dot com I compiled php-5.2.3 directly from source (not from freebsd ports) and it doesn`t crash without debug. Then I made "make all" in ports/lang/php5 and tried the sapi/cgi/php against that code and it crashes. I suppose some of the freebsd patches cause php to crash. I will try those one by one to catch which one is responsible for the crash and report back here and to the freebsd port maintainer. Since it seems to be related to the freebsd ports and not stock php-5.2.3 should I change the status of this report to closed? ------------------------------------------------------------------------ [2007-06-12 15:57:32] [EMAIL PROTECTED] Definately unable to reproduce without a debug build, if you can then recompile PHP without debug mode but leave debug symbols in to give a more detailed back trace. export CFLAGS="-g" make clean, configure and compile. If you can disable all extensions and only enable the minimum you require. ------------------------------------------------------------------------ [2007-06-11 20:11:39] [EMAIL PROTECTED] Such simple code is unlikely to crash as a result of any bug in PHP engine. The problem is probably elsewhere - such as incompatible extensions linked together, wrong library versions, broken compilation, compiler bug, using module/extension of incompatible version, etc. ------------------------------------------------------------------------ [2007-06-10 11:45:32] slogster at gmail dot com Hm, this is strange. When I compile it with debug it works! Doesn`t do Segmentation Fault. I don`t have any third party extentions. Can you please test it without debug enabled? ------------------------------------------------------------------------ [2007-06-10 01:42:06] [EMAIL PROTECTED] Can you recompile PHP with --enable-debug please so we can get some more useful information. Also do you have any sort of third party zend extensions like APC, eAccelerator or Zend Optimizer? If so they should be disabled as well and test again. ------------------------------------------------------------------------ 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/41645 -- Edit this bug report at http://bugs.php.net/?id=41645&edit=1