|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-09-25 07:38 UTC] mkoppanen@php.net
[2013-09-25 07:50 UTC] mkoppanen@php.net
-Status: Open
+Status: Feedback
[2013-10-15 11:54 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 20:00:01 2025 UTC |
Description: ------------ Echoes "Segmentation fault" when trying to get colorspace information of grayscale jpg image. The image is as attachment (patch). php -version: PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies pecl list: Installed packages, channel pecl.php.net: ========================================= Package Version State geoip 1.0.8 stable imagick 3.0.1 stable intl 2.0.1 stable mailparse 2.1.5 stable stats 1.0.3 stable timezonedb 2013.1 stable translit 0.6.1 beta Test script: --------------- <?php $file="pu_varitys_487_icc_standard_no_profile_gray.jpg"; $image = new Imagick(); try { $image->pingImage($file); $image_info = $image->identifyImage(); echo $image_info["colorSpace"]."\n"; } catch(ImagickException $e) { echo "error!"; } ?> Expected result: ---------------- Should echo "Gray". Actual result: -------------- /var/log/messages: kernel: php[19276]: segfault at 177d004 ip 00007fec01c8b4d0 sp 00007fffdae9ef40 error 4 in libMagickCore.so.2.0.0[7fec01b72000+1ce000]