Segmentation fault in Annotate function
Posted: 2014-12-29T01:58:48-07:00
I use imagemagick (perl module) in debian, and 8:6.7.7.10+dfsg-5 is the latest working version for me. Every version thereafter crashes when calling the annotate function:
When running the script in gdb, I get this:
No idea where to look next. Someone here who can help me out?
Code: Select all
$ perl -e 'use Image::Magick; my $image = new Image::Magick(); $image->Set(size=>"100x100"); $image->ReadImage("canvas:white"); $image->Annotate(font=>"Arial", pointsize=>40, fill=>"green", text=>"121212");'
Segmentation fault
Code: Select all
# dpkg -l | grep magick
ii imagemagick-common 8:6.8.9.9-4 all image manipulation programs -- infrastructure
ii libimage-magick-perl 8:6.8.9.9-4 all Perl interface to the ImageMagick graphics routines
ii libimage-magick-q16-perl 8:6.8.9.9-4 i386 Perl interface to the ImageMagick graphics routines -- Q16 version
ii libmagickcore-6.q16-2:i386 8:6.8.9.9-4 i386 low-level image manipulation library -- quantum depth Q16
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
__GI___libc_realloc (oldmem=0x1, bytes=4102) at malloc.c:2977
2977 malloc.c: No such file or directory.