ID:               16436
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Regexps related
 Operating System: Linux
-PHP Version:      4.0CVS-2002-04-04
+PHP Version:      4.0CVS-2002-04-0
 New Comment:

The crash don't happen when php is runing as a cgi or with the cli api.
And I have no idea how to tell the apache to dump a core when the
php-module crashes. So I'm not able to provide a backtrace.

This is the configure I've used:

'./configure' '--prefix=/usr/local' '--with-config-file-path=/etc'
'--with-apxs=/usr/local/apache/bin/apxs' '--enable-shared'
'--enable-sysvsem' '--enable-sysvshm' '--enable-inline-optimization'
'--with-regex=system' '--with-mysql=/usr/local/mysql'
'--with-interbase=/opt/interbase' '--enable-ftp' '--enable-sockets'
'--with-zlib-dir=/usr/local' '--with-ttf' '--with-png-dir=/usr/local'
'--with-gd=/usr/local' '--with-jpeg-dir=/usr/local' '--with-gettext'
'--with-pdflib'


If I use '--with-regex=php' instead of 'system' everything works fine.

Lutz


Previous Comments:
------------------------------------------------------------------------

[2002-04-04 20:03:20] [EMAIL PROTECTED]

I can not reproduce this with latest CVS or with 4.2.0RC2.
Please add the configure line used into this bug report.
Also, configure php with --enable-debug and generate
a GDB backtrace of the crash.



------------------------------------------------------------------------

[2002-04-04 15:37:51] [EMAIL PROTECTED]

this line crashes the apache process with php 4.2.0RC2 as a module

<?php 
   if (ereg('foo', 'string with foo'))  echo 'got it';
?>

Lutz


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16436&edit=1

Reply via email to