ID: 14515 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Apache related Operating System: linux 2.4.16 PHP Version: 4.1.0 New Comment:
The only way to get some output was starting the apache inside gdb. I got the following: (gdb) run -X -f /usr/local/apache/conf/httpd.conf Starting program: /usr/local/apache/bin/httpd -X -f /usr/local/apache/conf/httpd.conf [New Thread 1024 (LWP 7109)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 7109)] 0x40a0e333 in php_pcre_replace (regex=0x40ab8b11 "/realm=\"(.*?)\"/i", regex_len=16, subject=0x8184455 " Basic realm=\"DB-RW-Access\"", subject_len=27, replace_val=0x81844a4, is_callable_replace=0, result_len=0xbfffc19c, limit=-1) at php_pcre.c:768 768 if ('\\' == *walk || '$' == *walk) { (gdb) Previous Comments: ------------------------------------------------------------------------ [2001-12-14 18:41:15] [EMAIL PROTECTED] Could you provide backtrace? http://bugs.php.net/bugs-generating-backtrace.php Please read how to report bug link also. ------------------------------------------------------------------------ [2001-12-14 09:23:20] [EMAIL PROTECTED] Hi, when i try to run the following code, my apache goes banana (child pid XXX exit signal Segmentation fault (11) in the error_log) <?php if(!isset($PHP_AUTH_USER)) { Header("WWW-Authenticate: Basic realm=\"DB-RW-Access\""); Header("HTTP/1.0 401 Unauthorized"); echo "Get lost\n"; exit; } else { $dbid = $PHP_AUTH_USER; $dbpw = $PHP_AUTH_PW; } phpinfo(); exit; php-compile-time-options: './configure' '--prefix=/usr/local/php-4.1.0' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-force-cgi-redirect' '--with-config-file-path=/usr/local/apache/conf' '--with-openssl' '--with-bz2' '--with-imap' '--with-gdbm' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-oci8=/opt/oracle/app/oracle/product/8.1.7' '--with-mysql=/usr' '--enable-sigchild' '--with-mm' '--enable-rule=EAPI' apache-version: 1.3.20 Any clue? Regards, Martin ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14515&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]