ID: 28984 Updated by: [EMAIL PROTECTED] Reported By: sg01_net at hotmail dot com -Status: Open +Status: Closed Bug Type: GD related Operating System: Windows XP PHP Version: 4CVS-2004-07-01 (stable) -Assigned To: +Assigned To: pajoye New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-07-01 16:34:19] sg01_net at hotmail dot com Description: ------------ Using GD2, and the code in the code window, PHP will crash with a "windows xp" crash-error. I have tried upgrading to the latest stable CVS, but it did not help. I tried using command line (C:\PHP>php -f C:\PHP\x.php.txt) but it did the same. (in php.ini extension=php_gd2.dll is enabled) Thanks in advance for helping, SG_01 Lunarchild Reproduce code: --------------- <?PHP $IMG = imagecreatetruecolor(100,100); $Alpha = imagecolorallocatealpha($IMG,0,0,255,127); imagefill($IMG,2,2,$Alpha); imagedestroy($IMG); ?> Expected result: ---------------- Fill image $IMG with a transparent color. Actual result: -------------- Windows crash report (PHP Script Interperter has generated an error...) with the following signature: AppName: php.exe AppVer: 4.3.8.8 ModName: php_gd2.dll ModVer: 0.0.0.0 Offset: 0000e5a4 Error message when starting to debug: Unhandled exception at 0x00b3e5a4 in php.exe: 0xC0000005: Access violation writing location 0x00a11000. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28984&edit=1