You are not logged in.

#1 2016-12-30 20:45:36

hellbuster
Member
From: Chile
Registered: 2010-05-18
Posts: 28
Website

[SOLVED] Imagemagick crashing

I have been getting crashes when I try yo use the convert command from Imagemagick. Here is an example of the error output

convert *.jpg a.pdf
*** buffer overflow detected ***: convert terminated
======= Backtrace: =========
/usr/lib/libc.so.6(+0x70c4b)[0x7f9b23055c4b]
/usr/lib/libc.so.6(__fortify_fail+0x37)[0x7f9b230ddf17]
/usr/lib/libc.so.6(+0xf7050)[0x7f9b230dc050]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(+0x14cf9e)[0x7f9b23a12f9e]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(InitOpenCLEnv+0x74)[0x7f9b23a131c4]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(+0x44570)[0x7f9b2390a570]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(+0x4f26f)[0x7f9b2391526f]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(ResizeImage+0x125)[0x7f9b23a62555]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(ThumbnailImage+0x532)[0x7f9b23a653e2]
/usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/pdf.so(+0x658e)[0x7f9b174a358e]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(WriteImage+0x230)[0x7f9b2395f290]
/usr/lib/libMagickCore-6.Q16HDRI.so.3(WriteImages+0x18f)[0x7f9b2395fb5f]
/usr/lib/libMagickWand-6.Q16HDRI.so.3(ConvertImageCommand+0x282c)[0x7f9b235e4d9c]
/usr/lib/libMagickWand-6.Q16HDRI.so.3(MagickCommandGenesis+0x6c6)[0x7f9b236548f6]
convert[0x4007c7]
/usr/lib/libc.so.6(__libc_start_main+0xf1)[0x7f9b23005291]
convert[0x40082a]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:11 1322718                            /usr/bin/convert
00600000-00601000 r--p 00000000 08:11 1322718                            /usr/bin/convert
00601000-00602000 rw-p 00001000 08:11 1322718                            /usr/bin/convert
01286000-013fe000 rw-p 00000000 00:00 0                                  [heap]
7f9b11208000-7f9b11225000 r-xp 00000000 08:11 1348319                    /usr/lib/libOpenCL.so.1.0.0
7f9b11225000-7f9b11425000 ---p 0001d000 08:11 1348319                    /usr/lib/libOpenCL.so.1.0.0
7f9b11425000-7f9b11426000 r--p 0001d000 08:11 1348319                    /usr/lib/libOpenCL.so.1.0.0
7f9b11426000-7f9b11427000 rw-p 0001e000 08:11 1348319                    /usr/lib/libOpenCL.so.1.0.0
7f9b11427000-7f9b11428000 ---p 00000000 00:00 0 
7f9b11428000-7f9b11f65000 rw-p 00000000 00:00 0 
7f9b11f65000-7f9b11f78000 r-xp 00000000 08:11 1318756                    /usr/lib/libgpg-error.so.0.20.0
7f9b11f78000-7f9b12177000 ---p 00013000 08:11 1318756                    /usr/lib/libgpg-error.so.0.20.0
7f9b12177000-7f9b12178000 r--p 00012000 08:11 1318756                    /usr/lib/libgpg-error.so.0.20.0
7f9b12178000-7f9b12179000 rw-p 00013000 08:11 1318756                    /usr/lib/libgpg-error.so.0.20.0
7f9b12179000-7f9b12280000 r-xp 00000000 08:11 1348827                    /usr/lib/libgcrypt.so.20.1.5
7f9b12280000-7f9b1247f000 ---p 00107000 08:11 1348827                    /usr/lib/libgcrypt.so.20.1.5
7f9b1247f000-7f9b12481000 r--p 00106000 08:11 1348827                    /usr/lib/libgcrypt.so.20.1.5
7f9b12481000-7f9b12488000 rw-p 00108000 08:11 1348827                    /usr/lib/libgcrypt.so.20.1.5
7f9b12488000-7f9b12499000 r-xp 00000000 08:11 1363229                    /usr/lib/liblz4.so.1.7.4
7f9b12499000-7f9b12698000 ---p 00011000 08:11 1363229                    /usr/lib/liblz4.so.1.7.4
7f9b12698000-7f9b12699000 r--p 00010000 08:11 1363229                    /usr/lib/liblz4.so.1.7.4
7f9b12699000-7f9b1269a000 rw-p 00011000 08:11 1363229                    /usr/lib/liblz4.so.1.7.4
7f9b1269a000-7f9b126a1000 r-xp 00000000 08:11 1365988                    /usr/lib/librt-2.24.so
7f9b126a1000-7f9b128a0000 ---p 00007000 08:11 1365988                    /usr/lib/librt-2.24.so
7f9b128a0000-7f9b128a1000 r--p 00006000 08:11 1365988                    /usr/lib/librt-2.24.so
7f9b128a1000-7f9b128a2000 rw-p 00007000 08:11 1365988                    /usr/lib/librt-2.24.so
7f9b128a2000-7f9b128a6000 r-xp 00000000 08:11 1317681                    /usr/lib/libcap.so.2.25
7f9b128a6000-7f9b12aa5000 ---p 00004000 08:11 1317681                    /usr/lib/libcap.so.2.25
7f9b12aa5000-7f9b12aa6000 rw-p 00003000 08:11 1317681                    /usr/lib/libcap.so.2.25
7f9b12aa6000-7f9b12aad000 r-xp 00000000 08:11 1354739                    /usr/lib/libffi.so.6.0.4
7f9b12aad000-7f9b12cad000 ---p 00007000 08:11 1354739                    /usr/lib/libffi.so.6.0.4
7f9b12cad000-7f9b12cae000 r--p 00007000 08:11 1354739                    /usr/lib/libffi.so.6.0.4
7f9b12cae000-7f9b12caf000 rw-p 00008000 08:11 1354739                    /usr/lib/libffi.so.6.0.4
7f9b12caf000-7f9b12d41000 r-xp 00000000 08:11 1332965                    /usr/lib/libgmp.so.10.3.1
7f9b12d41000-7f9b12f40000 ---p 00092000 08:11 1332965                    /usr/lib/libgmp.so.10.3.1
7f9b12f40000-7f9b12f41000 r--p 00091000 08:11 1332965                    /usr/lib/libgmp.so.10.3.1
7f9b12f41000-7f9b12f42000 rw-p 00092000 08:11 1332965                    /usr/lib/libgmp.so.10.3.1
7f9b12f42000-7f9b12f75000 r-xp 00000000 08:11 1340662                    /usr/lib/libhogweed.so.4.3
7f9b12f75000-7f9b13175000 ---p 00033000 08:11 1340662                    /usr/lib/libhogweed.so.4.3
7f9b13175000-7f9b13176000 r--p 00033000 08:11 1340662                    /usr/lib/libhogweed.so.4.3
7f9b13176000-7f9b13177000 rw-p 00034000 08:11 1340662                    /usr/lib/libhogweed.so.4.3
7f9b13177000-7f9b131ad000 r-xp 00000000 08:11 1340666                    /usr/lib/libnettle.so.6.3
7f9b131ad000-7f9b133ac000 ---p 00036000 08:11 1340666                    /usr/lib/libnettle.so.6.3
7f9b133ac000-7f9b133ae000 r--p 00035000 08:11 1340666                    /usr/lib/libnettle.so.6.3
7f9b133ae000-7f9b133af000 rw-p 00037000 08:11 1340666                    /usr/lib/libnettle.so.6.3
7f9b133af000-7f9b133c0000 r-xp 00000000 08:11 1359431                    /usr/lib/libtasn1.so.6.5.2
7f9b133c0000-7f9b135c0000 ---p 00011000 08:11 1359431                    /usr/lib/libtasn1.so.6.5.2
7f9b135c0000-7f9b135c1000 r--p 00011000 08:11 1359431                    /usr/lib/libtasn1.so.6.5.2
7f9b135c1000-7f9b135c2000 rw-p 00012000 08:11 1359431                    /usr/lib/libtasn1.so.6.5.2
7f9b135c2000-7f9b1361c000 r-xp 00000000 08:11 1351569                    /usr/lib/libp11-kit.so.0.1.0
7f9b1361c000-7f9b1381b000 ---p 0005a000 08:11 1351569                    /usr/lib/libp11-kit.so.0.1.0
7f9b1381b000-7f9b13825000 r--p 00059000 08:11 1351569                    /usr/lib/libp11-kit.so.0.1.0
7f9b13825000-7f9b13827000 rw-p 00063000 08:11 1351569                    /usr/lib/libp11-kit.so.0.1.0
7f9b13827000-7f9b13875000 r-xp 00000000 08:11 1310881                    /usr/lib/libdbus-1.so.3.14.9
7f9b13875000-7f9b13a74000 ---p 0004e000 08:11 1310881                    /usr/lib/libdbus-1.so.3.14.9
7f9b13a74000-7f9b13a75000 r--p 0004d000 08:11 1310881                    /usr/lib/libdbus-1.so.3.14.9
7f9b13a75000-7f9b13a76000 rw-p 0004e000 08:11 1310881                    /usr/lib/libdbus-1.so.3.14.9
7f9b13a76000-7f9b13a77000 rw-p 00000000 00:00 0 
7f9b13a77000-7f9b13a8b000 r-xp 00000000 08:11 1365987                    /usr/lib/libresolv-2.24.so
7f9b13a8b000-7f9b13c8a000 ---p 00014000 08:11 1365987                    /usr/lib/libresolv-2.24.so
7f9b13c8a000-7f9b13c8b000 r--p 00013000 08:11 1365987                    /usr/lib/libresolv-2.24.so
7f9b13c8b000-7f9b13c8c000 rw-p 00014000 08:11 1365987                    /usr/lib/libresolv-2.24.so
7f9b13c8c000-7f9b13c8e000 rw-p 00000000 00:00 0 
7f9b13c8e000-7f9b13c91000 r-xp 00000000 08:11 1366288                    /usr/lib/libkeyutils.so.1.5
7f9b13c91000-7f9b13e90000 ---p 00003000 08:11 1366288                    /usr/lib/libkeyutils.so.1.5
7f9b13e90000-7f9b13e91000 r--p 00002000 08:11 1366288                    /usr/lib/libkeyutils.so.1.5
7f9b13e91000-7f9b13e92000 rw-p 00003000 08:11 1366288                    /usr/lib/libkeyutils.so.1.5
7f9b13e92000-7f9b13e9e000 r-xp 00000000 08:11 1351027                    /usr/lib/libkrb5support.so.0.1
7f9b13e9e000-7f9b1409d000 ---p 0000c000 08:11 1351027                    /usr/lib/libkrb5support.so.0.1
7f9b1409d000-7f9b1409e000 r--p 0000b000 08:11 1351027                    /usr/lib/libkrb5support.so.0.1
7f9b1409e000-7f9b1409f000 rw-p 0000c000 08:11 1351027                    /usr/lib/libkrb5support.so.0.1
7f9b1409f000-7f9b141ca000 r-xp 00000000 08:11 1364966                    /usr/lib/libgnutls.so.30.7.0
7f9b141ca000-7f9b143c9000 ---p 0012b000 08:11 1364966                    /usr/lib/libgnutls.so.30.7.0
7f9b143c9000-7f9b143d4000 r--p 0012a000 08:11 1364966                    /usr/lib/libgnutls.so.30.7.0
7f9b143d4000-7f9b143d7000 rw-p 00135000 08:11 1364966                    /usr/lib/libgnutls.so.30.7.0
7f9b143d7000-7f9b143d8000 rw-p 00000000 00:00 0 
7f9b143d8000-7f9b143e8000 r-xp 00000000 08:11 1323492                    /usr/lib/libavahi-client.so.3.2.9
7f9b143e8000-7f9b145e7000 ---p 00010000 08:11 1323492                    /usr/lib/libavahi-client.so.3.2.9
7f9b145e7000-7f9b145e8000 r--p 0000f000 08:11 1323492                    /usr/lib/libavahi-client.so.3.2.9
7f9b145e8000-7f9b145e9000 rw-p 00010000 08:11 1323492                    /usr/lib/libavahi-client.so.3.2.9
7f9b145e9000-7f9b145f5000 r-xp 00000000 08:11 1323489                    /usr/lib/libavahi-common.so.3.5.3
7f9b145f5000-7f9b147f4000 ---p 0000c000 08:11 1323489                    /usr/lib/libavahi-common.so.3.5.3
7f9b147f4000-7f9b147f5000 r--p 0000b000 08:11 1323489                    /usr/lib/libavahi-common.so.3.5.3
7f9b147f5000-7f9b147f6000 rw-p 0000c000 08:11 1323489                    /usr/lib/libavahi-common.so.3.5.3
7f9b147f6000-7f9b147f9000 r-xp 00000000 08:11 1318304                    /usr/lib/libcom_err.so.2.1
7f9b147f9000-7f9b149f8000 ---p 00003000 08:11 1318304                    /usr/lib/libcom_err.so.2.1
7f9b149f8000-7f9b149f9000 r--p 00002000 08:11 1318304                    /usr/lib/libcom_err.so.2.1
7f9b149f9000-7f9b149fa000 rw-p 00003000 08:11 1318304                    /usr/lib/libcom_err.so.2.1
7f9b149fa000-7f9b14a28000 r-xp 00000000 08:11 1348977                    /usr/lib/libk5crypto.so.3.1
7f9b14a28000-7f9b14c27000 ---p 0002e000 08:11 1348977                    /usr/lib/libk5crypto.so.3.1
7f9b14c27000-7f9b14c29000 r--p 0002d000 08:11 1348977                    /usr/lib/libk5crypto.so.3.1
7f9b14c29000-7f9b14c2a000 rw-p 0002f000 08:11 1348977                    /usr/lib/libk5crypto.so.3.1
7f9b14c2a000-7f9b14c2b000 rw-p 00000000 00:00 0 
7f9b14c2b000-7f9b14d00000 r-xp 00000000 08:11 1347860                    /usr/lib/libkrb5.so.3.3
7f9b14d00000-7f9b14f00000 ---p 000d5000 08:11 1347860                    /usr/lib/libkrb5.so.3.3
7f9b14f00000-7f9b14f0d000 r--p 000d5000 08:11 1347860                    /usr/lib/libkrb5.so.3.3
7f9b14f0d000-7f9b14f10000 rw-p 000e2000 08:11 1347860                    /usr/lib/libkrb5.so.3.3
7f9b14f10000-7f9b14f5a000 r-xp 00000000 08:11 1354548                    /usr/lib/libgssapi_krb5.so.2.2
7f9b14f5a000-7f9b1515a000 ---p 0004a000 08:11 1354548                    /usr/lib/libgssapi_krb5.so.2.2
7f9b1515a000-7f9b1515c000 r--p 0004a000 08:11 1354548                    /usr/lib/libgssapi_krb5.so.2.2
7f9b1515c000-7f9b1515e000 rw-p 0004c000 08:11 1354548                    /usr/lib/libgssapi_krb5.so.2.2
7f9b1515e000-7f9b15166000 r-xp 00000000 08:11 1365697                    /usr/lib/libcrypt-2.24.so
7f9b15166000-7f9b15366000 ---p 00008000 08:11 1365697                    /usr/lib/libcrypt-2.24.so
7f9b15366000-7f9b15367000 r--p 00008000 08:11 1365697                    /usr/lib/libcrypt-2.24.so
7f9b15367000-7f9b15368000 rw-p 00009000 08:11 1365697                    /usr/lib/libcrypt-2.24.so
7f9b15368000-7f9b15396000 rw-p 00000000 00:00 0 
7f9b15396000-7f9b15399000 r-xp 00000000 08:11 1358317                    /usr/lib/libpaper.so.1.1.2
7f9b15399000-7f9b15598000 ---p 00003000 08:11 1358317                    /usr/lib/libpaper.so.1.1.2
7f9b15598000-7f9b15599000 r--p 00002000 08:11 1358317                    /usr/lib/libpaper.so.1.1.2
7f9b15599000-7f9b1559a000 rw-p 00003000 08:11 1358317                    /usr/lib/libpaper.so.1.1.2
7f9b1559a000-7f9b155cc000 r-xp 00000000 08:11 1363616                    /usr/lib/libidn.so.11.6.16
7f9b155cc000-7f9b157cc000 ---p 00032000 08:11 1363616                    /usr/lib/libidn.so.11.6.16
7f9b157cc000-7f9b157cd000 r--p 00032000 08:11 1363616                    /usr/lib/libidn.so.11.6.16
7f9b157cd000-7f9b157ce000 rw-p 00033000 08:11 1363616                    /usr/lib/libidn.so.11.6.16
7f9b157ce000-7f9b157e6000 r-xp 00000000 08:11 1354442                    /usr/lib/libjbig2dec.so.0.0.0
7f9b157e6000-7f9b159e5000 ---p 00018000 08:11 1354442                    /usr/lib/libjbig2dec.so.0.0.0
7f9b159e5000-7f9b159e6000 r--p 00017000 08:11 1354442                    /usr/lib/libjbig2dec.so.0.0.0
7f9b159e6000-7f9b159e7000 rw-p 00018000 08:11 1354442                    /usr/lib/libjbig2dec.so.0.0.0
7f9b159e7000-7f9b159ec000 r-xp 00000000 08:11 1313882                    /usr/lib/libijs-0.35.so
7f9b159ec000-7f9b15beb000 ---p 00005000 08:11 1313882                    /usr/lib/libijs-0.35.so
7f9b15beb000-7f9b15bec000 r--p 00004000 08:11 1313882                    /usr/lib/libijs-0.35.so
7f9b15bec000-7f9b15bed000 rw-p 00005000 08:11 1313882                    /usr/lib/libijs-0.35.so
7f9b15bed000-7f9b15c6d000 r-xp 00000000 08:11 1333240                    /usr/lib/libcups.so.2
7f9b15c6d000-7f9b15e6d000 ---p 00080000 08:11 1333240                    /usr/lib/libcups.so.2
7f9b15e6d000-7f9b15e75000 r--p 00080000 08:11 1333240                    /usr/lib/libcups.so.2
7f9b15e75000-7f9b15e77000 rw-p 00088000 08:11 1333240                    /usr/lib/libcups.so.2
7f9b15e77000-7f9b15e7f000 r-xp 00000000 08:11 1345846                    /usr/lib/libcupsimage.so.2
7f9b15e7f000-7f9b1607e000 ---p 00008000 08:11 1345846                    /usr/lib/libcupsimage.so.2
7f9b1607e000-7f9b1607f000 r--p 00007000 08:11 1345846                    /usr/lib/libcupsimage.so.2
7f9b1607f000-7f9b16080000 rw-p 00008000 08:11 1345846                    /usr/lib/libcupsimage.so.2
7f9b16080000-7f9b160fd000 r-xp 00000000 08:11 1323179                    /usr/lib/libtiff.so.5.2.5
7f9b160fd000-7f9b162fc000 ---p 0007d000 08:11 1323179                    /usr/lib/libtiff.so.5.2.5
7f9b162fc000-7f9b16300000 r--p 0007c000 08:11 1323179                    /usr/lib/libtiff.so.5.2.5
7f9b16300000-7f9b16304000 rw-p 00080000 08:11 1323179                    /usr/lib/libtiff.so.5.2.5
7f9b16304000-7f9b168c3000 r-xp 00000000 08:11 1313880                    /usr/lib/libgs.so.9.20
7f9b168c3000-7f9b16ac2000 ---p 005bf000 08:11 1313880                    /usr/lib/libgs.so.9.20
7f9b16ac2000-7f9b16e6b000 r--p 005be000 08:11 1313880                    /usr/lib/libgs.so.9.20
7f9b16e6b000-7f9b1749c000 rw-p 00967000 08:11 1313880                    /usr/lib/libgs.so.9.20
7f9b1749c000-7f9b1749d000 rw-p 00000000 00:00 0 
7f9b1749d000-7f9b174a9000 r-xp 00000000 08:11 4855274                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/pdf.so
7f9b174a9000-7f9b176a8000 ---p 0000c000 08:11 4855274                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/pdf.so
7f9b176a8000-7f9b176a9000 r--p 0000b000 08:11 4855274                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/pdf.so
7f9b176a9000-7f9b176aa000 rw-p 0000c000 08:11 4855274                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/pdf.so
7f9b176aa000-7f9b1ebf3000 rw-p 00000000 00:00 0 
7f9b1ebf3000-7f9b1ec5c000 r-xp 00000000 08:11 1344420                    /usr/lib/libjpeg.so.8.1.2
7f9b1ec5c000-7f9b1ee5b000 ---p 00069000 08:11 1344420                    /usr/lib/libjpeg.so.8.1.2
7f9b1ee5b000-7f9b1ee5c000 r--p 00068000 08:11 1344420                    /usr/lib/libjpeg.so.8.1.2
7f9b1ee5c000-7f9b1ee5d000 rw-p 00069000 08:11 1344420                    /usr/lib/libjpeg.so.8.1.2
7f9b1ee5d000-7f9b1ee68000 r-xp 00000000 08:11 4855556                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/jpeg.so
7f9b1ee68000-7f9b1f067000 ---p 0000b000 08:11 4855556                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/jpeg.so
7f9b1f067000-7f9b1f068000 r--p 0000a000 08:11 4855556                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/jpeg.so
7f9b1f068000-7f9b1f069000 rw-p 0000b000 08:11 4855556                    /usr/lib/ImageMagick-6.9.6/modules-Q16HDRI/coders/jpeg.so
7f9b1f069000-7f9b1f24a000 r--p 00000000 08:11 1365995                    /usr/lib/locale/locale-archive
7f9b1f24a000-7f9b1f24e000 r-xp 00000000 08:11 1312482                    /usr/lib/libuuid.so.1.3.0
7f9b1f24e000-7f9b1f44d000 ---p 00004000 08:11 1312482                    /usr/lib/libuuid.so.1.3.0
7f9b1f44d000-7f9b1f44e000 r--p 00003000 08:11 1312482                    /usr/lib/libuuid.so.1.3.0
7f9b1f44e000-7f9b1f44f000 rw-p 00004000 08:11 1312482                    /usr/lib/libuuid.so.1.3.0
7f9b1f44f000-7f9b1f454000 r-xp 00000000 08:11 1324080                    /usr/lib/libXdmcp.so.6.0.0
7f9b1f454000-7f9b1f653000 ---p 00005000 08:11 1324080                    /usr/lib/libXdmcp.so.6.0.0
7f9b1f653000-7f9b1f654000 r--p 00004000 08:11 1324080                    /usr/lib/libXdmcp.so.6.0.0
7f9b1f654000-7f9b1f655000 rw-p 00005000 08:11 1324080                    /usr/lib/libXdmcp.so.6.0.0
7f9b1f655000-7f9b1f657000 r-xp 00000000 08:11 1318888                    /usr/lib/libXau.so.6.0.0
7f9b1f657000-7f9b1f857000 ---p 00002000 08:11 1318888                    /usr/lib/libXau.so.6.0.0
7f9b1f857000-7f9b1f858000 r--p 00002000 08:11 1318888                    /usr/lib/libXau.so.6.0.0
7f9b1f858000-7f9b1f859000 rw-p 00003000 08:11 1318888                    /usr/lib/libXau.so.6.0.0
7f9b1f859000-7f9b1f883000 r-xp 00000000 08:11 1340025                    /usr/lib/libgraphite2.so.3.0.1
7f9b1f883000-7f9b1fa82000 ---p 0002a000 08:11 1340025                    /usr/lib/libgraphite2.so.3.0.1
7f9b1fa82000-7f9b1fa84000 r--p 00029000 08:11 1340025                    /usr/lib/libgraphite2.so.3.0.1
7f9b1fa84000-7f9b1fa85000 rw-p 0002b000 08:11 1340025                    /usr/lib/libgraphite2.so.3.0.1
7f9b1fa85000-7f9b1fa9d000 r-xp 00000000 08:11 1339266                    /usr/lib/libICE.so.6.3.0
7f9b1fa9d000-7f9b1fc9c000 ---p 00018000 08:11 1339266                    /usr/lib/libICE.so.6.3.0
7f9b1fc9c000-7f9b1fc9d000 r--p 00017000 08:11 1339266                    /usr/lib/libICE.so.6.3.0
7f9b1fc9d000-7f9b1fc9e000 rw-p 00018000 08:11 1339266                    /usr/lib/libICE.so.6.3.0
7f9b1fc9e000-7f9b1fca2000 rw-p 00000000 00:00 0 
7f9b1fca2000-7f9b1fca9000 r-xp 00000000 08:11 1319958                    /usr/lib/libSM.so.6.0.1
7f9b1fca9000-7f9b1fea8000 ---p 00007000 08:11 1319958                    /usr/lib/libSM.so.6.0.1
7f9b1fea8000-7f9b1fea9000 r--p 00006000 08:11 1319958                    /usr/lib/libSM.so.6.0.1
7f9b1fea9000-7f9b1feaa000 rw-p 00007000 08:11 1319958                    /usr/lib/libSM.so.6.0.1
7f9b1feaa000-7f9b1feac000 r-xp 00000000 08:11 1365948                    /usr/lib/libdl-2.24.so
7f9b1feac000-7f9b200ac000 ---p 00002000 08:11 1365948                    /usr/lib/libdl-2.24.so
7f9b200ac000-7f9b200ad000 r--p 00002000 08:11 1365948                    /usr/lib/libdl-2.24.so
7f9b200ad000-7f9b200ae000 rw-p 00003000 08:11 1365948                    /usr/lib/libdl-2.24.so
7f9b200ae000-7f9b200d6000 r-xp 00000000 08:11 1318955                    /usr/lib/libxcb.so.1.1.0
7f9b200d6000-7f9b202d5000 ---p 00028000 08:11 1318955                    /usr/lib/libxcb.so.1.1.0
7f9b202d5000-7f9b202d6000 r--p 00027000 08:11 1318955                    /usr/lib/libxcb.so.1.1.0
7f9b202d6000-7f9b202d7000 rw-p 00028000 08:11 1318955                    /usr/lib/libxcb.so.1.1.0
7f9b202d7000-7f9b20338000 r-xp 00000000 08:11 1320269                    /usr/lib/libharfbuzz.so.0.10304.0
7f9b20338000-7f9b20538000 ---p 00061000 08:11 1320269                    /usr/lib/libharfbuzz.so.0.10304.0
7f9b20538000-7f9b20539000 r--p 00061000 08:11 1320269                    /usr/lib/libharfbuzz.so.0.10304.0
7f9b20539000-7f9b2053a000 rw-p 00062000 08:11 1320269                    /usr/lib/libharfbuzz.so.0.10304.0
7f9b2053a000-7f9b2056f000 r-xp 00000000 08:11 1317064                    /usr/lib/libpng16.so.16.27.0
7f9b2056f000-7f9b2076e000 ---p 00035000 08:11 1317064                    /usr/lib/libpng16.so.16.27.0
7f9b2076e000-7f9b2076f000 r--p 00034000 08:11 1317064                    /usr/lib/libpng16.so.16.27.0
7f9b2076f000-7f9b20770000 rw-p 00035000 08:11 1317064                    /usr/lib/libpng16.so.16.27.0
7f9b20770000-7f9b20797000 r-xp 00000000 08:11 1356494                    /usr/lib/libexpat.so.1.6.2
7f9b20797000-7f9b20997000 ---p 00027000 08:11 1356494                    /usr/lib/libexpat.so.1.6.2
7f9b20997000-7f9b20999000 r--p 00027000 08:11 1356494                    /usr/lib/libexpat.so.1.6.2
7f9b20999000-7f9b2099a000 rw-p 00029000 08:11 1356494                    /usr/lib/libexpat.so.1.6.2
7f9b2099a000-7f9b20a0c000 r-xp 00000000 08:11 1313991                    /usr/lib/libpcre.so.1.2.7
7f9b20a0c000-7f9b20c0b000 ---p 00072000 08:11 1313991                    /usr/lib/libpcre.so.1.2.7
7f9b20c0b000-7f9b20c0c000 r--p 00071000 08:11 1313991                    /usr/lib/libpcre.so.1.2.7
7f9b20c0c000-7f9b20c0d000 rw-p 00072000 08:11 1313991                    /usr/lib/libpcre.so.1.2.7
7f9b20c0d000-7f9b20c23000 r-xp 00000000 08:11 1316914                    /usr/lib/libgcc_s.so.1
7f9b20c23000-7f9b20e22000 ---p 00016000 08:11 1316914                    /usr/lib/libgcc_s.so.1
7f9b20e22000-7f9b20e23000 r--p 00015000 08:11 1316914                    /usr/lib/libgcc_s.so.1
7f9b20e23000-7f9b20e24000 rw-p 00016000 08:11 1316914                    /usr/lib/libgcc_s.so.1
7f9b20e24000-7f9b20f27000 r-xp 00000000 08:11 1365959                    /usr/lib/libm-2.24.so
7f9b20f27000-7f9b21126000 ---p 00103000 08:11 1365959                    /usr/lib/libm-2.24.so
7f9b21126000-7f9b21127000 r--p 00102000 08:11 1365959                    /usr/lib/libm-2.24.so
7f9b21127000-7f9b21128000 rw-p 00103000 08:11 1365959                    /usr/lib/libm-2.24.so
7f9b21128000-7f9b21155000 r-xp 00000000 08:11 1333064                    /usr/lib/libgomp.so.1.0.0
7f9b21155000-7f9b21354000 ---p 0002d000 08:11 1333064                    /usr/lib/libgomp.so.1.0.0
7f9b21354000-7f9b21355000 r--p 0002c000 08:11 1333064                    /usr/lib/libgomp.so.1.0.0
7f9b21355000-7f9b21356000 rw-p 0002d000 08:11 1333064                    /usr/lib/libgomp.so.1.0.0
7f9b21356000-7f9b2135f000 r-xp 00000000 08:11 1363928                    /usr/lib/libltdl.so.7.3.1
7f9b2135f000-7f9b2155e000 ---p 00009000 08:11 1363928                    /usr/lib/libltdl.so.7.3.1
7f9b2155e000-7f9b2155f000 r--p 00008000 08:11 1363928                    /usr/lib/libltdl.so.7.3.1
7f9b2155f000-7f9b21560000 rw-p 00009000 08:11 1363928                    /usr/lib/libltdl.so.7.3.1[1]    3725 abort (core dumped)  convert *.jpg a.pdf

Is there someone getting a similar error or have any hint for the solution?

Thanks

Last edited by hellbuster (2017-01-19 00:43:45)

Offline

#2 2016-12-30 21:00:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Imagemagick crashing

What version? Is your systemd up-to-date?


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-01-01 20:52:18

hellbuster
Member
From: Chile
Registered: 2010-05-18
Posts: 28
Website

Re: [SOLVED] Imagemagick crashing

Version 6.9.7.0-2 and my system is up to date.

Offline

#4 2017-01-01 21:42:53

loqs
Member
Registered: 2014-03-06
Posts: 17,502

Re: [SOLVED] Imagemagick crashing

If the system has an Intel CPU have you enabled microcode updates?

Offline

#5 2017-01-03 03:15:59

hellbuster
Member
From: Chile
Registered: 2010-05-18
Posts: 28
Website

Re: [SOLVED] Imagemagick crashing

Yes, I had some crashes related to microcode in other applications time ago, so I double checked that

[    0.000000] microcode: microcode updated early to revision 0x20, date = 2016-03-16
[    0.568282] microcode: sig=0x306c3, pf=0x2, revision=0x20
[    0.568453] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

Offline

#6 2017-01-03 08:37:56

seth
Member
Registered: 2012-09-03
Posts: 51,945

Re: [SOLVED] Imagemagick crashing

It should not crash, but have you tried whether that happens with all sorts of images? Only jpegs? Only *those* jpegs? Only one of them triggers the problem? Because it eg. has a bogus header?

Offline

#7 2017-01-06 02:42:49

hellbuster
Member
From: Chile
Registered: 2010-05-18
Posts: 28
Website

Re: [SOLVED] Imagemagick crashing

It happens with pngs too. I have tried with other jpegs too.

Last edited by hellbuster (2017-01-06 02:43:04)

Offline

#8 2017-01-06 09:33:50

seth
Member
Registered: 2012-09-03
Posts: 51,945

Re: [SOLVED] Imagemagick crashing

https://www.imagemagick.org/discourse-s … hp?t=24603
Use software

MAGICK_OCL_DEVICE=OFF convert ...

Googling for "InitOpenCLEnv" returns a bunch of related crashes, this might be a bug in magick or opencl and could deped on your HW/driver and/or OpenCL cache.

Offline

#9 2017-01-13 23:52:54

hellbuster
Member
From: Chile
Registered: 2010-05-18
Posts: 28
Website

Re: [SOLVED] Imagemagick crashing

Using the environment variable didn't work, but recompiling with the flag --disable-opencl did. Thanks for your help smile

Edit: For the record, I am using an nvidia video card, so I suppose that the the nvidia implementation of opencl is conflicting with imagemagick

Last edited by hellbuster (2017-01-13 23:54:15)

Offline

#10 2017-01-17 02:41:32

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 191

Re: [SOLVED] Imagemagick crashing

Well, I had the same Problem, any IM binary crashed whenever it tried using OpenCL.

The people in that thread seth linked to kept talking about this "ImagemagickOpenCLDeviceProfile" file,
so I decided to take a look at it.
I found it in .cache:

~/.cache/ImageMagick/ImagemagickOpenCLDeviceProfile

That file had some lines about the nvidia driver inside.
But my system is a laptop with optimus and I only installed opencl-mesa,
so I thought, if any, there should probably be information about the Intel card.

So I deleted that file.
And that solved the problem for me.

Maybe it's the same for you?

Last edited by oi_wtf (2017-01-17 02:48:23)


Laptop:   Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB

Offline

#11 2017-01-19 00:43:20

hellbuster
Member
From: Chile
Registered: 2010-05-18
Posts: 28
Website

Re: [SOLVED] Imagemagick crashing

That worked. Thanks!

Offline

Board footer

Powered by FluxBB