php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3215 When running 'make check' after building a cgi, regex fail with core dump
Submitted: 2000-01-14 11:22 UTC Modified: 2002-10-01 14:12 UTC
From: Martin dot HEIN at maxmobil dot at Assigned:
Status: Wont fix Package: Other
PHP Version: 3.0.14 OS: Sun Solaris 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Martin dot HEIN at maxmobil dot at
New email:
PHP Version: OS:

 

 [2000-01-14 11:22 UTC] Martin dot HEIN at maxmobil dot at
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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:12 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 22:01:29 2024 UTC