Victor Batista
2010-07-11 22:20:35 UTC
Hi,
I am having serious production problems with ImageMagick+JMagick on Linux.
My Java application is crashing with hs_err_pid several times (it's
undeterministic when the error occurs).
My configuration:
- Linux: Red Hat Enterprise Linux Server release *5.3* (Tikanga)
- ImageMagick: *ImageMagick-6.4.3* installed from sources with the
following options:* ./configure --without-perl --disable-openmp
--prefix=/usr*
- JMagick: *JMagick 6.4.2 *installed from sources
The problem is ocorring while adapting GIF images.
Please find below the typical hs_err_pid file:
-----------------------------------------------------------------------------------------------------------------------------------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x03848f53, pid=23895, tid=100662160
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Server VM (17.0-b16 mixed mode linux-x86 )
# Problematic frame:
*# C [gif.so+0x1f53]*
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x09f12000): JavaThread "http-0.0.0.0-8080-20" daemon
[_thread_in_native, id=13025, stack(0x05f7f000,0x06000000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x00000000
Registers:
EAX=0x00000000, EBX=0x0384d6bc, ECX=0x062e9140, EDX=0x00000000
ESP=0x05ffa1d0, EBP=0x05ffb2d8, ESI=0x00000000, EDI=0x04b08090
EIP=0x03848f53, CR2=0x00000000, EFLAGS=0x00210246
Top of Stack: (sp=0x05ffa1d0)
0x05ffa1d0: 04b08090 00000000 00000000 000000e4
0x05ffa1e0: 00000001 04b0b258 05ffa248 00b2ef74
0x05ffa1f0: 05ffa2f0 00000001 00bbe4d8 00bc56a0
0x05ffa200: 04565200 0384c23e 0384c259 04b0b258
0x05ffa210: 00000100 00bc56a0 0384c1d4 0384c23e
0x05ffa220: 05393efc 00000000 05393e28 00000001
0x05ffa230: 00000000 00000000 00000010 051114b8
0x05ffa240: 053458f8 00000008 05ffe368 00ab6f28
Instructions: (pc=0x03848f53)
0x03848f43: 01 ee ff ff 8b b5 ac ef ff ff 85 f6 89 c2 75 0a
0x03848f53: 0f b7 08 66 89 8d 9a ef ff ff 8b 75 0c 31 c0 83
Stack: [0x05f7f000,0x06000000], sp=0x05ffa1d0, free space=1ec05ff9b50k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
*C [gif.so+0x1f53]
C [libMagickCore.so.1+0x4673b] WriteImage+0x2eb
C [libMagickCore.so.1+0x1c2bc] ImageToBlob+0x26c
C [libJMagick-6.4.2.so+0x1110e] Java_magick_MagickImage_imageToBlob+0xf4
j magick.MagickImage.imageToBlob(Lmagick/ImageInfo;)[B+0
*........
-----------------------------------------------------------------------------------------------------------------------------------
Is any one experiencing this problem? Any hint to solve this issue? Any
help would really be appreciated, because this problem is having huge impact
on our production system.
Thanks in advance for any help.
Best regards,
Victor Batista
PS: Below you can find ImageMagick's configure output:
configuring ImageMagick 6.4.3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached)
-std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ranlib... ranlib
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking maximum warning verbosity option... for C++ -Wall -W for C
checking whether ln -s works... yes
checking if malloc debugging is wanted... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99
object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path...
LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
/usr/lib/qt-3.3/lib
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/ltdl
checking where to find libltdl library... ${top_build_prefix}ltdl/
libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether gcc -std=gnu99 needs -traditional... no
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking arm/limits.h usability... no
checking arm/limits.h presence... no
checking for arm/limits.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking for mach-o/dyld.h... (cached) no
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for working volatile... yes
checking for preprocessor stringizing operator... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether byte ordering is bigendian... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for long double... yes
checking for long double with more range or precision than double... yes
checking whether char is unsigned... no
checking size of signed short... 2
checking size of unsigned short... 2
checking size of signed int... 4
checking size of unsigned int... 4
checking size of signed long... 4
checking size of unsigned long... 4
checking size of signed long long... 8
checking size of unsigned long long... 8
checking size of off_t... 8
checking size of size_t... 4
checking size of unsigned int*... 4
checking for signed 8-bit type... signed char
checking for unsigned 8-bit type... unsigned char
checking for signed 16-bit type... signed short
checking for unsigned 16-bit type... unsigned short
checking for signed 32-bit type... signed int
checking for unsigned 32-bit type... unsigned int
checking for signed 64-bit type... signed long long
checking for unsigned 64-bit type... unsigned long long
checking for unsigned maximum type... unsigned long long
checking for pointer difference type... unsigned long
checking whether our compiler supports __func__... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap file i/o... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for _exit... yes
checking for atexit... yes
checking for clock... yes
checking for clock_gettime... no
checking for execvp... yes
checking for floor... no
checking for fork... (cached) yes
checking for ftime... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for getpid... yes
checking for getexecname... no
checking for getdtablesize... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for lstat... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for munmap... yes
checking for _NSGetExecutablePath... no
checking for pclose... yes
checking for _pclose... no
checking for poll... yes
checking for popen... yes
checking for _popen... no
checking for posix_fallocate... yes
checking for pow... no
checking for pread... yes
checking for pwrite... yes
checking for raise... yes
checking for rand_r... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for seekdir... yes
checking for setlocale... yes
checking for sqrt... no
checking for setvbuf... yes
checking for stat... yes
checking for strchr... yes
checking for strrchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strpbrk... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for symlink... yes
checking for sysconf... yes
checking for sigemptyset... yes
checking for sigaction... yes
checking for strerror... yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for telldir... yes
checking for tempnam... yes
checking for times... yes
checking for usleep... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for _wfopen... no
checking whether pread is declared... yes
checking whether pwrite is declared... yes
checking whether strlcpy is declared... no
checking whether vsnprintf is declared... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking whether the compiler recognizes bool as a built-in type... no
checking whether the compiler implements namespaces... no
checking whether the compiler supports the std namespace... no
checking whether the compiler supports ISO C++ standard library... no
checking whether the compiler implements L"widestring"... no
checking whether C++ compiler is sufficient for Magick++... no (failed
tests)
checking for X11 configure files...
checking for the pthreads library -lpthread... yes
checking for sqrt in -lm... yes
-------------------------------------------------------------
checking for BZLIB...
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzDecompress in -lbz2... no
checking if BZLIB package is complete... no
checking for X... no
-------------------------------------------------------------
checking for ZLIB...
checking zconf.h usability... yes
checking zconf.h presence... yes
checking for zconf.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking for uncompress in -lz... yes
checking for deflate in -lz... yes
checking for inflate in -lz... yes
checking for gzseek in -lz... yes
checking for gztell in -lz... yes
checking if ZLIB package is complete... yes
-------------------------------------------------------------
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for AUTOTRACE... no
-------------------------------------------------------------
checking for DPS...
checking DPS/dpsXclient.h usability... no
checking DPS/dpsXclient.h presence... no
checking for DPS/dpsXclient.h... no
checking for DPSInitialize in -ldps... no
checking for DPSInitialize in -ldps... no
checking for XDPSPixelsPerPoint in -ldpstk... no
checking if DPS package is complete... no
-------------------------------------------------------------
checking for DJVU...
checking libdjvu/ddjvuapi.h usability... no
checking libdjvu/ddjvuapi.h presence... no
checking for libdjvu/ddjvuapi.h... no
checking for ddjvu_context_create in -ldjvulibre... no
checking if DJVU package is complete... no
-------------------------------------------------------------
checking for FlashPIX...
checking fpxlib.h usability... no
checking fpxlib.h presence... no
checking for fpxlib.h... no
checking for FPX_OpenImageByFilename in -lfpx... no
checking if FlashPIX package is complete... no
-------------------------------------------------------------
checking for FreeType 2.0...
checking for freetype-config... no
checking for FT_Init_FreeType in -lfreetype... no
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
checking for freetype/freetype.h... no
checking if FreeType package is complete... no
-------------------------------------------------------------
checking for Ghostscript...
checking ghostscript/iapi.h usability... no
checking ghostscript/iapi.h presence... no
checking for ghostscript/iapi.h... no
checking ghostscript/ierrors.h usability... no
checking ghostscript/ierrors.h presence... no
checking for ghostscript/ierrors.h... no
checking for gsapi_new_instance in Ghostscript framework... no
checking for gsapi_new_instance in -lgs... yes
checking if Ghostscript package is complete... no -- some components failed
test
-------------------------------------------------------------
checking for GVC... no
-------------------------------------------------------------
checking for JBIG...
checking jbig.h usability... no
checking jbig.h presence... no
checking for jbig.h... no
checking for jbg_dec_init in -ljbig... no
checking if JBIG package is complete... no
-------------------------------------------------------------
checking for JPEG...
checking jconfig.h usability... yes
checking jconfig.h presence... yes
checking for jconfig.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking jmorecfg.h usability... yes
checking jmorecfg.h presence... yes
checking for jmorecfg.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for JPEG library is version 6b or later... yes
checking if JPEG package is complete... yes
-------------------------------------------------------------
checking for JPEG Version 2...
checking jasper/jasper.h usability... no
checking jasper/jasper.h presence... no
checking for jasper/jasper.h... no
checking for jas_stream_fopen in -ljasper... no
checking if JPEG version 2 support package is complete... no
-------------------------------------------------------------
checking for LCMS...
checking lcms.h usability... no
checking lcms.h presence... no
checking for lcms.h... no
checking lcms/lcms.h usability... no
checking lcms/lcms.h presence... no
checking for lcms/lcms.h... no
checking for cmsOpenProfileFromMem in -llcms... no
checking if LCMS package is complete... no
-------------------------------------------------------------
checking for LQR... no
-------------------------------------------------------------
checking for OPENEXR... no
-------------------------------------------------------------
checking for PNG...
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_io_ptr in -lpng... yes
checking if PNG package is complete... yes
-------------------------------------------------------------
checking for TIFF...
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFOpen in -ltiff... yes
checking for TIFFClientOpen in -ltiff... yes
checking for TIFFIsByteSwapped in -ltiff... yes
checking for TIFFReadRGBATile in -ltiff... yes
checking for TIFFReadRGBAStrip in -ltiff... yes
checking if TIFF package is complete... yes
checking tiffconf.h usability... yes
checking tiffconf.h presence... yes
checking for tiffconf.h... yes
checking for TIFFIsCODECConfigured... yes
checking for TIFFMergeFieldInfo... yes
checking for TIFFReadEXIFDirectory... yes
checking for TIFFSetErrorHandlerExt... yes
checking for TIFFSetTagExtender... yes
checking for TIFFSetWarningHandlerExt... yes
checking for TIFFSwabArrayOfTriples... yes
-------------------------------------------------------------
checking for WMF...
checking for libwmf/ipa.h... no
checking if WMF package is complete... no
-------------------------------------------------------------
checking for ImageMagick delegate programs...
checking for autotrace... autotrace
checking for mplayer... mplayer
checking for bzip2... /usr/bin/bzip2
checking for xdg-open... xdg-open
checking for ralcgm... ralcgm
checking for cat... /bin/cat
checking for ufraw-batch... ufraw-batch
checking for dot... dot
checking for dvips... dvips
checking for echo... /bin/echo
checking for xterm... /usr/bin/xterm
checking for fig2dev... fig2dev
checking for convert... /usr/bin/convert
checking for display... /usr/bin/display
checking for mogrify... /usr/bin/mogrify
checking for gnuplot... gnuplot
checking for ra_pfm... ra_pfm
checking for hp2xx... hp2xx
checking for html2ps... html2ps
checking for ilbmtoppm... /usr/bin/ilbmtoppm
checking for ppmtoilbm... /usr/bin/ppmtoilbm
checking for lp... /usr/bin/lp
checking for lpr... /usr/bin/lpr
checking for uncompress... uncompress
checking for compress... compress
checking for gimp... gimp
checking for groff... /usr/bin/groff
checking for ffmpeg... ffmpeg
checking for ffmpeg... ffmpeg
checking for mv... /bin/mv
checking for pcl6... pcl6
checking for pgpv... pgpv
checking for povray... povray
checking for gsx... no
checking for gsc... no
checking for gs... /usr/bin/gs
checking for rawtorle... rawtorle
checking for rm... /bin/rm
checking for scanimage... /usr/bin/scanimage
checking for enscript... /usr/bin/enscript
checking for wmf2eps... /usr/bin/wmf2eps
checking for curl... /usr/bin/curl
checking for gxps... gxps
checking for gzip... /bin/gzip
checking for rst2html.py... rst2html.py
checking for Ghostscript fonts directory... /usr/share/fonts/default/Type1/
checking for gnutar... no
checking for gtar... gtar
checking for perl... perl
checking for rpmbuild... no
checking for rpm... rpm
checking for 7za... no
checking for zip... zip
-------------------------------------------------------------
checking for Ghostscript...
checking for Ghostscript version... 8.15.2
checking for gs alpha device... pngalpha
checking for gs color device... pnmraw
checking for gs CMYK device... pam
checking for gs mono device... pnmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... pswrite
checking for gs EPS writing device... epswrite
-------------------------------------------------------------
Update ImageMagick configuration
configure: creating ./config.status
config.status: creating config/configure.xml
config.status: creating config/delegates.xml
config.status: creating config/ImageMagick.rdf
config.status: creating config/MagickCore.dox
config.status: creating config/MagickWand.dox
config.status: creating config/type-ghostscript.xml
config.status: creating config/type-solaris.xml
config.status: creating config/type-windows.xml
config.status: creating config/type.xml
config.status: creating ImageMagick.spec
config.status: creating Magick++/bin/Magick++-config
config.status: creating magick/ImageMagick.pc
config.status: creating Magick++/lib/ImageMagick++.pc
config.status: creating Magick++/lib/Magick++.pc
config.status: creating magick/Magick-config
config.status: creating magick/MagickCore-config
config.status: creating magick/MagickCore.pc
config.status: creating magick.sh
config.status: creating magick/version.h
config.status: creating Makefile
config.status: creating PerlMagick/Magick.pm
config.status: creating PerlMagick/Makefile.PL
config.status: creating utilities/animate.1
config.status: creating utilities/compare.1
config.status: creating utilities/composite.1
config.status: creating utilities/conjure.1
config.status: creating utilities/convert.1
config.status: creating utilities/display.1
config.status: creating utilities/identify.1
config.status: creating utilities/ImageMagick.1
config.status: creating utilities/import.1
config.status: creating utilities/mogrify.1
config.status: creating utilities/montage.1
config.status: creating utilities/stream.1
config.status: creating wand/MagickWand-config
config.status: creating wand/MagickWand.pc
config.status: creating wand/Wand-config
config.status: creating wand/Wand.pc
config.status: creating config/config.h
config.status: executing magick/magick-config.h commands
config.status: creating magick/magick-config.h - prefix MAGICKCORE for
config/config.h defines
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing MagickCore-config.in commands
config.status: executing Magick-config.in commands
config.status: executing MagickWand-config.in commands
config.status: executing Wand-config.in commands
config.status: executing Magick++-config.in commands
config.status: executing magick.sh.in commands
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type: i686-pc-linux-gnu
Build system type: i686-pc-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
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 no
Autotrace --with-autotrace=yes no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes no
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.15.2)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no (failed tests)
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
OpenEXR --with-openexr=yes no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=yes yes
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr
EXEC-PREFIX = /usr
VERSION = 6.4.3
CC = gcc -std=gnu99
CFLAGS = -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/lib
LIBS = -lMagickCore -ltiff -ljpeg -lz -lm -lpthread
CXX = g++
CXXFLAGS = -pthread
I am having serious production problems with ImageMagick+JMagick on Linux.
My Java application is crashing with hs_err_pid several times (it's
undeterministic when the error occurs).
My configuration:
- Linux: Red Hat Enterprise Linux Server release *5.3* (Tikanga)
- ImageMagick: *ImageMagick-6.4.3* installed from sources with the
following options:* ./configure --without-perl --disable-openmp
--prefix=/usr*
- JMagick: *JMagick 6.4.2 *installed from sources
The problem is ocorring while adapting GIF images.
Please find below the typical hs_err_pid file:
-----------------------------------------------------------------------------------------------------------------------------------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x03848f53, pid=23895, tid=100662160
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Server VM (17.0-b16 mixed mode linux-x86 )
# Problematic frame:
*# C [gif.so+0x1f53]*
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x09f12000): JavaThread "http-0.0.0.0-8080-20" daemon
[_thread_in_native, id=13025, stack(0x05f7f000,0x06000000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x00000000
Registers:
EAX=0x00000000, EBX=0x0384d6bc, ECX=0x062e9140, EDX=0x00000000
ESP=0x05ffa1d0, EBP=0x05ffb2d8, ESI=0x00000000, EDI=0x04b08090
EIP=0x03848f53, CR2=0x00000000, EFLAGS=0x00210246
Top of Stack: (sp=0x05ffa1d0)
0x05ffa1d0: 04b08090 00000000 00000000 000000e4
0x05ffa1e0: 00000001 04b0b258 05ffa248 00b2ef74
0x05ffa1f0: 05ffa2f0 00000001 00bbe4d8 00bc56a0
0x05ffa200: 04565200 0384c23e 0384c259 04b0b258
0x05ffa210: 00000100 00bc56a0 0384c1d4 0384c23e
0x05ffa220: 05393efc 00000000 05393e28 00000001
0x05ffa230: 00000000 00000000 00000010 051114b8
0x05ffa240: 053458f8 00000008 05ffe368 00ab6f28
Instructions: (pc=0x03848f53)
0x03848f43: 01 ee ff ff 8b b5 ac ef ff ff 85 f6 89 c2 75 0a
0x03848f53: 0f b7 08 66 89 8d 9a ef ff ff 8b 75 0c 31 c0 83
Stack: [0x05f7f000,0x06000000], sp=0x05ffa1d0, free space=1ec05ff9b50k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
*C [gif.so+0x1f53]
C [libMagickCore.so.1+0x4673b] WriteImage+0x2eb
C [libMagickCore.so.1+0x1c2bc] ImageToBlob+0x26c
C [libJMagick-6.4.2.so+0x1110e] Java_magick_MagickImage_imageToBlob+0xf4
j magick.MagickImage.imageToBlob(Lmagick/ImageInfo;)[B+0
*........
-----------------------------------------------------------------------------------------------------------------------------------
Is any one experiencing this problem? Any hint to solve this issue? Any
help would really be appreciated, because this problem is having huge impact
on our production system.
Thanks in advance for any help.
Best regards,
Victor Batista
PS: Below you can find ImageMagick's configure output:
configuring ImageMagick 6.4.3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached)
-std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ranlib... ranlib
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking maximum warning verbosity option... for C++ -Wall -W for C
checking whether ln -s works... yes
checking if malloc debugging is wanted... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99
object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path...
LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
/usr/lib/qt-3.3/lib
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/ltdl
checking where to find libltdl library... ${top_build_prefix}ltdl/
libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether gcc -std=gnu99 needs -traditional... no
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking arm/limits.h usability... no
checking arm/limits.h presence... no
checking for arm/limits.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking for mach-o/dyld.h... (cached) no
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for working volatile... yes
checking for preprocessor stringizing operator... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether byte ordering is bigendian... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for long double... yes
checking for long double with more range or precision than double... yes
checking whether char is unsigned... no
checking size of signed short... 2
checking size of unsigned short... 2
checking size of signed int... 4
checking size of unsigned int... 4
checking size of signed long... 4
checking size of unsigned long... 4
checking size of signed long long... 8
checking size of unsigned long long... 8
checking size of off_t... 8
checking size of size_t... 4
checking size of unsigned int*... 4
checking for signed 8-bit type... signed char
checking for unsigned 8-bit type... unsigned char
checking for signed 16-bit type... signed short
checking for unsigned 16-bit type... unsigned short
checking for signed 32-bit type... signed int
checking for unsigned 32-bit type... unsigned int
checking for signed 64-bit type... signed long long
checking for unsigned 64-bit type... unsigned long long
checking for unsigned maximum type... unsigned long long
checking for pointer difference type... unsigned long
checking whether our compiler supports __func__... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap file i/o... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for _exit... yes
checking for atexit... yes
checking for clock... yes
checking for clock_gettime... no
checking for execvp... yes
checking for floor... no
checking for fork... (cached) yes
checking for ftime... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for getpid... yes
checking for getexecname... no
checking for getdtablesize... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for lstat... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for munmap... yes
checking for _NSGetExecutablePath... no
checking for pclose... yes
checking for _pclose... no
checking for poll... yes
checking for popen... yes
checking for _popen... no
checking for posix_fallocate... yes
checking for pow... no
checking for pread... yes
checking for pwrite... yes
checking for raise... yes
checking for rand_r... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for seekdir... yes
checking for setlocale... yes
checking for sqrt... no
checking for setvbuf... yes
checking for stat... yes
checking for strchr... yes
checking for strrchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strpbrk... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for symlink... yes
checking for sysconf... yes
checking for sigemptyset... yes
checking for sigaction... yes
checking for strerror... yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for telldir... yes
checking for tempnam... yes
checking for times... yes
checking for usleep... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for _wfopen... no
checking whether pread is declared... yes
checking whether pwrite is declared... yes
checking whether strlcpy is declared... no
checking whether vsnprintf is declared... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking whether the compiler recognizes bool as a built-in type... no
checking whether the compiler implements namespaces... no
checking whether the compiler supports the std namespace... no
checking whether the compiler supports ISO C++ standard library... no
checking whether the compiler implements L"widestring"... no
checking whether C++ compiler is sufficient for Magick++... no (failed
tests)
checking for X11 configure files...
checking for the pthreads library -lpthread... yes
checking for sqrt in -lm... yes
-------------------------------------------------------------
checking for BZLIB...
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzDecompress in -lbz2... no
checking if BZLIB package is complete... no
checking for X... no
-------------------------------------------------------------
checking for ZLIB...
checking zconf.h usability... yes
checking zconf.h presence... yes
checking for zconf.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking for uncompress in -lz... yes
checking for deflate in -lz... yes
checking for inflate in -lz... yes
checking for gzseek in -lz... yes
checking for gztell in -lz... yes
checking if ZLIB package is complete... yes
-------------------------------------------------------------
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for AUTOTRACE... no
-------------------------------------------------------------
checking for DPS...
checking DPS/dpsXclient.h usability... no
checking DPS/dpsXclient.h presence... no
checking for DPS/dpsXclient.h... no
checking for DPSInitialize in -ldps... no
checking for DPSInitialize in -ldps... no
checking for XDPSPixelsPerPoint in -ldpstk... no
checking if DPS package is complete... no
-------------------------------------------------------------
checking for DJVU...
checking libdjvu/ddjvuapi.h usability... no
checking libdjvu/ddjvuapi.h presence... no
checking for libdjvu/ddjvuapi.h... no
checking for ddjvu_context_create in -ldjvulibre... no
checking if DJVU package is complete... no
-------------------------------------------------------------
checking for FlashPIX...
checking fpxlib.h usability... no
checking fpxlib.h presence... no
checking for fpxlib.h... no
checking for FPX_OpenImageByFilename in -lfpx... no
checking if FlashPIX package is complete... no
-------------------------------------------------------------
checking for FreeType 2.0...
checking for freetype-config... no
checking for FT_Init_FreeType in -lfreetype... no
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
checking for freetype/freetype.h... no
checking if FreeType package is complete... no
-------------------------------------------------------------
checking for Ghostscript...
checking ghostscript/iapi.h usability... no
checking ghostscript/iapi.h presence... no
checking for ghostscript/iapi.h... no
checking ghostscript/ierrors.h usability... no
checking ghostscript/ierrors.h presence... no
checking for ghostscript/ierrors.h... no
checking for gsapi_new_instance in Ghostscript framework... no
checking for gsapi_new_instance in -lgs... yes
checking if Ghostscript package is complete... no -- some components failed
test
-------------------------------------------------------------
checking for GVC... no
-------------------------------------------------------------
checking for JBIG...
checking jbig.h usability... no
checking jbig.h presence... no
checking for jbig.h... no
checking for jbg_dec_init in -ljbig... no
checking if JBIG package is complete... no
-------------------------------------------------------------
checking for JPEG...
checking jconfig.h usability... yes
checking jconfig.h presence... yes
checking for jconfig.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking jmorecfg.h usability... yes
checking jmorecfg.h presence... yes
checking for jmorecfg.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for JPEG library is version 6b or later... yes
checking if JPEG package is complete... yes
-------------------------------------------------------------
checking for JPEG Version 2...
checking jasper/jasper.h usability... no
checking jasper/jasper.h presence... no
checking for jasper/jasper.h... no
checking for jas_stream_fopen in -ljasper... no
checking if JPEG version 2 support package is complete... no
-------------------------------------------------------------
checking for LCMS...
checking lcms.h usability... no
checking lcms.h presence... no
checking for lcms.h... no
checking lcms/lcms.h usability... no
checking lcms/lcms.h presence... no
checking for lcms/lcms.h... no
checking for cmsOpenProfileFromMem in -llcms... no
checking if LCMS package is complete... no
-------------------------------------------------------------
checking for LQR... no
-------------------------------------------------------------
checking for OPENEXR... no
-------------------------------------------------------------
checking for PNG...
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_io_ptr in -lpng... yes
checking if PNG package is complete... yes
-------------------------------------------------------------
checking for TIFF...
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFOpen in -ltiff... yes
checking for TIFFClientOpen in -ltiff... yes
checking for TIFFIsByteSwapped in -ltiff... yes
checking for TIFFReadRGBATile in -ltiff... yes
checking for TIFFReadRGBAStrip in -ltiff... yes
checking if TIFF package is complete... yes
checking tiffconf.h usability... yes
checking tiffconf.h presence... yes
checking for tiffconf.h... yes
checking for TIFFIsCODECConfigured... yes
checking for TIFFMergeFieldInfo... yes
checking for TIFFReadEXIFDirectory... yes
checking for TIFFSetErrorHandlerExt... yes
checking for TIFFSetTagExtender... yes
checking for TIFFSetWarningHandlerExt... yes
checking for TIFFSwabArrayOfTriples... yes
-------------------------------------------------------------
checking for WMF...
checking for libwmf/ipa.h... no
checking if WMF package is complete... no
-------------------------------------------------------------
checking for ImageMagick delegate programs...
checking for autotrace... autotrace
checking for mplayer... mplayer
checking for bzip2... /usr/bin/bzip2
checking for xdg-open... xdg-open
checking for ralcgm... ralcgm
checking for cat... /bin/cat
checking for ufraw-batch... ufraw-batch
checking for dot... dot
checking for dvips... dvips
checking for echo... /bin/echo
checking for xterm... /usr/bin/xterm
checking for fig2dev... fig2dev
checking for convert... /usr/bin/convert
checking for display... /usr/bin/display
checking for mogrify... /usr/bin/mogrify
checking for gnuplot... gnuplot
checking for ra_pfm... ra_pfm
checking for hp2xx... hp2xx
checking for html2ps... html2ps
checking for ilbmtoppm... /usr/bin/ilbmtoppm
checking for ppmtoilbm... /usr/bin/ppmtoilbm
checking for lp... /usr/bin/lp
checking for lpr... /usr/bin/lpr
checking for uncompress... uncompress
checking for compress... compress
checking for gimp... gimp
checking for groff... /usr/bin/groff
checking for ffmpeg... ffmpeg
checking for ffmpeg... ffmpeg
checking for mv... /bin/mv
checking for pcl6... pcl6
checking for pgpv... pgpv
checking for povray... povray
checking for gsx... no
checking for gsc... no
checking for gs... /usr/bin/gs
checking for rawtorle... rawtorle
checking for rm... /bin/rm
checking for scanimage... /usr/bin/scanimage
checking for enscript... /usr/bin/enscript
checking for wmf2eps... /usr/bin/wmf2eps
checking for curl... /usr/bin/curl
checking for gxps... gxps
checking for gzip... /bin/gzip
checking for rst2html.py... rst2html.py
checking for Ghostscript fonts directory... /usr/share/fonts/default/Type1/
checking for gnutar... no
checking for gtar... gtar
checking for perl... perl
checking for rpmbuild... no
checking for rpm... rpm
checking for 7za... no
checking for zip... zip
-------------------------------------------------------------
checking for Ghostscript...
checking for Ghostscript version... 8.15.2
checking for gs alpha device... pngalpha
checking for gs color device... pnmraw
checking for gs CMYK device... pam
checking for gs mono device... pnmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... pswrite
checking for gs EPS writing device... epswrite
-------------------------------------------------------------
Update ImageMagick configuration
configure: creating ./config.status
config.status: creating config/configure.xml
config.status: creating config/delegates.xml
config.status: creating config/ImageMagick.rdf
config.status: creating config/MagickCore.dox
config.status: creating config/MagickWand.dox
config.status: creating config/type-ghostscript.xml
config.status: creating config/type-solaris.xml
config.status: creating config/type-windows.xml
config.status: creating config/type.xml
config.status: creating ImageMagick.spec
config.status: creating Magick++/bin/Magick++-config
config.status: creating magick/ImageMagick.pc
config.status: creating Magick++/lib/ImageMagick++.pc
config.status: creating Magick++/lib/Magick++.pc
config.status: creating magick/Magick-config
config.status: creating magick/MagickCore-config
config.status: creating magick/MagickCore.pc
config.status: creating magick.sh
config.status: creating magick/version.h
config.status: creating Makefile
config.status: creating PerlMagick/Magick.pm
config.status: creating PerlMagick/Makefile.PL
config.status: creating utilities/animate.1
config.status: creating utilities/compare.1
config.status: creating utilities/composite.1
config.status: creating utilities/conjure.1
config.status: creating utilities/convert.1
config.status: creating utilities/display.1
config.status: creating utilities/identify.1
config.status: creating utilities/ImageMagick.1
config.status: creating utilities/import.1
config.status: creating utilities/mogrify.1
config.status: creating utilities/montage.1
config.status: creating utilities/stream.1
config.status: creating wand/MagickWand-config
config.status: creating wand/MagickWand.pc
config.status: creating wand/Wand-config
config.status: creating wand/Wand.pc
config.status: creating config/config.h
config.status: executing magick/magick-config.h commands
config.status: creating magick/magick-config.h - prefix MAGICKCORE for
config/config.h defines
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing MagickCore-config.in commands
config.status: executing Magick-config.in commands
config.status: executing MagickWand-config.in commands
config.status: executing Wand-config.in commands
config.status: executing Magick++-config.in commands
config.status: executing magick.sh.in commands
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type: i686-pc-linux-gnu
Build system type: i686-pc-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
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 no
Autotrace --with-autotrace=yes no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes no
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.15.2)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no (failed tests)
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
OpenEXR --with-openexr=yes no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=yes yes
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr
EXEC-PREFIX = /usr
VERSION = 6.4.3
CC = gcc -std=gnu99
CFLAGS = -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/lib
LIBS = -lMagickCore -ltiff -ljpeg -lz -lm -lpthread
CXX = g++
CXXFLAGS = -pthread