Bug #3215: When running 'make check' after building a cgi, regex fail with core dump
| From: | Martin dot HEIN at maxmobil dot at | Date: | Fri, 14 Jan 2000 16:22:28 +0000 |
| Subject: | Bug #3215: When running 'make check' after building a cgi, regex fail with core dump | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14630@lists.php.net to get a copy of this message | ||
From: Martin.HEIN@maxmobil.at
Operating system: Sun Solaris 7
PHP version: 3.0.14
PHP Bug Type: Other
Bug description: When running 'make check' after building a cgi, regex fail with core
dump
I configured the source using following options:
--enable-debug --enable-debugger --enable-discard-path --enable-force-cgi-redirect
--enable-magic-quotes \
--enable-memory-limit --enable-safe-mode --enable-track-vars
--with-config-file-path=/usr/local/etc \
--with-db2 --with-dbase --with-exec-dir=/usr/local/bin --with-ftp --with-imap
--with-java=/usr/java1.2 \
--with-ldap --with-mysql=$MYSQL_HOME --with-oci8=$ORACLE_HOME --with-oracle=$ORACLE_HOME \
--with-pgsql=/appl/PostgreSQL --with-regex=system --with-yp --without-gd \
After successfully compiling the cgi and running 'make check', I received the following
error messages:
Testing string scanner confirmance ... passed
Testing do-while loop ... passed
Testing calling user-level functions from C ... passed
Simple math tests ... passed
RegReplace test 1 ...Segmentation Fault - core dumped
FAILED
RegReplace test 2 ...Segmentation Fault - core dumped
FAILED
ereg_replace single-quote test ...Segmentation Fault - core dumped
FAILED
simple ereg test ... passed
Test Regular expression register support in ereg ... FAILED
Test ereg_replace of start-of-line ...Segmentation Fault - core dumped
FAILED
Test empty result buffer in reg_replace ...Segmentation Fault - core dumped FAILED
Test back-references in regular expressions ...Segmentation Fault - core dumped FAILED
Test split() ...Segmentation Fault - core dumped FAILED
Long back references ...Segmentation Fault - core dumped
FAILED
\0 back reference ...Segmentation Fault - core
dumped FAILED
nonexisting back reference ...Segmentation Fault - core dumped
FAILED
escapes in replace string ...Segmentation Fault - core dumped
FAILED
backreferences not replaced recursively ...Segmentation Fault - core dumped FAILED
replace empty matches ...Segmentation Fault - core dumped
FAILED
test backslash handling in regular expressions ...Segmentation Fault - core dumped FAILED
String functions ... passed
Formatted print functions ... passed
HTML entities ... passed
failed 15 out of 90
gcc -v:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)