Bug #18548: Segfault on httpd with PHP >4.1.2

From: Date: Wed, 24 Jul 2002 21:35:40 +0000
Subject: Bug #18548: Segfault on httpd with PHP >4.1.2
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15081@lists.php.net to get a copy of this message
From: kari.paivarinta@viivatieto.fi Operating system: Trustix Linux 1.2 PHP version: 4.2.2 PHP Bug Type: Apache related Bug description: Segfault on httpd with PHP >4.1.2 Since version 4.1.2 I haven't been able to upgrade my PHP as everytime I try to start httpd I get segmentation fault. I've compiled PHP with following line: "./configure --with-mysql=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-mm=/usr/local --with-openssl=/usr/local/ssl --with-zlib=/usr/local --with-freetype-dir=/usr/local --with-gd=/usr/local --with-pdflib=/usr/local --with-apache=../apache_1.3.26 --with-curl --with-imap-ssl " And Apache with: "./configure --prefix=/usr/local/apache --activate-module=src/modules/ssl/libssl.a --activate-module=src/modules/php4/libphp4.a --enable-module=so" Strace from "httpd": "open("/usr/local/lib/php.ini", O_RDONLY) = 3 getcwd("/home/compile/php-4.2.2", 4095) = 24 lstat("/usr", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 lstat("/usr/local", {st_mode=S_IFDIR|0751, st_size=4096, ...}) = 0 lstat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/local/lib/php.ini", {st_mode=S_IFREG|0600, st_size=28099, ...}) = 0 brk(0x8324000) = 0x8324000 ioctl(3, TCGETS, 0xbffff8ec) = -1 ENOTTY (Inappropriate ioctl for device) read(3, "[PHP]\n\n;;;;;;;;;;;\n; WARNING ;\n;"..., 8192) = 8192 read(3, "it = 8M ; Maximum amount of"..., 8192) = 8192 read(3, "l\n;extension=php_dotnet.dll\n;ext"..., 8192) = 8192 brk(0x8325000) = 0x8325000 read(3, "sion.entropy_length = 16\n\n;sessi"..., 8192) = 3523 read(3, "", 4669) = 0 brk(0x8326000) = 0x8326000 read(3, "", 8192) = 0 ioctl(3, TCGETS, 0xbfffed48) = -1 ENOTTY (Inappropriate ioctl for device) close(3) = 0 brk(0x8327000) = 0x8327000 brk(0x8328000) = 0x8328000 brk(0x8329000) = 0x8329000 brk(0x832a000) = 0x832a000 brk(0x832b000) = 0x832b000 brk(0x832c000) = 0x832c000 brk(0x832d000) = 0x832d000 brk(0x832e000) = 0x832e000 brk(0x832f000) = 0x832f000 brk(0x8330000) = 0x8330000 brk(0x8331000) = 0x8331000 brk(0x8332000) = 0x8332000 brk(0x8333000) = 0x8333000 brk(0x8334000) = 0x8334000 brk(0x8335000) = 0x8335000 brk(0x8336000) = 0x8336000 brk(0x8337000) = 0x8337000 brk(0x8338000) = 0x8338000 brk(0x8339000) = 0x8339000 brk(0x833a000) = 0x833a000 brk(0x833b000) = 0x833b000 brk(0x833c000) = 0x833c000 brk(0x833d000) = 0x833d000 brk(0x833f000) = 0x833f000 brk(0x8340000) = 0x8340000 brk(0x8341000) = 0x8341000 brk(0x8342000) = 0x8342000 brk(0x8343000) = 0x8343000 brk(0x8344000) = 0x8344000 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++" -- Edit bug report at http://bugs.php.net/?id=18548&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18548&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18548&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18548&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18548&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18548&r=support Expected behavior: http://bugs.php.net/fix.php?id=18548&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18548&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18548&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18548&r=globals

« previous php.bugs (#15081) next »