PHP 4.0 Bug #6857 Updated: --enable-trans-sid and readfile() in function

From: Date: Wed, 01 Nov 2000 17:53:22 +0000
Subject: PHP 4.0 Bug #6857 Updated: --enable-trans-sid and readfile() in function
Groups: php.dev 
Request: Send a blank email to php-dev+get-36701@lists.php.net to get a copy of this message
ID: 6857 Updated by: sniper Reported By: vonrhein@GlobalPhasing.com Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: Please try the latest CVS or snapshot from snaps.php.net and report back whether this problem still exists or not. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-09-22 19:57:20] vonrhein@GlobalPhasing.com I'm running 1. Apache 1.3.12 (with mod_ssl 2.6.5) configured like this: % ./configure --prefix=$WWW_home/apache --with-apache=../apache_1.3.12 --with-ssl=../openssl-0.9.5a --enable-shared=ssl --enable-module=so --enable-rule=EAPI 2. PHP 4.0.2 configured like this: ./configure --prefix=$WWW_home --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --with-jpeg-dir=${WWW_home}/src/jpeg-6b --with-tiff-dir=${WWW_home}/src/tiff-v3.5.5 --with-zlib-dir=${WWW_home}/src/zlib-1.1.3 --with-gd=${WWW_home}/src/gd-1.8.3 --with-ttf=${WWW_home}/src/freetype-1.3.1 --with-t1lib=${WWW_home} --enable-freetype-4bit-antialias-hack --with-xpm-dir --without-mysql --with-config-file-path=$WWW_home/etc --with-openssl=${WWW_home} --with-apxs=$WWW_home/apache/bin/apxs --enable-trans-sid --with-pgsql=${WWW_home}/pgsql This produces the following error messages in the apache error_log: [Fri Sep 22 10:47:26 2000] [notice] child pid 10401 exit signal Segmentation fault (11), possible coredump in /www/apache [Fri Sep 22 10:47:27 2000] [notice] child pid 10402 exit signal Segmentation fault (11), possible coredump in /www/apache [Fri Sep 22 10:47:29 2000] [notice] child pid 10408 exit signal Segmentation fault (11), possible coredump in /www/apache Here is the backtracking from gdb on the coredump created by httpd -X: #0 0x400ca4a7 in memcpy (dstpp=0x8139018, srcpp=0x8139490, len=4294967292) at ../sysdeps/generic/memcpy.c:55 #1 0x400c495c in chunk_realloc (ar_ptr=0x40158d60, oldp=0x8139488, oldsize=0, nb=272) at malloc.c:3369 #2 0x400c4584 in __libc_realloc (oldmem=0x8139490, bytes=268) at malloc.c:3254 #3 0x401830c0 in _erealloc (ptr=0x813949c, size=256, allow_failure=0) at zend_alloc.c:260 #4 0x4020b718 in url_adapt (src=0x813e75f "b,´

« previous php.dev (#36701) next »