Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

166_Imagick_waveImage_basic test fail on x86 #385

Closed
andypost opened this issue Mar 18, 2021 · 3 comments
Closed

166_Imagick_waveImage_basic test fail on x86 #385

andypost opened this issue Mar 18, 2021 · 3 comments

Comments

@andypost
Copy link
Contributor

andypost commented Mar 18, 2021

Used to rebuild extension with imagemagick 7.0.11-1 and 7.0.11-3 on Alpinelinux but got a failed test (only x86 32-bits)

The failure is the same for PHP 7 and 8 and looks related to cache somehow

https://github.com/ImageMagick/ImageMagick/blob/f7e785915f626301355319102cf146f8fe5240c0/MagickCore/cache.c#L5053-L5061

001+ Fatal error: Uncaught ImagickException: width or height exceeds limit `logo[0]' @ error/cache.c/SetPixelCacheNexusPixels/5058 in /builds/TBK/aports/community/php7-pecl-imagick/src/imagick-3.4.4/tests/166_Imagick_waveImage_basic.php:9
001- Ok
002+ Stack trace:
003+ #0 /builds/TBK/aports/community/php7-pecl-imagick/src/imagick-3.4.4/tests/166_Imagick_waveImage_basic.php(9): Imagick->waveimage(5, 20)
004+ #1 /builds/TBK/aports/community/php7-pecl-imagick/src/imagick-3.4.4/tests/166_Imagick_waveImage_basic.php(14): waveImage(5, 20)
005+ #2 {main}
006+   thrown in /builds/TBK/aports/community/php7-pecl-imagick/src/imagick-3.4.4/tests/166_Imagick_waveImage_basic.php on line 9

and php 8

001+ Fatal error: Uncaught ImagickException: width or height exceeds limit `logo[0]' @ error/cache.c/SetPixelCacheNexusPixels/5058 in /builds/TBK/aports/community/php8-pecl-imagick/src/imagick-765649716faf3215b6ffca1b329e6a49aa42b24f/tests/166_Imagick_waveImage_basic.php:9
001- Ok
002+ Stack trace:
003+ #0 /builds/TBK/aports/community/php8-pecl-imagick/src/imagick-765649716faf3215b6ffca1b329e6a49aa42b24f/tests/166_Imagick_waveImage_basic.php(9): Imagick->waveimage(5, 20)
004+ #1 /builds/TBK/aports/community/php8-pecl-imagick/src/imagick-765649716faf3215b6ffca1b329e6a49aa42b24f/tests/166_Imagick_waveImage_basic.php(14): waveImage(5, 20)
005+ #2 {main}
006+   thrown in /builds/TBK/aports/community/php8-pecl-imagick/src/imagick-765649716faf3215b6ffca1b329e6a49aa42b24f/tests/166_Imagick_waveImage_basic.php on line 9
========DONE========
FAIL Test Imagick, waveImage [tests/166_Imagick_waveImage_basic.phpt] 
@andypost
Copy link
Contributor Author

@Danack
Copy link
Collaborator

Danack commented May 1, 2021

Hi @andypost,

I don't really support Imagick on Alpine for reasons.

If you want me to take a look, please can you submit a PR with a container that gets everything setup, and also with the package 'strace' installed.

@Danack
Copy link
Collaborator

Danack commented May 17, 2021

Closing. Although I'm not going to block people using Imagick on Alpine, I'm also not going to spend significant amounts of time supporting it.

@Danack Danack closed this as completed May 17, 2021
simonrupf added a commit to simonrupf/docker-php-wp that referenced this issue Jun 19, 2021
…uced

Alpine doesn't build a x86 package for php/imagick anymore, due to:
Imagick/imagick#385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants