You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run garbage collection, script fails with the error "Segmentation fault (core dumped)". As I learned, to prevent this, we need to remove destructor from Imagine\GMagick\Image class and clear resources manually.
PHP 5.5.14 (cli) (built: Jun 27 2014 15:36:26), gmagick version => 1.1.7RC2
If you handle more than one image with Imagine GMagick, in order to prevent segmentation fault, you need to call $image->__destruct() (with this fix #349) manually after using. Before GC makes it for you!
Here is the code:
Trying to run garbage collection, script fails with the error "Segmentation fault (core dumped)". As I learned, to prevent this, we need to remove destructor from Imagine\GMagick\Image class and clear resources manually.
PHP 5.5.14 (cli) (built: Jun 27 2014 15:36:26), gmagick version => 1.1.7RC2
As I see, this bug is quite old: https://bugs.php.net/bug.php?id=63677
The text was updated successfully, but these errors were encountered: