ID: 32501 User updated by: Bjorn dot Wiberg at its dot uu dot se Reported By: Bjorn dot Wiberg at its dot uu dot se -Status: Feedback +Status: Open Bug Type: Directory function related Operating System: IBM AIX 5.2.0.0 ML5 -PHP Version: 5.0.4 +PHP Version: 5 snapshot 2005-07-04 08:30 New Comment:
With this release, Apache segfaults in mpm_common if I try to access the directory where I have enabled safe mode: [EMAIL PROTECTED]:/# gdb /nynom/apache/bin/httpd /home/bwiberg/core GNU gdb 5.0-aix51-020209 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-ibm-aix5.2.0.0"... Core was generated by `httpd'. Program terminated with signal 11, Segmentation fault. #0 0x10032354 in sig_coredump (sig=11) at mpm_common.c:1050 1050 mpm_common.c: No such file or directory. (gdb) bt #0 0x10032354 in sig_coredump (sig=11) at mpm_common.c:1050 #1 0xffffffff in ?? () from (unknown load module) The Apache error log indicates: [Mon Jul 04 13:51:52 2005] [notice] child pid 1654882 exit signal Segmentation fault (11) [Mon Jul 04 13:51:53 2005] [notice] child pid 1667296 exit signal Segmentation fault (11) [Mon Jul 04 13:51:53 2005] [notice] child pid 1155238 exit signal Segmentation fault (11) [Mon Jul 04 13:51:53 2005] [notice] child pid 290932 exit signal Segmentation fault (11) [Mon Jul 04 13:51:53 2005] [notice] child pid 892998 exit signal Segmentation fault (11) [Mon Jul 04 13:51:54 2005] [notice] child pid 1781880 exit signal Segmentation fault (11) This also happened with an earlier snapshot release (2005-06-21 10:30), although I thought it would be a temporary error because of CVS development. Best regards, Björn Previous Comments: ------------------------------------------------------------------------ [2005-07-04 01:06:22] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-05-09 14:01:00] Bjorn dot Wiberg at its dot uu dot se I just tried this on PHP 5.0.4 (the fixed version), but it didn't work: Warning: fopen(): open_basedir restriction in effect. File(a.txt) is not within the allowed path(s): (.:/apache/php/lib/php/:/apache/htdocs/bwiberg/) in /apache/htdocs/bwiberg/test/safemode/write.php on line 5 Warning: fopen(a.txt): failed to open stream: Not owner in /apache/htdocs/bwiberg/test/safemode/write.php on line 5 I don't know whether this is so because 5.0.4 isn't recent enough, but I thought I would give it a try anyway. Best regards, Björn ------------------------------------------------------------------------ [2005-04-18 10:58:00] Bjorn dot Wiberg at its dot uu dot se It seems that the same error is present in the 200504180630 version; should I try with a php5-stable snapshot instead, or would that render the tests unusable (too old versions of files)? Best regards, Björn ------------------------------------------------------------------------ [2005-04-14 18:19:46] Bjorn dot Wiberg at its dot uu dot se Just tried with the latest snapshot (200504141430), but got the following error: /../ ld: 0711-224 WARNING: Duplicate symbol: php_bz2_filter_factory ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-317 ERROR: Undefined symbol: pdo_row_object_handlers collect2: ld returned 8 exit status make: *** [sapi/cli/php] Error 1 [EMAIL PROTECTED]:/usr/local/src/php5-200504141430# Any ideas? I tried Googling, but "pdo_row_object_handlers" returned no hits, nor did bugs.php.net. Should I wait for a later snapshot? Best regards, Björn ------------------------------------------------------------------------ [2005-04-12 08:31:15] [EMAIL PROTECTED] If you manually change HAVE_BROKEN_GETCWD in php_config.h to #define HAVE_BROKEN_GETCWD 1 after configure and do 'make clean && make', does it really work then..? ------------------------------------------------------------------------ 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/32501 -- Edit this bug report at http://bugs.php.net/?id=32501&edit=1