From: jury at hightech dot lv Operating system: Linux Slackware 2.4.20 PHP version: 4.3.4 PHP Bug Type: GD related Bug description: ImageTTFText - Segmentation Fault
Description: ------------ Apache child crashes after performing all code, on cleanup In Error Log: [Sat Dec 27 20:01:19 2003] [notice] child pid 7513 exit signal Segmentation fault (11) As I Understand - Bug is returned???? GDB Trace will create tomorow. Reproduce code: --------------- $image_path = "images/test.jpg"; $src_img = ImageCreateFromJPEG($image_path); $src_w = ImageSX($src_img); $src_h = ImageSY($src_img); // // create empty true color canvas, def bg is black $txt_img = ImageCreateTrueColor($src_w,$src_h); // // define colors $white = ImageColorAllocate ($txt_img, 255, 255, 255); $black = ImageColorAllocate ($txt_img, 0, 0, 0); // // add your white text $font = getcwd() . "/ariblk.ttf"; ImageTTFText ($txt_img, 25, 45, 20, 35, $white, $font, "Inbox"); // // make black bg transparent ImageColorTransparent($txt_img, $black); // // ImageJPEG($src_img,'',100); // quality 70 -- Edit bug report at http://bugs.php.net/?id=26729&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26729&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26729&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26729&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26729&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26729&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26729&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26729&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26729&r=support Expected behavior: http://bugs.php.net/fix.php?id=26729&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26729&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26729&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26729&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26729&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26729&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26729&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26729&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26729&r=float
