#23495 [Opn->Bgs]: PHP CGI binary dumps core

From: Date: Tue, 06 May 2003 04:13:39 +0000
Subject: #23495 [Opn->Bgs]: PHP CGI binary dumps core
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39129@lists.php.net to get a copy of this message
ID: 23495 Updated by: magnus@php.net Reported By: dave at socrates dot thinkhost dot com -Status: Open +Status: Bogus Bug Type: CGI related Operating System: FreeBSD 4.8-STABLE PHP Version: 4.3.2RC2 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. ok then.. Add your comments to #23196 . Previous Comments: ------------------------------------------------------------------------ [2003-05-05 21:22:45] dave at socrates dot thinkhost dot com Nope, I have commented out the Zend Optimizer lines in the PHP CGI php.ini, it makes no difference. Note that I have also tried building a basic PHP CGI binary (./configure --disable-all) This problem is the same problem as bug report #23196 (which was never solved, and started with the PHP-4.3.2RC1 source tree) ------------------------------------------------------------------------ [2003-05-05 14:19:01] magnus@php.net Remove Zend Optimizer.. Does that solve it ? ------------------------------------------------------------------------ [2003-05-05 12:17:17] dave at socrates dot thinkhost dot com GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libcrypt.so.2...done. Reading symbols from /usr/local/lib/libmcal.so...done. Reading symbols from /usr/local/lib/libc-client4.so.8...done. Reading symbols from /usr/local/lib/libexpat.so.4...done. Reading symbols from /usr/local/lib/libpq.so.2...done. Reading symbols from /usr/local/lib/libpdf.so.4...done. Reading symbols from /usr/lib/libz.so.2...done. Reading symbols from /usr/local/lib/libtiff.so.4...done. Reading symbols from /usr/local/lib/libpng.so.5...done. Reading symbols from /usr/local/lib/libjpeg.so.9...done. Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.10...done. Reading symbols from /usr/local/lib/libming.so.3...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/local/lib/libmhash.so.2...done. Reading symbols from /usr/local/lib/libmcrypt.so.8...done. Reading symbols from /usr/local/lib/libltdl.so.1...done. Reading symbols from /usr/local/lib/libldap.so.2...done. Reading symbols from /usr/local/lib/liblber.so.2...done. Reading symbols from /usr/lib/libpam.so.1...done. Reading symbols from /usr/local/lib/libintl.so.4...done. Reading symbols from /usr/local/lib/libgd.so.2...done. Reading symbols from /usr/local/lib/libfreetype.so.9...done. Reading symbols from /usr/local/lib/libcurl.so.2...done. Reading symbols from /usr/local/lib/libxml2.so.5...done. Reading symbols from /usr/local/lib/libiconv.so.3...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/lib/libssl.so.3...done. Reading symbols from /usr/lib/libcrypto.so.3...done. Reading symbols from /usr/local/lib/libssl.so.3...done. Reading symbols from /usr/local/lib/libcrypto.so.3...done. Reading symbols from /usr/local/lib/libssl.so.4...done. Reading symbols from /usr/local/lib/libcrypto.so.4...done. Reading symbols from /usr/local/Zend/lib/ZendOptimizer.so...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x81901de in _estrdup (s=0x0) at /usr/local/src/php-4.3.2RC2/Zend/zend_alloc.c:363 363 length = strlen(s)+1; (gdb) bt #0 0x81901de in _estrdup (s=0x0) at /usr/local/src/php-4.3.2RC2/Zend/zend_alloc.c:363 #1 0x81b24e5 in init_request_info () at /usr/local/src/php-4.3.2RC2/sapi/cgi/cgi_main.c:709 #2 0x81b2b57 in main (argc=30, argv=0xbfbff5ec) at /usr/local/src/php-4.3.2RC2/sapi/cgi/cgi_main.c:1238 #3 0x808cb56 in _start () (gdb) quit This is from a PHP binary built with the 4.3.2RC2 source. I have created a working CGI binary by rolling back to the 4.3.1 source. This problem seems to be new in 4.3.2 thread. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23495&edit=1

« previous php.bugs (#39129) next »