Code: Select all
/usr/bin/convert -quality 80 -background white /some/path/w/images/c/c4/2014_Public_Creative_Calendar.jpg -thumbnail 89x120! -set comment 'File source: http://example.com/wiki/File:2014_Public_Creative_Calendar.jpg' -depth 8 -sharpen 0x0.4 -rotate -0 /tmp/transform_7e55c77fcada-1.jpg
Process /usr/bin/convert was killed by signal 11 (SIGSEGV)
In /var/log/messages:
kernel: convert[30455]: segfault at 2974248 ip 0000003a3b889aab sp 00007fff284dd6e8 error
4 in libc-2.12.so[3a3b800000+18b000]
If I run the command by hand, it succeeds. Convert version is:
$ convert --version
Version: ImageMagick 6.5.4-7 2014-02-10 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
GDB backtrace:
Code: Select all
$ gdb /usr/bin/convert core
(gdb) bt
#0 memcpy () at ../sysdeps/x86_64/memcpy.S:267
#1 0x00000035fe847d5d in CloneMemoryToMemoryPixelCache (clone_info=0x7ffe1c010600,
cache_info=<value optimized out>, exception=0x7ffe1c00f6f8) at magick/cache.c:1218
#2 ClonePixelCache (clone_info=0x7ffe1c010600, cache_info=<value optimized out>, exception=0x7ffe1c00f6f8)
at magick/cache.c:1239
#3 0x00000035fe84a15e in GetImagePixelCache (image=0x7ffe1c00c480, clone=MagickTrue, exception=0x7ffe1c00f6f8)
at magick/cache.c:2076
#4 0x00000035fe8e3237 in SetImageExtent (image=<value optimized out>, columns=<value optimized out>,
rows=<value optimized out>) at magick/image.c:3341
#5 0x00000035fe8e47d0 in CloneImage (image=0x188a450, columns=445, rows=600, detach=MagickTrue,
exception=0x186df40) at magick/image.c:1147
#6 0x00000035fe92c8b6 in SampleImage (image=0x188a450, columns=445, rows=600, exception=0x186df40)
at magick/resize.c:2314
#7 0x00000035fe92ef97 in ThumbnailImage (image=0x188a450, columns=89, rows=120, exception=0x186df40)
at magick/resize.c:2908
#8 0x00000035fe0ac465 in MogrifyImage (image_info=0x1874d70, argc=16, argv=<value optimized out>,
image=<value optimized out>, exception=0x186df40) at wand/mogrify.c:3040
#9 0x00000035fe0b1615 in MogrifyImages (image_info=0x1874d70, post=MagickTrue, argc=16, argv=0x186efd8,
images=0x7fff57774dc8, exception=0x186df40) at wand/mogrify.c:7981
#10 0x00000035fe0417d2 in ConvertImageCommand (image_info=0x1874d70, argc=<value optimized out>, argv=0x186efd0,
metadata=0x0, exception=<value optimized out>) at wand/convert.c:2801
#11 0x0000000000400dab in main (argc=18, argv=0x7fff577751a8) at utilities/convert.c:122
Code: Select all
dso_list:
:/lib64/libbz2.so.1.0.4 bzip2-libs-1.0.5-7.el6_0.x86_64 (CentOS) 1397758668
:/usr/lib64/libxcb.so.1.1.0 libxcb-1.9.1-2.el6.x86_64 (CentOS) 1420732309
:/usr/lib64/libMagickCore.so.2.0.0 ImageMagick-6.5.4.7-7.el6_5.x86_64 (CentOS) 1398972178
:/usr/lib64/libtiff.so.3.9.4 libtiff-3.9.4-10.el6_5.x86_64 (CentOS) 1397758673
:/usr/lib64/liblcms.so.1.0.19 lcms-libs-1.19-1.el6.x86_64 (CentOS) 1398972139
:/usr/lib64/libltdl.so.7.2.1 libtool-ltdl-2.2.6-15.5.el6.x86_64 (CentOS) 1398972165
:/usr/lib64/libSM.so.6.0.1 libSM-1.2.1-2.el6.x86_64 (CentOS) 1397758690
:/usr/lib64/libfontconfig.so.1.4.4 fontconfig-2.8.0-5.el6.x86_64 (CentOS) 1420732288
:/lib64/libexpat.so.1.5.2 expat-2.0.1-11.el6_2.x86_64 (CentOS) 1397758670 :/lib64/libm-2.12.so glibc-2.12-1.149.el6.x86_64 (CentOS) 1420732269 :/usr/lib64/gconv/gconv-modules.cache glibc-2.12-1.149.el6.x86_64 (CentOS) 1420732269
:/usr/lib64/libX11.so.6.3.0 libX11-1.6.0-2.2.el6.x86_64 (CentOS) 1420732349 :/lib64/libdl-2.12.so glibc-2.12-1.149.el6.x86_64 (CentOS) 1420732269 :/lib64/libc-2.12.so glibc-2.12-1.149.el6.x86_64 (CentOS) 1420732269
:/lib64/libuuid.so.1.3.0 libuuid-2.17.2-12.18.el6.x86_64 (CentOS) 1420732293
:/usr/lib64/libfreetype.so.6.3.22 freetype-2.3.11-14.el6_3.1.x86_64 (CentOS) 1397758670
:/usr/lib64/libICE.so.6.3.0 libICE-1.0.6-1.el6.x86_64 (CentOS) 1397758687 :/usr/bin/convert ImageMagick-6.5.4.7-7.el6_5.x86_64 (CentOS) 1398972178
:/usr/lib64/libgomp.so.1.0.0 libgomp-4.4.7-11.el6.x86_64 (CentOS) 1420732309
:/lib64/libz.so.1.2.3 zlib-1.2.3-29.el6.x86_64 (CentOS) 1397758667 :/usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/jpeg.so ImageMagick-6.5.4.7-7.el6_5.x86_64 (CentOS) 1398972178
:/usr/lib64/libXext.so.6.4.0 libXext-1.3.2-2.1.el6.x86_64 (CentOS) 1420732349
:/usr/lib64/libjpeg.so.62.0.0 libjpeg-turbo-1.2.1-3.el6_5.x86_64 (CentOS) 1397758671 :/lib64/ld-2.12.so glibc-2.12-1.149.el6.x86_64 (CentOS) 1420732269 :/usr/lib/locale/locale-archive glibc-common-2.12-1.149.el6.x86_64 (CentOS) 1420732280 :/lib64/librt-2.12.so glibc-2.12-1.149.el6.x86_64 (CentOS) 1420732269
:/usr/lib64/libXt.so.6.0.0 libXt-1.1.4-6.1.el6.x86_64 (CentOS) 1420732377
:/usr/lib64/libMagickWand.so.2.0.0 ImageMagick-6.5.4.7-7.el6_5.x86_64 (CentOS) 1398972178
:/lib64/libgcc_s-4.4.7-20120601.so.1 libgcc-4.4.7-11.el6.x86_64 (CentOS) 1420732265 :/lib64/libpthread-2.12.so glibc-2.12-1.149.el6.x86_64 (CentOS) 1420732269
:/usr/lib64/libXau.so.6.0.0 libXau-1.0.6-4.el6.x86_64 (CentOS) 1397758687
environ:
:OMP_NUM_THREADS=1
:TERM=xterm
:PATH=/sbin:/usr/sbin:/bin:/usr/bin
:_=/usr/bin/convert
:KRB5RCACHETYPE=none
:PWD=/mnt/kmwiki/vistawiki/w
:LANG=C
:TZ=America/New_York
:SHLVL=5
:LC_CTYPE=en_US.utf8
limits:
:Limit Soft Limit Hard Limit Units
:Max cpu time 180 180 seconds
:Max file size 104857600 104857600 bytes
:Max data size unlimited unlimited bytes
:Max stack size 10485760 unlimited bytes
:Max core file size 0 unlimited bytes
:Max resident set unlimited unlimited bytes
:Max processes 46644 46644 processes
:Max open files 1024 4096 files
:Max locked memory 65536 65536 bytes
:Max address space 314572800 314572800 bytes
:Max file locks unlimited unlimited locks
:Max pending signals 46644 46644 signals
:Max msgqueue size 819200 819200 bytes
:Max nice priority 0 0
:Max realtime priority 0 0
:Max realtime timeout unlimited unlimited us
maps:
:00400000-00402000 r-xp 00000000 fd:03 3292 /usr/bin/convert
:00601000-00604000 rw-p 00001000 fd:03 3292 /usr/bin/convert
:00fe5000-01058000 rw-p 00000000 00:00 0 [heap]
:3d60c00000-3d60c20000 r-xp 00000000 fd:00 524 /lib64/ld-2.12.so
:3d60e1f000-3d60e20000 r--p 0001f000 fd:00 524 /lib64/ld-2.12.so
:3d60e20000-3d60e21000 rw-p 00020000 fd:00 524 /lib64/ld-2.12.so
:3d60e21000-3d60e22000 rw-p 00000000 00:00 0
:3d61000000-3d6118a000 r-xp 00000000 fd:00 526 /lib64/libc-2.12.so
:3d6118a000-3d6138a000 ---p 0018a000 fd:00 526 /lib64/libc-2.12.so
:3d6138a000-3d6138e000 r--p 0018a000 fd:00 526 /lib64/libc-2.12.so
:3d6138e000-3d6138f000 rw-p 0018e000 fd:00 526 /lib64/libc-2.12.so
:3d6138f000-3d61394000 rw-p 00000000 00:00 0
:3d61400000-3d61483000 r-xp 00000000 fd:00 542 /lib64/libm-2.12.so
:3d61483000-3d61682000 ---p 00083000 fd:00 542 /lib64/libm-2.12.so
:3d61682000-3d61683000 r--p 00082000 fd:00 542 /lib64/libm-2.12.so
:3d61683000-3d61684000 rw-p 00083000 fd:00 542 /lib64/libm-2.12.so
:3d61800000-3d61802000 r-xp 00000000 fd:00 560 /lib64/libdl-2.12.so
:3d61802000-3d61a02000 ---p 00002000 fd:00 560 /lib64/libdl-2.12.so
:3d61a02000-3d61a03000 r--p 00002000 fd:00 560 /lib64/libdl-2.12.so
:3d61a03000-3d61a04000 rw-p 00003000 fd:00 560 /lib64/libdl-2.12.so
:3d61c00000-3d61c17000 r-xp 00000000 fd:00 528 /lib64/libpthread-2.12.so
:3d61c17000-3d61e17000 ---p 00017000 fd:00 528 /lib64/libpthread-2.12.so
:3d61e17000-3d61e18000 r--p 00017000 fd:00 528 /lib64/libpthread-2.12.so
:3d61e18000-3d61e19000 rw-p 00018000 fd:00 528 /lib64/libpthread-2.12.so
:3d61e19000-3d61e1d000 rw-p 00000000 00:00 0
:3d62000000-3d62015000 r-xp 00000000 fd:00 705 /lib64/libz.so.1.2.3
:3d62015000-3d62214000 ---p 00015000 fd:00 705 /lib64/libz.so.1.2.3
:3d62214000-3d62215000 r--p 00014000 fd:00 705 /lib64/libz.so.1.2.3
:3d62215000-3d62216000 rw-p 00015000 fd:00 705 /lib64/libz.so.1.2.3
:3d62400000-3d62407000 r-xp 00000000 fd:00 463 /lib64/librt-2.12.so
:3d62407000-3d62606000 ---p 00007000 fd:00 463 /lib64/librt-2.12.so
:3d62606000-3d62607000 r--p 00006000 fd:00 463 /lib64/librt-2.12.so
:3d62607000-3d62608000 rw-p 00007000 fd:00 463 /lib64/librt-2.12.so
:3d63400000-3d63416000 r-xp 00000000 fd:00 543 /lib64/libgcc_s-4.4.7-20120601.so.1
:3d63416000-3d63615000 ---p 00016000 fd:00 543 /lib64/libgcc_s-4.4.7-20120601.so.1
:3d63615000-3d63616000 rw-p 00015000 fd:00 543 /lib64/libgcc_s-4.4.7-20120601.so.1
:3d65400000-3d65426000 r-xp 00000000 fd:00 5058 /lib64/libexpat.so.1.5.2
:3d65426000-3d65625000 ---p 00026000 fd:00 5058 /lib64/libexpat.so.1.5.2
:3d65625000-3d65628000 rw-p 00025000 fd:00 5058 /lib64/libexpat.so.1.5.2
:3d66400000-3d6643f000 r-xp 00000000 fd:03 3497 /usr/lib64/libjpeg.so.62.0.0
:3d6643f000-3d6663f000 ---p 0003f000 fd:03 3497 /usr/lib64/libjpeg.so.62.0.0
:3d6663f000-3d66640000 rw-p 0003f000 fd:03 3497 /usr/lib64/libjpeg.so.62.0.0
:3d66640000-3d66650000 rw-p 00000000 00:00 0
:3d67000000-3d6705f000 r-xp 00000000 fd:03 3489 /usr/lib64/libXt.so.6.0.0
:3d6705f000-3d6725e000 ---p 0005f000 fd:03 3489 /usr/lib64/libXt.so.6.0.0
:3d6725e000-3d67264000 rw-p 0005e000 fd:03 3489 /usr/lib64/libXt.so.6.0.0
:3d67264000-3d67265000 rw-p 00000000 00:00 0
:3d67400000-3d67498000 r-xp 00000000 fd:03 1712 /usr/lib64/libfreetype.so.6.3.22
:3d67498000-3d67697000 ---p 00098000 fd:03 1712 /usr/lib64/libfreetype.so.6.3.22
:3d67697000-3d6769d000 rw-p 00097000 fd:03 1712 /usr/lib64/libfreetype.so.6.3.22
:3d67c00000-3d67c62000 r-xp 00000000 fd:03 3502 /usr/lib64/libtiff.so.3.9.4
:3d67c62000-3d67e61000 ---p 00062000 fd:03 3502 /usr/lib64/libtiff.so.3.9.4
:3d67e61000-3d67e64000 rw-p 00061000 fd:03 3502 /usr/lib64/libtiff.so.3.9.4
:3d68400000-3d68410000 r-xp 00000000 fd:00 1975 /lib64/libbz2.so.1.0.4
:3d68410000-3d6860f000 ---p 00010000 fd:00 1975 /lib64/libbz2.so.1.0.4
:3d6860f000-3d68611000 rw-p 0000f000 fd:00 1975 /lib64/libbz2.so.1.0.4
:3d68800000-3d68804000 r-xp 00000000 fd:00 5434 /lib64/libuuid.so.1.3.0
:3d68804000-3d68a03000 ---p 00004000 fd:00 5434 /lib64/libuuid.so.1.3.0
:3d68a03000-3d68a04000 rw-p 00003000 fd:00 5434 /lib64/libuuid.so.1.3.0
:3d68c00000-3d68c02000 r-xp 00000000 fd:03 2315 /usr/lib64/libXau.so.6.0.0
:3d68c02000-3d68e02000 ---p 00002000 fd:03 2315 /usr/lib64/libXau.so.6.0.0
:3d68e02000-3d68e03000 rw-p 00002000 fd:03 2315 /usr/lib64/libXau.so.6.0.0
:3d6a000000-3d6a137000 r-xp 00000000 fd:03 3488 /usr/lib64/libX11.so.6.3.0
:3d6a137000-3d6a337000 ---p 00137000 fd:03 3488 /usr/lib64/libX11.so.6.3.0
:3d6a337000-3d6a33d000 rw-p 00137000 fd:03 3488 /usr/lib64/libX11.so.6.3.0
:3d6a800000-3d6a834000 r-xp 00000000 fd:03 2995 /usr/lib64/libfontconfig.so.1.4.4
:3d6a834000-3d6aa34000 ---p 00034000 fd:03 2995 /usr/lib64/libfontconfig.so.1.4.4
:3d6aa34000-3d6aa36000 rw-p 00034000 fd:03 2995 /usr/lib64/libfontconfig.so.1.4.4
:3d6ac00000-3d6ac1d000 r-xp 00000000 fd:03 3487 /usr/lib64/libxcb.so.1.1.0
:3d6ac1d000-3d6ae1d000 ---p 0001d000 fd:03 3487 /usr/lib64/libxcb.so.1.1.0
:3d6ae1d000-3d6ae1e000 rw-p 0001d000 fd:03 3487 /usr/lib64/libxcb.so.1.1.0
:3d6b800000-3d6b811000 r-xp 00000000 fd:03 3490 /usr/lib64/libXext.so.6.4.0
:3d6b811000-3d6ba11000 ---p 00011000 fd:03 3490 /usr/lib64/libXext.so.6.4.0
:3d6ba11000-3d6ba12000 rw-p 00011000 fd:03 3490 /usr/lib64/libXext.so.6.4.0
:3d6bc00000-3d6bc09000 r-xp 00000000 fd:03 3535 /usr/lib64/libltdl.so.7.2.1
:3d6bc09000-3d6be08000 ---p 00009000 fd:03 3535 /usr/lib64/libltdl.so.7.2.1
:3d6be08000-3d6be09000 rw-p 00008000 fd:03 3535 /usr/lib64/libltdl.so.7.2.1
:3d6c000000-3d6c017000 r-xp 00000000 fd:03 3486 /usr/lib64/libICE.so.6.3.0
:3d6c017000-3d6c217000 ---p 00017000 fd:03 3486 /usr/lib64/libICE.so.6.3.0
:3d6c217000-3d6c218000 rw-p 00017000 fd:03 3486 /usr/lib64/libICE.so.6.3.0
:3d6c218000-3d6c21c000 rw-p 00000000 00:00 0
:3d6c400000-3d6c407000 r-xp 00000000 fd:03 1998 /usr/lib64/libSM.so.6.0.1
:3d6c407000-3d6c607000 ---p 00007000 fd:03 1998 /usr/lib64/libSM.so.6.0.1
:3d6c607000-3d6c608000 rw-p 00007000 fd:03 1998 /usr/lib64/libSM.so.6.0.1
:3d6cc00000-3d6cc35000 r-xp 00000000 fd:03 2319 /usr/lib64/liblcms.so.1.0.19
:3d6cc35000-3d6ce35000 ---p 00035000 fd:03 2319 /usr/lib64/liblcms.so.1.0.19
:3d6ce35000-3d6ce37000 rw-p 00035000 fd:03 2319 /usr/lib64/liblcms.so.1.0.19
:3d6ce37000-3d6ce39000 rw-p 00000000 00:00 0
:3d6d800000-3d6d815000 r-xp 00000000 fd:03 3503 /usr/lib64/libgomp.so.1.0.0
:3d6d815000-3d6da14000 ---p 00015000 fd:03 3503 /usr/lib64/libgomp.so.1.0.0
:3d6da14000-3d6da15000 rw-p 00014000 fd:03 3503 /usr/lib64/libgomp.so.1.0.0
:3d6dc00000-3d6ddce000 r-xp 00000000 fd:03 3686 /usr/lib64/libMagickCore.so.2.0.0
:3d6ddce000-3d6dfce000 ---p 001ce000 fd:03 3686 /usr/lib64/libMagickCore.so.2.0.0
:3d6dfce000-3d6e01f000 rw-p 001ce000 fd:03 3686 /usr/lib64/libMagickCore.so.2.0.0
:3d6e01f000-3d6e038000 rw-p 00000000 00:00 0
:3d6ea00000-3d6eb08000 r-xp 00000000 fd:03 3631 /usr/lib64/libMagickWand.so.2.0.0
:3d6eb08000-3d6ed07000 ---p 00108000 fd:03 3631 /usr/lib64/libMagickWand.so.2.0.0
:3d6ed07000-3d6ed0b000 rw-p 00107000 fd:03 3631 /usr/lib64/libMagickWand.so.2.0.0
:7f1ca0000000-7f1ca0040000 rw-p 00000000 00:00 0
:7f1ca0040000-7f1ca4000000 ---p 00000000 00:00 0
:7f1cc420a000-7f1cc4414000 rw-p 00000000 00:00 0
:7f1cc4414000-7f1cc441c000 r-xp 00000000 fd:03 21416 /usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/jpeg.so
:7f1cc441c000-7f1cc461c000 ---p 00008000 fd:03 21416 /usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/jpeg.so
:7f1cc461c000-7f1cc461d000 rw-p 00008000 fd:03 21416 /usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/jpeg.so
:7f1cc461d000-7f1cca4ae000 r--p 00000000 fd:03 1716 /usr/lib/locale/locale-archive
:7f1cca4ae000-7f1cca4bb000 rw-p 00000000 00:00 0
:7f1cca4c1000-7f1cca4c8000 r--s 00000000 fd:03 1707 /usr/lib64/gconv/gconv-modules.cache
:7f1cca4c8000-7f1cca4c9000 rw-p 00000000 00:00 0
:7fffef760000-7fffef781000 rw-p 00000000 00:00 0 [stack]
:7fffef7be000-7fffef7bf000 r-xp 00000000 00:00 0 [vdso]
:ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
open_fds:
:0:/dev/null
:pos: 0
:flags: 0100000
:1:pipe:[4925865]
:pos: 0
:flags: 01
:2:pipe:[4925865]
:pos: 0
:flags: 01