|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-30 12:09 UTC] mkoppanen@php.net
[2009-07-30 12:17 UTC] geoff dot garside at openhosting dot co dot uk
[2009-07-30 12:21 UTC] mkoppanen@php.net
[2009-07-30 12:24 UTC] geoff dot garside at openhosting dot co dot uk
[2009-07-30 12:27 UTC] mkoppanen@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Jan 03 00:00:02 2026 UTC |
Description: ------------ Build PHP 5.2.10, ImagicMagick 6.5.3.10 and ZendOptimizer v3.3.0. Build imagick extension and enable. Run php and you'll get a segmentation fault. I've not tried this with a debug version of PHP, though I will attempt this later. Reproduce code: --------------- ## php.ini extension=imagick.so [Zend] zend_optimizer.optimization_level=15 zend_extension_manager.optimizer="/usr/local/lib/php/20060613/Optimizer" zend_extension_manager.optimizer_ts="/usr/local/lib/php/20060613/Optimizer_TS" zend_extension="/usr/local/lib/php/20060613/ZendExtensionManager.so" zend_extension_ts="/usr/local/lib/php/20060613/ZendExtensionManager_TS.so" ## On shell php -c php.ini -i Expected result: ---------------- PHP 5.2.10 (cli) (built: Jul 30 2009 15:54:28) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003- 2007, by Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies Actual result: -------------- PHP 5.2.10 (cli) (built: Jul 30 2009 15:54:28) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003- 2007, by Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies Segmentation fault (core dumped)