Bug 559675
| Summary: | phpinfo() crash when both imagick and gmagick installed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Remi Collet <fedora> |
| Component: | php-pecl-gmagick | Assignee: | Pavel Alexeev <pahan> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 13 | CC: | fedora, jaywheeler22, jorton, neto.joaobatista, pahan, radualexandrupopescu, rpm |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | php-pecl-imagick-3.0.0-5.fc13 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-07-26 11:25:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Remi Collet
2010-01-28 18:06:30 UTC
If it works separately, I think it is php error. But agree, it needs further investigation. You need to diagnose a PHP bug if you assign this to PHP. All that is demonstrated above is an extension crashing. Given that php-pecl-gmagick doesn't exist in F12 I can't even reproduce it. It seems highly likely that this is a symbol collision or similar between the two extensions. Sorry guys, my error. php-pecl-gmagick now in Fedora 12 - https://admin.fedoraproject.org/updates/php-pecl-gmagick-1.0.2b1-3.fc12 And if both extension work interdependently I think its correct. Sorry, but if the very common phpinfo() crash, I think this is a bug.
And simple tests provided with imagick doesn't work if gmagick installed
$ LANG=C php watermark.php
ImagickException: no decode delegate for this image format `/tmp/test.jpg' @ constitute.c/ReadImage/503 in /usr/share/doc/php-pecl-imagick-2.2.2/examples/watermark.php on line 15
Call Stack:
0.0002 646128 1. {main}() /usr/share/doc/php-pecl-imagick-2.2.2/examples/watermark.php:0
0.0004 647336 2. Imagick->readimage() /usr/share/doc/php-pecl-imagick-2.2.2/examples/watermark.php:15
At least, a 'Conflicts' in your specs seems necessary.
Can you provide reproduce script? > Can you provide reproduce script?
/usr/share/doc/php-pecl-imagick-2.2.2/examples/watermark.php
+
Reported upstream - http://pecl.php.net/bugs/bug.php?id=17037 *** Bug 572698 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping *** Bug 616946 has been marked as a duplicate of this bug. *** Can you please add a "Conflicts" directive in your spec to avoid extensions to be both installed ? Additional bugreport: http://pecl.php.net/bugs/bug.php?id=17838 Ok, ready: http://koji.fedoraproject.org/koji/taskinfo?taskID=2351078 http://koji.fedoraproject.org/koji/taskinfo?taskID=2351086 If all works correctly, I'll push updates in stable branch. P.S. Remi, you are co-maintainer of php-pecl-imagick, and already could do that :) *** Bug 636236 has been marked as a duplicate of this bug. *** *** Bug 635767 has been marked as a duplicate of this bug. *** php-pecl-imagick-3.0.0-5.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/php-pecl-imagick-3.0.0-5.fc13 php-pecl-gmagick-1.0.7b1-7.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/php-pecl-gmagick-1.0.7b1-7.fc13 php-pecl-gmagick-1.0.7b1-7.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. php-pecl-imagick-3.0.0-5.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |