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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: christophe at lindev dot fr
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC