ImageMagick 6.8.7-3 (core dumped)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
corbanb
Posts: 17
Joined: 2013-09-29T19:29:36-07:00
Authentication code: 6789

ImageMagick 6.8.7-3 (core dumped)

Post by corbanb »

Hi everyone,

I am working to build ImageMagick from source on Ubuntu 12.04.3 LTS. Everything seems to work correctly but when I try to run convert I am getting a Illegal instruction (core dumped) error. Below is how I am going about building from source.

Configure

Code: Select all

./configure --with-lqr --with-lcms

Code: Select all

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: x86_64-unknown-linux-gnu
Build system type: x86_64-unknown-linux-gnu

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=yes		yes
Static libraries  --enable-static=yes		yes
Module support    --with-modules=no		no
GNU ld            --with-gnu-ld=yes		yes
Quantum depth     --with-quantum-depth=16	16
High Dynamic Range Imagery
                  --enable-hdri=no		no

Delegate Configuration:
BZLIB             --with-bzlib=yes		yes
Autotrace         --with-autotrace=no		no
Dejavu fonts      --with-dejavu-font-dir=default	none
DJVU              --with-djvu=yes		yes
DPS               --with-dps=yes		no
FFTW              --with-fftw=yes		no
FlashPIX          --with-fpx=yes		no
FontConfig        --with-fontconfig=yes		yes
FreeType          --with-freetype=yes		yes
GhostPCL          None				pcl6 (unknown)
GhostXPS          None				gxps (unknown)
Ghostscript       None				gs (9.05)
Ghostscript fonts --with-gs-font-dir=default	/usr/share/fonts/type1/gsfonts/
Ghostscript lib   --with-gslib=no		no
Graphviz          --with-gvc=no
JBIG              --with-jbig=yes		no
JPEG v1           --with-jpeg=yes		yes
JPEG-2000         --with-jp2=yes		yes
LCMS v1           --with-lcms=yes		yes
LCMS v2           --with-lcms2=yes		no
LQR               --with-lqr=yes		yes
LTDL              --with-ltdl=yes		no
LZMA              --with-lzma=yes		no
Magick++          --with-magick-plus-plus=yes	yes
MUPDF             --with-mupdf=no		no
OpenEXR           --with-openexr=yes		yes
PANGO             --with-pango=yes		yes
PERL              --with-perl=no		no
PNG               --with-png=yes		yes
RSVG              --with-rsvg=no		no
TIFF              --with-tiff=yes		yes
WEBP              --with-webp=yes		no
Windows fonts     --with-windows-font-dir=	none
WMF               --with-wmf=no		no
X11               --with-x=			yes
XML               --with-xml=yes		yes
ZLIB              --with-zlib=yes		yes

X11 Configuration:
      X_CFLAGS        =
      X_PRE_LIBS      = -lSM -lICE
      X_LIBS          =
      X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.8.7
  CC              = gcc -std=gnu99 -std=gnu99
  CFLAGS          = -pthread -I/usr/include/OpenEXR -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lqr-1 -I/usr/include/freetype2 -fopenmp -g -O2 -Wall -march=corei7-avx -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  CPPFLAGS        = -I/usr/local/include/ImageMagick-6
  PCFLAGS         = -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         =
  MAGICK_LDFLAGS  = -L/usr/local/lib
  LIBS            = -llcms -ltiff -lfreetype -ljasper -ljpeg -llqr-1 -lglib-2.0 -lpng12 -ldjvulibre -lfontconfig -lXext -lXt -lSM -lICE -lX11 -lbz2 -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lxml2 -lz -lm -lgomp
  CXX             = g++
  CXXFLAGS        = -g -O2 -pthread
  FEATURES        = DPC OpenMP
  DELEGATES       = bzlib djvu mpeg fontconfig freetype jng jp2 jpeg lcms lqr openexr pango png ps tiff x xml zlib
make will complete without errors. so does make install. any thoughts?

corbanb
Posts: 17
Joined: 2013-09-29T19:29:36-07:00
Authentication code: 6789

Re: ImageMagick 6.8.7-3 (core dumped)

Post by corbanb »

Wanted to post an update. I was also able to try and run make check and they gave me some results with many tests failing. Here is the output from cat ./test-suite.log.

Code: Select all

=========================================
   ImageMagick 6.8.7: ./test-suite.log
=========================================

# TOTAL: 59
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  57
# XPASS: 0
# ERROR: 2

.. contents:: :depth: 2

FAIL: tests/cli-pipe
====================

./tests/cli-pipe.tap: line 23:  9546 Illegal instruction     (core dumped) ${CONVERT} pnm:- 'null:' < ${SRCDIR}/rose.pnm
./tests/cli-pipe.tap: line 24:  9566 Illegal instruction     (core dumped) ${CONVERT} pnm:- miff:- < ${SRCDIR}/rose.pnm
      9567                       (core dumped) | ${IDENTIFY} -
./tests/cli-pipe.tap: line 25:  9601 Illegal instruction     (core dumped) ${CONVERT} pnm:- - < ${SRCDIR}/rose.pnm
      9602                       (core dumped) | ${IDENTIFY} -
./tests/cli-pipe.tap: line 26:  9631 Illegal instruction     (core dumped) ${CONVERT} - 'null:' < ${SRCDIR}/rose.pnm
./tests/cli-pipe.tap: line 27:  9646 Illegal instruction     (core dumped) ${CONVERT} - miff:- < ${SRCDIR}/rose.pnm
      9647                       (core dumped) | ${IDENTIFY} -
./tests/cli-pipe.tap: line 28:  9676 Illegal instruction     (core dumped) ${CONVERT} - - < ${SRCDIR}/rose.pnm
      9677                       (core dumped) | ${IDENTIFY} -
./tests/cli-pipe.tap: line 29:  9706 Illegal instruction     (core dumped) ${CONVERT} ${SRCDIR}/rose.pnm -
      9707                       (core dumped) | ${IDENTIFY} -
./tests/cli-pipe.tap: line 30:  9736 Illegal instruction     (core dumped) ${CONVERT} ${SRCDIR}/rose.pnm miff:-
      9737                       (core dumped) | ${IDENTIFY} -
1..8
not ok
FAIL: tests/cli-pipe.tap 1
not ok
FAIL: tests/cli-pipe.tap 2
not ok
FAIL: tests/cli-pipe.tap 3
not ok
FAIL: tests/cli-pipe.tap 4
not ok
FAIL: tests/cli-pipe.tap 5
not ok
FAIL: tests/cli-pipe.tap 6
not ok
FAIL: tests/cli-pipe.tap 7
not ok
FAIL: tests/cli-pipe.tap 8

ERROR: tests/cli-colorspace
===========================

1..19
Average "rose:" Color                       sRGB(rose)
Too Dark Color                              sRGB(rose)->RGB result
Too Light Color                             RGB(rose)->sRGB result

Sanity Failure: Average expected to be 145,89,80 - ABORTING
Sanity Failure: Too Dark expected to be 73,26,21 - ABORTING
Sanity Failure: Too Light expected to be 199,160,152 - ABORTING
ERROR: tests/cli-colorspace.tap - too few tests run (expected 19, got 0)
ERROR: tests/cli-colorspace.tap - exited with status 1

FAIL: tests/validate-colorspace
===============================

./tests/validate-colorspace.tap: line 23:  9864 Illegal instruction     (core dumped) ${VALIDATE} -validate colorspace
1..1
not ok
FAIL: tests/validate-colorspace.tap 1

FAIL: tests/validate-compare
============================

./tests/validate-compare.tap: line 23:  9901 Illegal instruction     (core dumped) ${VALIDATE} -validate compare
1..1
not ok
FAIL: tests/validate-compare.tap 1

FAIL: tests/validate-composite
==============================

./tests/validate-composite.tap: line 23:  9933 Illegal instruction     (core dumped) ${VALIDATE} -validate composite
1..1
not ok
FAIL: tests/validate-composite.tap 1

FAIL: tests/validate-convert
============================

./tests/validate-convert.tap: line 23:  9965 Illegal instruction     (core dumped) ${VALIDATE} -validate convert
1..1
not ok
FAIL: tests/validate-convert.tap 1

FAIL: tests/validate-formats-disk
=================================

./tests/validate-formats-disk.tap: line 23:  9997 Illegal instruction     (core dumped) ${VALIDATE} -validate formats-disk
1..1
not ok
FAIL: tests/validate-formats-disk.tap 1

FAIL: tests/validate-formats-map
================================

./tests/validate-formats-map.tap: line 23: 10029 Illegal instruction     (core dumped) ${VALIDATE} -validate formats-map
1..1
not ok
FAIL: tests/validate-formats-map.tap 1

FAIL: tests/validate-formats-memory
===================================

./tests/validate-formats-memory.tap: line 23: 10061 Illegal instruction     (core dumped) ${VALIDATE} -validate formats-memory
1..1
not ok
FAIL: tests/validate-formats-memory.tap 1

FAIL: tests/validate-identify
=============================

./tests/validate-identify.tap: line 23: 10093 Illegal instruction     (core dumped) ${VALIDATE} -validate identify
1..1
not ok
FAIL: tests/validate-identify.tap 1

FAIL: tests/validate-import
===========================

./tests/validate-import.tap: line 23: 10125 Illegal instruction     (core dumped) ${VALIDATE} -validate import-export
1..1
not ok
FAIL: tests/validate-import.tap 1

FAIL: tests/validate-montage
============================

./tests/validate-montage.tap: line 23: 10157 Illegal instruction     (core dumped) ${VALIDATE} -validate montage
1..1
not ok
FAIL: tests/validate-montage.tap 1

FAIL: tests/validate-stream
===========================

./tests/validate-stream.tap: line 23: 10189 Illegal instruction     (core dumped) ${VALIDATE} -validate stream
1..1
not ok
FAIL: tests/validate-stream.tap 1

FAIL: tests/drawtest
====================

./tests/drawtest.tap: line 12: 10221 Illegal instruction     (core dumped) ${DRAWTEST} drawtest_out.miff
1..1
not ok
FAIL: tests/drawtest.tap 1

FAIL: tests/wandtest
====================

./tests/wandtest.tap: line 14: 10258 Illegal instruction     (core dumped) ${WANDTEST} wandtest_out.miff
1..1
not ok
FAIL: tests/wandtest.tap 1

FAIL: Magick++/tests/tests
==========================

./Magick++/tests/tests.tap: line 18: 10291 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10311 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10331 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10351 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10371 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10391 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10411 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10431 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10451 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10471 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10491 Illegal instruction     (core dumped) ./${mytest}
./Magick++/tests/tests.tap: line 18: 10511 Illegal instruction     (core dumped) ./${mytest}
1..12
not ok
FAIL: Magick++/tests/tests.tap 1
not ok
FAIL: Magick++/tests/tests.tap 2
not ok
FAIL: Magick++/tests/tests.tap 3
not ok
FAIL: Magick++/tests/tests.tap 4
not ok
FAIL: Magick++/tests/tests.tap 5
not ok
FAIL: Magick++/tests/tests.tap 6
not ok
FAIL: Magick++/tests/tests.tap 7
not ok
FAIL: Magick++/tests/tests.tap 8
not ok
FAIL: Magick++/tests/tests.tap 9
not ok
FAIL: Magick++/tests/tests.tap 10
not ok
FAIL: Magick++/tests/tests.tap 11
not ok
FAIL: Magick++/tests/tests.tap 12

FAIL: Magick++/demo/demos
=========================

./Magick++/demo/demos.tap: line 18: 10544 Illegal instruction     (core dumped) ./analyze "$SRCDIR/model.miff"
./Magick++/demo/demos.tap: line 20: 10564 Illegal instruction     (core dumped) ./${demo}
./Magick++/demo/demos.tap: line 20: 10584 Illegal instruction     (core dumped) ./${demo}
./Magick++/demo/demos.tap: line 20: 10604 Illegal instruction     (core dumped) ./${demo}
./Magick++/demo/demos.tap: line 20: 10624 Illegal instruction     (core dumped) ./${demo}
./Magick++/demo/demos.tap: line 20: 10644 Illegal instruction     (core dumped) ./${demo}
./Magick++/demo/demos.tap: line 20: 10664 Illegal instruction     (core dumped) ./${demo}
./Magick++/demo/demos.tap: line 25: 10684 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10704 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10719 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10734 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10749 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10764 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10779 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10794 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10809 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10824 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10839 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10854 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10869 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10884 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10899 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10914 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
./Magick++/demo/demos.tap: line 25: 10929 Illegal instruction     (core dumped) ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff
1..24
not ok
FAIL: Magick++/demo/demos.tap 1
not ok
FAIL: Magick++/demo/demos.tap 2
not ok
FAIL: Magick++/demo/demos.tap 3
not ok
FAIL: Magick++/demo/demos.tap 4
not ok
FAIL: Magick++/demo/demos.tap 5
not ok
FAIL: Magick++/demo/demos.tap 6
not ok
FAIL: Magick++/demo/demos.tap 7
not ok
FAIL: Magick++/demo/demos.tap 8
not ok
FAIL: Magick++/demo/demos.tap 9
not ok
FAIL: Magick++/demo/demos.tap 10
not ok
FAIL: Magick++/demo/demos.tap 11
not ok
FAIL: Magick++/demo/demos.tap 12
not ok
FAIL: Magick++/demo/demos.tap 13
not ok
FAIL: Magick++/demo/demos.tap 14
not ok
FAIL: Magick++/demo/demos.tap 15
not ok
FAIL: Magick++/demo/demos.tap 16
not ok
FAIL: Magick++/demo/demos.tap 17
not ok
FAIL: Magick++/demo/demos.tap 18
not ok
FAIL: Magick++/demo/demos.tap 19
not ok
FAIL: Magick++/demo/demos.tap 20
not ok
FAIL: Magick++/demo/demos.tap 21
not ok
FAIL: Magick++/demo/demos.tap 22
not ok
FAIL: Magick++/demo/demos.tap 23
not ok
FAIL: Magick++/demo/demos.tap 24

jah
Posts: 9
Joined: 2013-11-01T08:22:59-07:00
Authentication code: 6789

Re: ImageMagick 6.8.7-3 (core dumped)

Post by jah »

I wanted to chime and report that I am also experiencing this bug on Ubuntu 12.04.2 (3.2.0-48-virtual).

EDIT:: Also experiencing this with 6.8.7-4

I'm getting an opcode error in my syslog:

Code: Select all

Nov  1 11:26:18 eur3 kernel: [12705011.501773] /usr/local/path/[10258] trap invalid opcode ip:7f28a9f4e1de sp:7fff00370b80 error:0 in libMagickCore-6.Q16.so.1.0.0[7f28a9d89000+37f000]

jah
Posts: 9
Joined: 2013-11-01T08:22:59-07:00
Authentication code: 6789

Re: ImageMagick 6.8.7-3 (core dumped)

Post by jah »

I tried copying the libMagickCore-6.Q16.so.1.0.0 library from a machine that I have that's currently working to a machine that is currently exhibiting the bug behavior, and it cured the issue. This indicates that the issue somehow triggers when that library gets built. Not sure if this is helpful data but I figured I'd post it here.

jah
Posts: 9
Joined: 2013-11-01T08:22:59-07:00
Authentication code: 6789

Re: ImageMagick 6.8.7-3 (core dumped)

Post by jah »

Another data point: I just compiled and installed ImageMagick-6.8.6-10 and it went smoothly, and is working as expected.

User avatar
dlemstra
Posts: 1625
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageMagick 6.8.7-3 (core dumped)

Post by dlemstra »

I just compiled ImageMagick with the latest version from the svn repository (https://subversion.imagemagick.org/subv ... geMagick-6) on Ubuntu 13.10 and I could run convert without any problems. Can you also try this?
Last edited by dlemstra on 2013-11-02T06:25:45-07:00, edited 1 time in total.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: ImageMagick 6.8.7-3 (core dumped)

Post by glennrp »

I was able to build and test ImageMagick-6.8,7-2, -3, and -4 on Ubuntu 12-04 without problems.
My configure command happens to include the following, which may be relevant:

Code: Select all

 --without-pango   --disable-shared   --disable-openmp

User avatar
dlemstra
Posts: 1625
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageMagick 6.8.7-3 (core dumped)

Post by dlemstra »

Do you have lcms2 or lcms?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: ImageMagick 6.8.7-3 (core dumped)

Post by glennrp »

dlemstra wrote:Do you have lcms2 or lcms?
In my case, which builds successfully, "configure" doesn't find either of them.
Edit: I have just installed liblcms2-dev and successfully rebuilt ImageMagick-6.8.7-4;
the tests still pass.
Last edited by glennrp on 2013-11-02T06:47:21-07:00, edited 1 time in total.

jah
Posts: 9
Joined: 2013-11-01T08:22:59-07:00
Authentication code: 6789

Re: ImageMagick 6.8.7-3 (core dumped)

Post by jah »

OK--I just compiled and installed from the svn repo and am having the same issue. However, I am still working and testing on Ubuntu 12.04 as that is what I run in production.

jah
Posts: 9
Joined: 2013-11-01T08:22:59-07:00
Authentication code: 6789

Re: ImageMagick 6.8.7-3 (core dumped)

Post by jah »

dlemstra wrote:Do you have lcms2 or lcms?
On both systems (those that work, and those that don't) I have LCMS.

My configure flags are:

Code: Select all

--enable-shared --without-threads

User avatar
dlemstra
Posts: 1625
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageMagick 6.8.7-3 (core dumped)

Post by dlemstra »

I compiled with your options: ./configure --with-lqr --with-lcms. This is my output:

Code: Select all

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: x86_64-unknown-linux-gnu
Build system type: x86_64-unknown-linux-gnu

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=yes           yes
Static libraries  --enable-static=yes           yes
Module support    --with-modules=no             no
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16
High Dynamic Range Imagery
                  --enable-hdri=no              no

Delegate Configuration:
BZLIB             --with-bzlib=yes              yes
Autotrace         --with-autotrace=no           no
Dejavu fonts      --with-dejavu-font-dir=default        none
DJVU              --with-djvu=yes               yes
DPS               --with-dps=yes                no
FFTW              --with-fftw=yes               no
FlashPIX          --with-fpx=yes                no
FontConfig        --with-fontconfig=yes         yes
FreeType          --with-freetype=yes           yes
GhostPCL          None                          pcl6 (unknown)
GhostXPS          None                          gxps (unknown)
Ghostscript       None                          gs (9.10)
Ghostscript fonts --with-gs-font-dir=default    /usr/share/fonts/type1/gsfonts/
Ghostscript lib   --with-gslib=no               no
Graphviz          --with-gvc=no
JBIG              --with-jbig=yes               yes
JPEG v1           --with-jpeg=yes               yes
JPEG-2000         --with-jp2=yes                no
LCMS v1           --with-lcms=yes               yes
LCMS v2           --with-lcms2=yes              no
LQR               --with-lqr=yes                yes
LTDL              --with-ltdl=yes               no
LZMA              --with-lzma=yes               yes
Magick++          --with-magick-plus-plus=yes   yes
MUPDF             --with-mupdf=no               no
OpenEXR           --with-openexr=yes            yes
PANGO             --with-pango=yes              yes
PERL              --with-perl=no                no
PNG               --with-png=yes                yes
RSVG              --with-rsvg=no                no
TIFF              --with-tiff=yes               yes
WEBP              --with-webp=yes               no
Windows fonts     --with-windows-font-dir=      none
WMF               --with-wmf=no         no
X11               --with-x=                     yes
XML               --with-xml=yes                yes
ZLIB              --with-zlib=yes               yes

X11 Configuration:
      X_CFLAGS        =
      X_PRE_LIBS      = -lSM -lICE
      X_LIBS          =
      X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.8.7
  CC              = gcc -std=gnu99 -std=gnu99
  CFLAGS          = -pthread -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -fopenmp -g -O2 -Wall -march=amdfam10 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  CPPFLAGS        = -I/usr/local/include/ImageMagick-6
  PCFLAGS         = -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         =
  MAGICK_LDFLAGS  = -L/usr/local/lib
  LIBS            = -ljbig -llcms -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lpng12 -ldjvulibre -lfontconfig -lXext -lSM -lICE -lX11 -llzma -lbz2 -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lxml2 -lz -lm -lgomp
  CXX             = g++
  CXXFLAGS        = -g -O2 -pthread
  FEATURES        = DPC OpenMP
  DELEGATES       = bzlib djvu mpeg fontconfig freetype jbig jng jpeg lcms lqr lzma openexr pango png ps tiff x xml zlib
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: ImageMagick 6.8.7-3 (core dumped)

Post by glennrp »

I removed liblcms2-dev and installed liblcms1-dev and rebuilt IM-6.8.7-4; configure
successfully found LCMS-V1, and I don't get a crash. So what's left between mine
and the ones that fail seems to be that I have --disable-shared in my configure command.

User avatar
dlemstra
Posts: 1625
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: ImageMagick 6.8.7-3 (core dumped)

Post by dlemstra »

I also tried with the --enable-shared and --without-threads option but I can still run convert without any problems.

Edit: It looks like the reason has been found: https://bugs.archlinux.org/task/37596
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

jah
Posts: 9
Joined: 2013-11-01T08:22:59-07:00
Authentication code: 6789

Re: ImageMagick 6.8.7-3 (core dumped)

Post by jah »

In that thread they allude to the problem being fixed in 6.8.7.4-2. I'm having trouble finding this release in the /download directory -- any thoughts as to where it may be? Additionally, I tried the configure flag recommended in that thread:

Code: Select all

--with-gcc-arch
but it did not alleviate the issue with 6.8.7-4

UPDATE: the fix alluded to in the Arch forum is Arch specific: https://www.archlinux.org/packages/extr ... um=twitter

Locked