码迷,mamicode.com
首页 > 其他好文 > 详细

blurImage做图片模糊处理报错free(): invalid next size

时间:2015-07-24 14:26:10      阅读:115      评论:0      收藏:0      [点我收藏+]

标签:php   blurimage   imagick   

$image = new Imagick($url);
$image->blurImage($x, $y);

调用blurImage($x, $y)函数报错:

原因是:原来的图片是CMYK的是印刷模式的。改为RGB显示模式就好用了!!!!!!!!!!!

*** glibc detected *** /data/php/bin/php: free(): invalid next size (fast): 0x00007f04340024b0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75e66)[0x7f044ae21e66]
/lib64/libc.so.6(+0x789b3)[0x7f044ae249b3]
/usr/local/lib/libMagickCore.so.2(RelinquishMagickMemory+0xf)[0x7f044125392f]
/usr/local/lib/libMagickCore.so.2(DestroyPixelCacheNexus+0x71)[0x7f04411c1761]
/usr/local/lib/libMagickCore.so.2(GetVirtualPixelsFromNexus+0x4d9)[0x7f04411c2349]
/usr/local/lib/libMagickCore.so.2(GetCacheViewVirtualPixels+0xba)[0x7f04411c735a]
/usr/local/lib/libMagickCore.so.2(+0x87ea1)[0x7f0441218ea1]
/usr/lib64/libgomp.so.1(+0xe0c5)[0x7f0440f8a0c5]
/lib64/libpthread.so.0(+0x79d1)[0x7f044a56a9d1]
/lib64/libc.so.6(clone+0x6d)[0x7f044ae948fd]
7f043e5d3000-7f043e5db000 r-xp 00000000 fd:00 12250 /usr/local/lib/ImageMagick-6.5.1/modules-Q16/coders/jpeg.so
7f043e5db000-7f043e7db000 ---p 00008000 fd:00 12250 /usr/local/lib/ImageMagick-6.5.1/modules-Q16/coders/jpeg.so
7f043e7db000-7f043e7dc000 rw-p 00008000 fd:00 12250 /usr/local/lib/ImageMagick-6.5.1/modules-Q16/coders/jpeg.so

版权声明:本文为博主原创文章,未经博主允许不得转载。

blurImage做图片模糊处理报错free(): invalid next size

标签:php   blurimage   imagick   

原文地址:http://blog.csdn.net/xww334/article/details/47039471

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!