Search found 10 matches

by Jesdisciple
2011-03-21T13:27:08-07:00
Forum: Bugs
Topic: PHP/Imagick: writeImage segfaults on certain PNG
Replies: 6
Views: 13085

Re: PHP/Imagick: writeImage segfaults on certain PNG

Upgraded to 6.6.8 on CentOS 5.5, still broken. What configurations might I check?
by Jesdisciple
2011-03-21T11:14:25-07:00
Forum: Bugs
Topic: PHP/Imagick: writeImage segfaults on certain PNG
Replies: 6
Views: 13085

Re: PHP/Imagick: writeImage segfaults on certain PNG

Works on Ubuntu 9.10 / imagick 3.0.1 / ImageMagick 6.5.1.
by Jesdisciple
2011-03-21T10:38:07-07:00
Forum: Bugs
Topic: PHP/Imagick: writeImage segfaults on certain PNG
Replies: 6
Views: 13085

Re: PHP/Imagick: writeImage segfaults on certain PNG

We've upgraded to:
ImageMagick 6.2.8 (latest on CentOS)
imagick 3.1.0 (absolute latest)

And the issue persists. Similarly to you, I don't experience a segfault on the command-line.
by Jesdisciple
2011-03-18T17:04:45-07:00
Forum: Bugs
Topic: PHP/Imagick: writeImage segfaults on certain PNG
Replies: 6
Views: 13085

Re: PHP/Imagick: writeImage segfaults on certain PNG

You caught me before I thought to grab the IM versions from phpinfo. I'll have to check whether upgrading is possible for us.
by Jesdisciple
2011-03-18T16:52:14-07:00
Forum: Bugs
Topic: PHP/Imagick: writeImage segfaults on certain PNG
Replies: 6
Views: 13085

PHP/Imagick: writeImage segfaults on certain PNG

CentOS 5.5 PHP 5.2.11 # httpd -version Server version: Apache/2.2.14 (Unix) Server built: Oct 27 2009 16:32:50 Cpanel::Easy::Apache v3.2.0 rev4801 `man libpng' identifies itself as: libpng - Portable Network Graphics (PNG) Reference Library 1.2.10 From phpinfo(): imagick module version 2.2.2 ImageMa...
by Jesdisciple
2011-03-16T23:18:41-07:00
Forum: Users
Topic: PHP/Imagick: Image only written if echo'd
Replies: 1
Views: 4091

PHP/Imagick: Image only written if echo'd

The following PHP, when passed this image , writes 0 bytes to $cache (but works fine with all other known images). If the echo just before the call to writeImage is uncommented, it works fine. (The PHP is being run via <?php exec('php -f thumb.php -- img=zc9vfo.png >output'); ?> for unrelated reason...
by Jesdisciple
2011-03-13T18:06:32-07:00
Forum: Users
Topic: Exit status 11 in exec'd CLI script
Replies: 3
Views: 6681

Re: Exit status 11 in exec'd CLI script

I finally thought to check Apache's error.log, and the 11 status was accompanied by this: PHP Warning: Module 'imagick' already loaded in Unknown on line 0 I found the solution here: http://www.somacon.com/p520.php Apparently I accidentally put an extra << extension="imagick.so" >> line in...
by Jesdisciple
2011-03-11T17:38:59-07:00
Forum: Users
Topic: Exit status 11 in exec'd CLI script
Replies: 3
Views: 6681

Re: Exit status 11 in exec'd CLI script

That script is being invoked by exec'ing the given CLI invocation. Some images (example: an animated GIF, the one I discovered this with) have multiple layers, so I figured it would be best to flatten just in case. The 11 status is returned consistently, regardless of layers or no layers. Significan...
by Jesdisciple
2011-03-11T16:07:10-07:00
Forum: Users
Topic: Exit status 11 in exec'd CLI script
Replies: 3
Views: 6681

Exit status 11 in exec'd CLI script

I need to thumb images in a separate process while the server sends an HTTP response, so I'm exec'ing a PHP CLI script. When the script is run directly by CLI, it works fine; but when I exec it, Imagick forces the exit status to 11 despite my exit(0). The latest point at which I can exit to prevent ...