#23495 [NEW]: PHP CGI binary dumps core

From: Date: Mon, 05 May 2003 17:17:17 +0000
Subject: #23495 [NEW]: PHP CGI binary dumps core
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39086@lists.php.net to get a copy of this message
From: dave at socrates dot thinkhost dot com Operating system: FreeBSD 4.8-STABLE PHP version: 4.3.2RC2 PHP Bug Type: CGI related Bug description: PHP CGI binary dumps core 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 bug report at http://bugs.php.net/?id=23495&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23495&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23495&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23495&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23495&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23495&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23495&r=support Expected behavior: http://bugs.php.net/fix.php?id=23495&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23495&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23495&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23495&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23495&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23495&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23495&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23495&r=gnused

« previous php.bugs (#39086) next »