|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-26 05:08 UTC] sharkstudio at mail dot ru
[2010-05-26 11:18 UTC] pajoye@php.net
-Status: Open
+Status: Feedback
[2010-05-26 11:18 UTC] pajoye@php.net
[2010-05-27 02:22 UTC] sharkstudio at mail dot ru
[2010-05-27 03:24 UTC] pajoye@php.net
-Status: Feedback
+Status: Bogus
[2010-05-27 03:24 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 02:00:01 2025 UTC |
Description: ------------ My script that uses Imagick extension and has perfectly worked for a couple of years crashes after update PHP 5.1.x on WinXP to PHP 5.3.2 on Win7. I found that it crashes silently at the point where I am trying to use image from my D: drive. I easily reproduced the crash in a separate script with one line only: <?php $im = new Imagick('D:\image.jpg');?> If I change it to <?php $im = new Imagick('C:\image.jpg');?> - it works. GD's imagecreatefromjpeg() crashes as well, but it troughs an error: 'imagecreatefromjpeg() JPEG library reports unrecoverable error' . I tried to load the same image from C: drive and it works as it should. I tried to do "fopen" from D: drive and it works. The bug appears on Windows 7 environment only. The PHP installed on C: drive. P.S. sorry, if my English is not very clear. Test script: --------------- <?php $im = new imagecreatefromjpeg('D:\image.jpg'); // crashes?> <?php $im = new imagecreatefromjpeg('C:\image.jpg'); // works?> Expected result: ---------------- First line crashes. Second line works.