From: james at vcv dot net Operating system: redhat 9 PHP version: 4.3.4 PHP Bug Type: Reproducible crash Bug description: child pid xxxx exit signal Segmentation fault (11)
Description: ------------ ./configure \ --with-apxs2=/usr/local/apache_ssl/bin/apxs \ --with-config-file-path=/usr/local/lib \ --enable-track-vars=yes \ --with-pdflib=/usr/local/ \ --with-zlib-dir=/usr/lib/ \ --with-gd=../gd-2.0.15 \ --enable-gd-imgstrttf \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --enable-gd-native-ttf \ --with-ming=/usr/local/src/ming-0.2a/php_ext \ --with-freetype-dir=/usr/local/include/freetype2/freetype/ \ --with-ttf=/usr/local/lib \ --enable-memory-limit \ --enable-debug \ --enable-sigchild no change is made to the php.ini-dist phpinfo is at: http://www.martysmom.com/phpinfo.php tried gdb: (gdb) run -X Starting program: /usr/local/apache_ssl/bin/httpd -X [New Thread 1075477920 (LWP 6941)] Couldn't get registers: Operation not permitted. (gdb) bt Cannot fetch general-purpose registers for thread 1075477920: generic error (gdb) Reproduce code: --------------- <? $fontfile = '/usr/local/fonts/truetype/VERDANAZ.TTF'; $image = imagecreate(700, 300); $backcolor = imagecolorallocate ($image, 128, 128, 85); $forecolor = imagecolorallocate ($image, 155, 255, 255); ImageFtText($image, 25, 15, 5, 125, $forecolor, $fontfile, "Hello World!", array("linespacing" => 0.5)); Header("Content-type: image/png"); ImagePNG($image); ImageDestroy($image); ?> Expected result: ---------------- "Hello World!" on a png graphic 700x300 Actual result: -------------- sometimes I get the expected result and sometimes I get "child pid xxxx exit signal Segmentation fault (11)" from versions 4.3.2, 4.3.3, 4.3.4, php-5.0.0b2. I always get the expected result from versions 4.3.1, 4.3.0 -- Edit bug report at http://bugs.php.net/?id=26344&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26344&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26344&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26344&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26344&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26344&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26344&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26344&r=support Expected behavior: http://bugs.php.net/fix.php?id=26344&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26344&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26344&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26344&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26344&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26344&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26344&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26344&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26344&r=float
