title: Strange error with php56-imagick
body: <p>I've broken my mind with this problem! Please, help)</p>
  
  <h2>Versions</h2>
  
  <p><strong>MacOS version (El Capitan)</strong></p>
  
  <pre><code>$ sw_vers -productVersion
  
  10.11.1
  </code></pre>
  
  <p><strong>PHP version</strong></p>
  
  <pre><code>$ php -v
  
  PHP 5.6.14 (cli) (built: Oct  3 2015 14:54:13) 
  Copyright (c) 1997-2015 The PHP Group
  Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
      with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans
  </code></pre>
  
  <p><strong>IMagick version</strong></p>
  
  <pre><code>$ php -i | grep imagick
  
  imagick
  imagick module =&gt; enabled
  imagick module version =&gt; 3.1.2
  imagick classes =&gt; Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
  imagick.locale_fix =&gt; 0 =&gt; 0
  imagick.progress_monitor =&gt; 0 =&gt; 0
  </code></pre>
  
  <p><strong>ImageMagick version</strong></p>
  
  <pre><code>$ identify -version
  
  Version: ImageMagick 6.9.2-4 Q16 x86_64 2015-10-11 http://www.imagemagick.org
  Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
  License: http://www.imagemagick.org/script/license.php
  Features: Cipher DPC Modules 
  Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
  </code></pre>
  
  <h2>Problem</h2>
  
  <p>This simple php script with 3 lines <strong>run.php</strong></p>
  
  <pre><code>&lt;?php
  
  $img = '/Users/vkulikov/Downloads/1444827520-120x60.gif';
  $imagick = new \Imagick();
  $imagick-&gt;readImage($img);
  </code></pre>
  
  <p>When i am trying to execute it in console i have this strange output</p>
  
  <pre><code>$ php run.php 
  
  Assertion failed: (wand-&gt;signature == WandSignature), function MagickClearException, file wand/magick-wand.c, line 246.
  Magick: abort due to signal 6 (SIGABRT) "Abort"...
  Abort trap: 6
  </code></pre>
  
  <p>Have any ideas?</p>