When I try to read image apache restarts

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
alexzanker
Posts: 1
Joined: 2011-11-06T03:11:56-07:00
Authentication code: 8675308

When I try to read image apache restarts

Post by alexzanker »

Hello.
I have:
PHP Version 5.3.8,
Apache/2.2.20 (Win32) PHP/5.3.8
ImageMagick 6.7.2-9 2011-09-23.

When i try to read image apache restarts. this is message from apache error log -- Parent: child process exited with status 255 -- Restarting.
Here is example:

Code: Select all

$frame_path = "/my_path/image.png";    
$im = new Imagick();
$im->readImage($frames_path);
image size: 64.93 kb;
path to image correct;

Any ideas?
tackle
Posts: 1
Joined: 2011-11-29T01:10:07-07:00
Authentication code: 8675308

Re: When I try to read image apache restarts

Post by tackle »

Here's my 2 cents on this issue. Seeing the same problem.

$im->readImage crashes/restarts Apache.

Under Windows 7, using WAMP (Apache 2.2.17, PHP 5.3.5), and ImageMagick 6.7.3 Q16.

Example code on what causes the problem:

Code: Select all

try
{

$image = 'C:/Valid/path/to/image.jpg';

$im = new Imagick($image);

//Below line causes the crash!
$im->readImage($image);
}
catch(Exception $e)
{
	echo $e->getMessage();
}
No Exception is ever caught. The crash happens instantly.
The crash in the apache error log looks like this:

Code: Select all

[Mon Nov 28 17:00:36 2011] [notice] Parent: child process exited with status 255 -- Restarting.
Unfortunately this makes the software impossible to use for us at the moment. Not sure what to do.
Post Reply