ID: 26729 Updated by: [EMAIL PROTECTED] Reported By: jury at hightech dot lv -Status: Open +Status: Feedback Bug Type: GD related Operating System: Linux Slackware 2.4.20 PHP Version: 4.3.4 New Comment:
Setting it to feedback until a backtrace is received. Previous Comments: ------------------------------------------------------------------------ [2003-12-27 13:07:56] jury at hightech dot lv 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 this bug report at http://bugs.php.net/?id=26729&edit=1
