php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59614 Seg Fault width writeImage function
Submitted: 2011-02-09 10:06 UTC Modified: 2013-02-18 00:35 UTC
From: christophe at lindev dot fr Assigned:
Status: No Feedback Package: imagick (PECL)
PHP Version: 5.3.4 OS: Debian Lenny 5
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-02-09 10:06 UTC] christophe at lindev dot fr
Description:
------------
Width php in fastcgi mode ( php-fpm )
Version: ImageMagick 6.3.7
after using setImageColorspace() , when I try to use the function writeImage(), 
I have a segfault output.

Reproduce code:
---------------
Install imagick width : 
pecl install imagick 

imagick.php:
<?php
$i = new Imagick("bar.jpg");
$i->setImageColorspace( Imagick::COLORSPACE_CMYK );
$i->setImageFormat("jpg");
$i->writeImage("foo.jpg");
?>

Execute :
php-cgi imagick.php
or
php imagick.php





Actual result:
--------------
Erreur de segmentation

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-06 07:08 UTC] mkoppanen@php.net
Is your ImageMagick compiled with OpenMP support?
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 21:01:36 2019 UTC