#23196 [NEW]: Strange Core Dumps

From: Date: Mon, 14 Apr 2003 06:53:23 +0000
Subject: #23196 [NEW]: Strange Core Dumps
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37633@lists.php.net to get a copy of this message
From: dave at socrates dot thinkhost dot com Operating system: FreeBSD-4.7RC PHP version: 4.3.2RC1 PHP Bug Type: CGI related Bug description: Strange Core Dumps I built a new PHP DSO and CGI for one of our FreeBSD machines. The odd thing is that the "same" (built with the same configure command) CGI binary works on a similar machine without error. The PHP CGI works fine when called from the shell, but dies and dumps a core when called by suexec (apache). A back trace of the core dump is included below: ================================================ 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/libssl.so.4...done. Reading symbols from /usr/local/lib/libcrypto.so.4...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/libm.so.2...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/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/libiconv.so.3...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/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/libexec/ld-elf.so.1...done. #0 0x8176b76 in _estrdup (s=0x0) at /usr/local/src/php-4.3.2RC1/Zend/zend_alloc.c:337 337 length = strlen(s)+1; -- Edit bug report at http://bugs.php.net/?id=23196&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23196&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23196&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23196&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23196&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23196&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23196&r=support Expected behavior: http://bugs.php.net/fix.php?id=23196&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23196&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23196&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23196&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23196&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23196&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23196&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23196&r=gnused

« previous php.bugs (#37633) next »