Page 1 of 1

ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-27T14:57:36-07:00
by filya
For example,

Code: Select all

/usr/src/rpm/BUILD/ImageMagick-6.4.3/magick.sh: line 40: 11334 Segmentation fault      env LD_LIBRARY_PATH="${top_builddir}/magick/.libs:${top_builddir}/wand/.libs:${LD_LIBRARY_PATH}" MAGICK_CODER_MODULE_PATH="${MAGICK_CODER_MODULE_PATH}" MAGICK_CONFIGURE_PATH="${MAGICK_CONFIGURE_BUILD_PATH}${DIRSEP}${MAGICK_CONFIGURE_SRC_PATH}" MAGICK_FILTER_MODULE_PATH="${MAGICK_FILTER_MODULE_PATH}" PATH="${PATH}" "$@"
FAIL: tests/rwfile_PS_gray.sh
I have used supplied .spec on 64-bit machine. All postscript-related formats fail, also lt-montage fails for unknows reason maybe supplied files are broken

Code: Select all

lt-montage: Improper image header `Contrast_out.miff'.
lt-montage: Improper image header `Equalize_out.miff'.
lt-montage: Improper image header `Gamma_out.miff'.
lt-montage: Improper image header `Level_out.miff'.
lt-montage: Improper image header `Mod_out.miff'.
lt-montage: Improper image header `Normal_out.miff'.
FAIL: utilities/tests/montage.sh

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-27T15:11:46-07:00
by magick
Before a release, all regression tests must pass under multiple Linux 32 and 64-bit machines as well as Mac OS X and Windows. Not sure why its failing for you. If you can trace the source of the problem, let us know. Also if you have the time can you try ImageMagick 6.4.4-0?

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T00:38:55-07:00
by filya
Sure, I will try it today and report about results.
Most possibly there was a configure script problem, it did detected something I do not have.

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T01:09:05-07:00
by filya
ImageMagick version 6.4.4-0 fails the same tests, so I have checked one failing script with valgrind and strace. Hope it will help.
strace:

Code: Select all

execve("/usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/.libs/lt-rwfile", ["/usr/src/rpm/BUILD/ImageMagick-6"..., "/usr/src/rpm/BUILD/ImageMagick-6"..., "PS"...], [/* 81 vars */]) = 0
brk(0)                                  = 0x1b67000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f24000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f23000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/tls/x86_64/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/tls/x86_64", 0x7fff9cf22fb0) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/tls/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/tls", 0x7fff9cf22fb0) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/x86_64/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/x86_64", 0x7fff9cf22fb0) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libMagickCore.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\365\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=5271353, ...}) = 0
mmap(NULL, 4312440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea948ef000
mprotect(0x7fea94aa3000, 2097152, PROT_NONE) = 0
mmap(0x7fea94ca3000, 331776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b4000) = 0x7fea94ca3000
mmap(0x7fea94cf4000, 97656, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea94cf4000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/tls/x86_64/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/tls/x86_64", 0x7fff9cf22f80) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/tls/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/tls", 0x7fff9cf22f80) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/x86_64/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/x86_64", 0x7fff9cf22f80) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libMagickWand.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220}\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2092025, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f22000
mmap(NULL, 3168880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea945e9000
mprotect(0x7fea946ec000, 2093056, PROT_NONE) = 0
mmap(0x7fea948eb000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7fea948eb000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/liblcms.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/liblcms.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/x86_64/liblcms.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/x86_64", 0x7fff9cf22f50) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/liblcms.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib64/x86_64/liblcms.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/x86_64", 0x7fff9cf22f50) = -1 ENOENT (No such file or directory)
open("/usr/lib64/liblcms.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pq\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=207384, ...}) = 0
mmap(NULL, 2312000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea943b4000
mprotect(0x7fea943e5000, 2097152, PROT_NONE) = 0
mmap(0x7fea945e5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0x7fea945e5000
mmap(0x7fea945e7000, 5952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea945e7000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libtiff.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libtiff.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libtiff.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libtiff.so.3", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`t\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=363328, ...}) = 0
mmap(NULL, 2459688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea9415b000
mprotect(0x7fea941b1000, 2097152, PROT_NONE) = 0
mmap(0x7fea943b1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x56000) = 0x7fea943b1000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libc.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=172274, ...}) = 0
mmap(NULL, 172274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94ef7000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\341\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1379584, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94ef6000
mmap(NULL, 3486136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea93e07000
mprotect(0x7fea93f52000, 2093056, PROT_NONE) = 0
mmap(0x7fea94151000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14a000) = 0x7fea94151000
mmap(0x7fea94156000, 16824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea94156000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libjpeg.so.62", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p4\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=139312, ...}) = 0
mmap(NULL, 2234560, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea93be5000
mprotect(0x7fea93c06000, 2097152, PROT_NONE) = 0
mmap(0x7fea93e06000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0x7fea93e06000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/liblqr-1.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/liblqr-1.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/liblqr-1.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/liblqr-1.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=28872, ...}) = 0
mmap(NULL, 2124200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea939de000
mprotect(0x7fea939e5000, 2093056, PROT_NONE) = 0
mmap(0x7fea93be4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fea93be4000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libglib-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0+\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=752576, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94ef5000
mmap(NULL, 2849800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea93726000
mprotect(0x7fea937dd000, 2093056, PROT_NONE) = 0
mmap(0x7fea939dc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb6000) = 0x7fea939dc000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libpcre.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libpcre.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libpcre.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libpcre.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\24\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=154464, ...}) = 0
mmap(NULL, 2249800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea93500000
mprotect(0x7fea93526000, 2093056, PROT_NONE) = 0
mmap(0x7fea93725000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7fea93725000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libfontconfig.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=193152, ...}) = 0
mmap(NULL, 2289384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea932d1000
mprotect(0x7fea932ff000, 2093056, PROT_NONE) = 0
mmap(0x7fea934fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d000) = 0x7fea934fe000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libxml2.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\267\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1303096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94ef4000
mmap(NULL, 3403672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea92f92000
mprotect(0x7fea930c7000, 2093056, PROT_NONE) = 0
mmap(0x7fea932c6000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x134000) = 0x7fea932c6000
mmap(0x7fea932d0000, 3992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea932d0000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libXext.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3403\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=70064, ...}) = 0
mmap(NULL, 2165920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea92d81000
mprotect(0x7fea92d91000, 2097152, PROT_NONE) = 0
mmap(0x7fea92f91000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7fea92f91000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libXt.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libXt.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libXt.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libXt.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2600\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=392768, ...}) = 0
mmap(NULL, 2491264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea92b20000
mprotect(0x7fea92b7b000, 2093056, PROT_NONE) = 0
mmap(0x7fea92d7a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5a000) = 0x7fea92d7a000
mmap(0x7fea92d80000, 896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea92d80000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libbz2.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libbz2.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libbz2.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libbz2.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\26\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=64248, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94ef3000
mmap(NULL, 2159496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea92910000
mprotect(0x7fea9291f000, 2093056, PROT_NONE) = 0
mmap(0x7fea92b1e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7fea92b1e000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib64/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`W\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=125356, ...}) = 0
mmap(NULL, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea926f5000
mprotect(0x7fea9270a000, 2097152, PROT_NONE) = 0
mmap(0x7fea9290a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fea9290a000
mmap(0x7fea9290c000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea9290c000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libfreetype.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libfreetype.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libfreetype.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libfreetype.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\276\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=509528, ...}) = 0
mmap(NULL, 2604776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea92479000
mprotect(0x7fea924f0000, 2097152, PROT_NONE) = 0
mmap(0x7fea926f0000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x77000) = 0x7fea926f0000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libz.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\36\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=83120, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94ef2000
mmap(NULL, 2178376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea92265000
mprotect(0x7fea92279000, 2093056, PROT_NONE) = 0
mmap(0x7fea92478000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7fea92478000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libSM.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libSM.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libSM.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libSM.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=31776, ...}) = 0
mmap(NULL, 2127128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea9205d000
mprotect(0x7fea92065000, 2093056, PROT_NONE) = 0
mmap(0x7fea92264000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fea92264000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libICE.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libICE.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libICE.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libICE.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pN\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=95080, ...}) = 0
mmap(NULL, 2204896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea91e42000
mprotect(0x7fea91e58000, 2097152, PROT_NONE) = 0
mmap(0x7fea92058000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fea92058000
mmap(0x7fea92059000, 13536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea92059000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libX11.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \332\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1064120, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94ef1000
mmap(NULL, 3161192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea91b3e000
mprotect(0x7fea91c3c000, 2097152, PROT_NONE) = 0
mmap(0x7fea91e3c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xfe000) = 0x7fea91e3c000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libxcb-xlib.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libxcb-xlib.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libxcb-xlib.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libxcb-xlib.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\10\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=5640, ...}) = 0
mmap(NULL, 2100960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea9193d000
mprotect(0x7fea9193e000, 2093056, PROT_NONE) = 0
mmap(0x7fea91b3d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7fea91b3d000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libxcb.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libxcb.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libxcb.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libxcb.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\207\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=110024, ...}) = 0
mmap(NULL, 2205456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea91722000
mprotect(0x7fea9173c000, 2097152, PROT_NONE) = 0
mmap(0x7fea9193c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7fea9193c000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libXau.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\f\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=9696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94ef0000
mmap(NULL, 2105040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea91520000
mprotect(0x7fea91522000, 2093056, PROT_NONE) = 0
mmap(0x7fea91721000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fea91721000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libXdmcp.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\22\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=19800, ...}) = 0
mmap(NULL, 2115128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea9131b000
mprotect(0x7fea91320000, 2093056, PROT_NONE) = 0
mmap(0x7fea9151f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fea9151f000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib64/libdl.so.2", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14632, ...}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea91117000
mprotect(0x7fea91119000, 2097152, PROT_NONE) = 0
mmap(0x7fea91319000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fea91319000
close(3)                                = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libm.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib64/libm.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=526560, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94eef000
mmap(NULL, 2621672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea90e96000
mprotect(0x7fea90f15000, 2097152, PROT_NONE) = 0
mmap(0x7fea91115000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7f000) = 0x7fea91115000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94eee000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94eed000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94eec000
arch_prctl(ARCH_SET_FS, 0x7fea94eec6f0) = 0
mprotect(0x7fea91115000, 4096, PROT_READ) = 0
mprotect(0x7fea91319000, 4096, PROT_READ) = 0
mprotect(0x7fea9290a000, 4096, PROT_READ) = 0
mprotect(0x7fea94151000, 16384, PROT_READ) = 0
mprotect(0x7fea94f25000, 4096, PROT_READ) = 0
munmap(0x7fea94ef7000, 172274)          = 0
set_tid_address(0x7fea94eec780)         = 18603
set_robust_list(0x7fea94eec790, 0x18)   = 0
futex(0x7fff9cf23afc, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x7fea926fa280, [], SA_RESTORER|SA_SIGINFO, 0x7fea92703350}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fea926fa300, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fea92703350}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
getcwd("/gigastore/Temp/BUILD/ImageMagick-6.4.4", 4096) = 40
readlink("/proc/18603/exe", "/gigastore/Temp/BUILD/ImageMagick-6.4.4/tests/.libs/lt-rwfile", 4096) = 61
stat("/gigastore/Temp/BUILD/ImageMagick-6.4.4/tests/.libs/lt-rwfile", {st_mode=S_IFREG|0755, st_size=35976, ...}) = 0
access("/gigastore/Temp/BUILD/ImageMagick-6.4.4/tests/.libs/lt-rwfile", F_OK) = 0
rt_sigprocmask(SIG_BLOCK, [ABRT], NULL, 8) = 0
rt_sigaction(SIGABRT, {0x7fea949c97f0, [ABRT], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [FPE], NULL, 8) = 0
rt_sigaction(SIGFPE, {0x7fea949c97f0, [FPE], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [FPE], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP], NULL, 8) = 0
rt_sigaction(SIGHUP, {0x7fea949c97f0, [HUP], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], NULL, 8) = 0
rt_sigaction(SIGINT, {0x7fea949c97f0, [INT], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [QUIT], NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x7fea949c97f0, [QUIT], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [QUIT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [TERM], NULL, 8) = 0
rt_sigaction(SIGTERM, {0x7fea949c97f0, [TERM], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [XCPU], NULL, 8) = 0
rt_sigaction(SIGXCPU, {0x7fea949c97f0, [XCPU], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [XCPU], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [XFSZ], NULL, 8) = 0
rt_sigaction(SIGXFSZ, {0x7fea949c97f0, [XFSZ], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [XFSZ], NULL, 8) = 0
brk(0)                                  = 0x1b67000
brk(0x1b88000)                          = 0x1b88000
open("/proc/meminfo", O_RDONLY)         = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f21000
read(3, "MemTotal:      2060144 kB\nMemFre"..., 1024) = 748
close(3)                                = 0
munmap(0x7fea94f21000, 4096)            = 0
open("/usr/share/ImageMagick-6.4.4/config/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/ImageMagick-6.4.4/config/configure.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END)                   = 3402
mmap(NULL, 3402, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94f21000
munmap(0x7fea94f21000, 3402)            = 0
close(3)                                = 0
open("/usr/share/doc/ImageMagick-6.4.4/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ImageMagick-6.4.4/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.magick/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("configure.xml", O_RDONLY)         = -1 ENOENT (No such file or directory)
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 11), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f21000
write(1, "/usr/src/rpm/BUILD/ImageMagick-6"..., 128/usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/.libs/lt-rwfile /usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/input_truecolor16.pam PS
) = 128
open("/usr/share/ImageMagick-6.4.4/config/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/ImageMagick-6.4.4/config/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/doc/ImageMagick-6.4.4/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ImageMagick-6.4.4/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.magick/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("coder.xml", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/usr/share/ImageMagick-6.4.4/config/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/ImageMagick-6.4.4/config/locale.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END)                   = 2403
mmap(NULL, 2403, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94f20000
munmap(0x7fea94f20000, 2403)            = 0
close(3)                                = 0
open("/usr/share/doc/ImageMagick-6.4.4/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ImageMagick-6.4.4/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.magick/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("locale.xml", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/usr/lib64/ImageMagick-6.4.4/config/english.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END)                   = 45188
brk(0x1bb3000)                          = 0x1bb3000
mmap(NULL, 45188, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94f15000
munmap(0x7fea94f15000, 45188)           = 0
close(3)                                = 0
brk(0x1bd6000)                          = 0x1bd6000
brk(0x1bf7000)                          = 0x1bf7000
brk(0x1c18000)                          = 0x1c18000
brk(0x1c40000)                          = 0x1c40000
brk(0x1c61000)                          = 0x1c61000
brk(0x1c82000)                          = 0x1c82000
brk(0x1caa000)                          = 0x1caa000
brk(0x1cd3000)                          = 0x1cd3000
brk(0x1cf4000)                          = 0x1cf4000
brk(0x1d15000)                          = 0x1d15000
brk(0x1d3d000)                          = 0x1d3d000
brk(0x1d5e000)                          = 0x1d5e000
brk(0x1d86000)                          = 0x1d86000
brk(0x1da7000)                          = 0x1da7000
brk(0x1dc8000)                          = 0x1dc8000
brk(0x1df0000)                          = 0x1df0000
brk(0x1e18000)                          = 0x1e18000
brk(0x1e39000)                          = 0x1e39000
brk(0x1e61000)                          = 0x1e61000
brk(0x1e82000)                          = 0x1e82000
brk(0x1eaa000)                          = 0x1eaa000
brk(0x1ecb000)                          = 0x1ecb000
brk(0x1eec000)                          = 0x1eec000
brk(0x1f0d000)                          = 0x1f0d000
brk(0x1f2e000)                          = 0x1f2e000
brk(0x1f4f000)                          = 0x1f4f000
brk(0x1f70000)                          = 0x1f70000
brk(0x1f91000)                          = 0x1f91000
brk(0x1fb2000)                          = 0x1fb2000
brk(0x1fd4000)                          = 0x1fd4000
brk(0x1ff5000)                          = 0x1ff5000
brk(0x2017000)                          = 0x2017000
brk(0x200f000)                          = 0x200f000
stat("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/pnm.la", {st_mode=S_IFREG|0755, st_size=1457, ...}) = 0
access("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/pnm.la", F_OK) = 0
open("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/pnm.la", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=1457, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "# pnm.la - a libtool library fil"..., 4096) = 1457
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
futex(0x7fea9131a10c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/lib64/tls/pnm.a", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib64/pnm.a", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/pnm.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/pnm.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/pnm.a", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib64/pnm.a", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=172274, ...}) = 0
mmap(NULL, 172274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94ec1000
close(3)                                = 0
open("/lib64/tls/x86_64/pnm.a", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/x86_64", 0x7fff9cf10db0) = -1 ENOENT (No such file or directory)
open("/lib64/tls/pnm.a", O_RDONLY)      = -1 ENOENT (No such file or directory)
stat("/lib64/tls", 0x7fff9cf10db0)      = -1 ENOENT (No such file or directory)
open("/lib64/x86_64/pnm.a", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat("/lib64/x86_64", 0x7fff9cf10db0)   = -1 ENOENT (No such file or directory)
open("/lib64/pnm.a", O_RDONLY)          = -1 ENOENT (No such file or directory)
stat("/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib64/tls/pnm.a", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib64/pnm.a", O_RDONLY)      = -1 ENOENT (No such file or directory)
munmap(0x7fea94ec1000, 172274)          = 0
open("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/pnm.so", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \31\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=40384, ...}) = 0
mmap(NULL, 2135720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea90c8c000
mprotect(0x7fea90c96000, 2093056, PROT_NONE) = 0
mmap(0x7fea90e95000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7fea90e95000
close(3)                                = 0
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971988
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971988
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/input_truecolor16.pam", {st_mode=S_IFREG|0664, st_size=19383, ...}) = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/input_truecolor16.pam", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=19383, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "P7\nWIDTH 70\nHEIGHT 46\nDEPTH 3\nMA"..., 1024) = 1024
lseek(3, 0, SEEK_SET)                   = 0
mmap(NULL, 19383, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94f1b000
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
msync(0x7fea94f1b000, 19383, MS_SYNC)   = 0
munmap(0x7fea94f1b000, 19383)           = 0
open("/usr/share/ImageMagick-6.4.4/config/magic.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/ImageMagick-6.4.4/config/magic.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/doc/ImageMagick-6.4.4/magic.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ImageMagick-6.4.4/magic.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.magick/magic.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("magic.xml", O_RDONLY)             = -1 ENOENT (No such file or directory)
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971988
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971988
stat("/usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/input_truecolor16.pam", {st_mode=S_IFREG|0664, st_size=19383, ...}) = 0
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/input_truecolor16.pam", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=19383, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "P7\nWIDTH 70\nHEIGHT 46\nDEPTH 3\nMA"..., 1024) = 1024
lseek(3, 0, SEEK_SET)                   = 0
mmap(NULL, 19383, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94f1b000
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
mmap(NULL, 51520, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = 0x7fea94f0e000
msync(0x7fea94f1b000, 19383, MS_SYNC)   = 0
munmap(0x7fea94f1b000, 19383)           = 0
open("/etc/localtime", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0\f\0\0\0\0"..., 4096) = 2194
lseek(3, -1379, SEEK_CUR)               = 815
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0\0\0"..., 4096) = 1379
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0
stat("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.la", {st_mode=S_IFREG|0755, st_size=1455, ...}) = 0
access("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.la", F_OK) = 0
open("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.la", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=1455, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "# ps.la - a libtool library file"..., 4096) = 1455
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
open("/usr/lib64/tls/ps.a", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/lib64/ps.a", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/ps.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/ps.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/ps.a", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/lib64/ps.a", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=172274, ...}) = 0
mmap(NULL, 172274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94ec1000
close(3)                                = 0
open("/lib64/ps.a", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/ps.a", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/lib64/ps.a", O_RDONLY)       = -1 ENOENT (No such file or directory)
munmap(0x7fea94ec1000, 172274)          = 0
open("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.so", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340Q\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=54280, ...}) = 0
mmap(NULL, 2149616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea90a7f000
mprotect(0x7fea90a8b000, 2093056, PROT_NONE) = 0
mmap(0x7fea90c8a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7fea90c8a000
close(3)                                = 0
open("/usr/lib64/tls/libgs.so.8", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgs.so.8", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\242\r\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=11990256, ...}) = 0
mmap(NULL, 15740472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8fb7c000
mprotect(0x7fea90031000, 2097152, PROT_NONE) = 0
mmap(0x7fea90231000, 7053312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4b5000) = 0x7fea90231000
mmap(0x7fea908eb000, 1654328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea908eb000
close(3)                                = 0
open("/usr/lib64/tls/libcupsimage.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libcupsimage.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 4\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=97896, ...}) = 0
mmap(NULL, 2193600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8f964000
mprotect(0x7fea8f97b000, 2097152, PROT_NONE) = 0
mmap(0x7fea8fb7b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fea8fb7b000
close(3)                                = 0
open("/usr/lib64/tls/libcups.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libcups.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\266\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=237864, ...}) = 0
mmap(NULL, 2333336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8f72a000
mprotect(0x7fea8f762000, 2093056, PROT_NONE) = 0
mmap(0x7fea8f961000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x37000) = 0x7fea8f961000
close(3)                                = 0
open("/usr/lib64/tls/libpng12.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libpng12.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240L\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=159456, ...}) = 0
mmap(NULL, 2254696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8f503000
mprotect(0x7fea8f529000, 2097152, PROT_NONE) = 0
mmap(0x7fea8f729000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26000) = 0x7fea8f729000
close(3)                                = 0
open("/usr/lib64/tls/libgnutls.so.26", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgnutls.so.26", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\375\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=609856, ...}) = 0
mmap(NULL, 2707432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8f26e000
mprotect(0x7fea8f2f8000, 2097152, PROT_NONE) = 0
mmap(0x7fea8f4f8000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8a000) = 0x7fea8f4f8000
close(3)                                = 0
open("/usr/lib64/tls/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgcrypt.so.11", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0i\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=421168, ...}) = 0
mmap(NULL, 2517528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8f007000
mprotect(0x7fea8f06b000, 2097152, PROT_NONE) = 0
mmap(0x7fea8f26b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x64000) = 0x7fea8f26b000
close(3)                                = 0
open("/usr/lib64/tls/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgpg-error.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\7\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=12936, ...}) = 0
mmap(NULL, 2108256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8ee04000
mprotect(0x7fea8ee07000, 2093056, PROT_NONE) = 0
mmap(0x7fea8f006000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fea8f006000
close(3)                                = 0
open("/usr/lib64/tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=172274, ...}) = 0
mmap(NULL, 172274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94ec1000
close(3)                                = 0
open("/lib64/libcrypt.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\t\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=35024, ...}) = 0
mmap(NULL, 2318784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8ebcd000
mprotect(0x7fea8ebd5000, 2093056, PROT_NONE) = 0
mmap(0x7fea8edd4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fea8edd4000
mmap(0x7fea8edd6000, 184768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea8edd6000
close(3)                                = 0
open("/usr/lib64/tls/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\5\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=990176, ...}) = 0
mmap(NULL, 3162120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8e8c8000
mprotect(0x7fea8e9b1000, 2097152, PROT_NONE) = 0
mmap(0x7fea8ebb1000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe9000) = 0x7fea8ebb1000
mmap(0x7fea8ebba000, 73736, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fea8ebba000
close(3)                                = 0
open("/usr/lib64/tls/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib64/libgcc_s.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\36\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=54464, ...}) = 0
mmap(NULL, 2150248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8e6bb000
mprotect(0x7fea8e6c8000, 2093056, PROT_NONE) = 0
mmap(0x7fea8e8c7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7fea8e8c7000
close(3)                                = 0
mprotect(0x7fea8ebb1000, 28672, PROT_READ) = 0
mprotect(0x7fea8edd4000, 4096, PROT_READ) = 0
munmap(0x7fea94ec1000, 172274)          = 0
open("/usr/share/ImageMagick-6.4.4/config/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/ImageMagick-6.4.4/config/delegates.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END)                   = 10973
mmap(NULL, 10973, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94f1e000
munmap(0x7fea94f1e000, 10973)           = 0
close(3)                                = 0
open("/usr/share/doc/ImageMagick-6.4.4/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ImageMagick-6.4.4/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.magick/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("delegates.xml", O_RDONLY)         = -1 ENOENT (No such file or directory)
stat("out_1.PS", {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
open("out_1.PS", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
stat("out_1.PS", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("out_1.PS", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0
write(3, "%!PS-Adobe-3.0\n%%Creator: (Image"..., 1024) = 1024
write(3, " a DirectClass image.\n  %\n  syst"..., 1024) = 1024
write(3, "d def\n\n/GrayPseudoClassPacket\n{\n"..., 1024) = 1024
write(3, "erval def\n  compression 0 eq\n  {"..., 1024) = 1024
write(3, "\n    currentfile colormap readhe"..., 1024) = 1024
write(3, " token pop /x exch def\n  token p"..., 1024) = 1024
write(3, "A7C6C5956532F2E2C302F2D35302D373"..., 1024) = 1024
write(3, "355F373079372D933B2FA34133BC4539"..., 1024) = 1024
write(3, "D282B30282C32282F312B30302A302B2"..., 1024) = 1024
write(3, "3039352F39342F3C3730423C30493D30"..., 1024) = 1024
write(3, "55549E05551FE414BDF3F41AE3B2EC44"..., 1024) = 1024
write(3, "35413D333B362D3532283A352F463D37"..., 1024) = 1024
write(3, "C3431DE3B2FDF3729D33421C43621C63"..., 1024) = 1024
write(3, "5\nF9446198A07D7D9A67CBCCAED4E2C6"..., 1024) = 1024
write(3, "3F51\nE73D47DB3C3DC73E34A93B2AB43"..., 1024) = 1024
write(3, "0FC2C3A\nFF353FE73633DD342AF0322F"..., 1024) = 1024
write(3, "533E655F58\n7A74917370A75D5FA1696"..., 1024) = 1024
write(3, "8CE3728D73C2F\nDA3B30EE363BF9313F"..., 1024) = 1024
write(3, "543C3C482C677E43\n6A9446618C456B8"..., 1024) = 1024
write(3, "6C83A2CC33725D23829\nD13A29D13A28"..., 1024) = 1024
write(3, "362C703429763D31855140\n8954479A5"..., 1024) = 1024
write(3, "36B62536C63546C63546B6252\n655D53"..., 1024) = 1024
write(3, "3C317E3A2E7C392F7C39307A3932\n763"..., 1024) = 1024
write(3, "D323E2A36432E44563B485D3D5E7152\n"..., 1024) = 1024
write(3, "FEFCFEFEFCFEFEFCFEFEFCFEFDFFFBFF"..., 753) = 753
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
munmap(0x7fea94f0e000, 51520)           = 0
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971990
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971990
stat("out_1.PS", {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
open("out_1.PS", O_RDONLY)              = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "%!PS-Adobe-3.0\n%%Creator: (Image"..., 1024) = 1024
lseek(3, 0, SEEK_SET)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
read(3, "%!PS-Adobe-3.0\n%%Creator: (Image"..., 8192) = 8192
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971990
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971990
stat("out_1.PS", {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
open("out_1.PS", O_RDONLY)              = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "%!PS-Adobe-3.0\n%%Creator: (Image"..., 1024) = 1024
lseek(3, 0, SEEK_SET)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971990
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971990
stat("out_1.PS", {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
open("out_1.PS", O_RDONLY)              = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "%!PS-Adobe-3.0\n%%Creator: (Image"..., 1024) = 1024
lseek(3, 0, SEEK_SET)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971991
times({tms_utime=1, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1504971991
open("magickPXKFVp", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
close(4)                                = 0
unlink("magickPXKFVp")                  = 0
open("/dev/urandom", O_RDONLY)          = 4
read(4, "\212+\372b\31\222w\370\241\7\36\263q\300\227\320MzD\23]Cj\257\vdT\346\262\330\7K"..., 64) = 64
close(4)                                = 0
stat("/root/tmp", {st_mode=S_IFDIR|0700, st_size=16384, ...}) = 0
open("/root/tmp/magick-XXyw15sS", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
close(4)                                = 0
unlink("/root/tmp/magick-XXyw15sS")     = 0
unlink("/root/tmp/magick-XXyw15sS.cache") = -1 ENOENT (No such file or directory)
unlink("/root/tmp/magick-XXyw15sS")     = -1 ENOENT (No such file or directory)
getcwd("/gigastore/Temp/BUILD/ImageMagick-6.4.4", 4096) = 40
symlink("/gigastore/Temp/BUILD/ImageMagick-6.4.4/out_1.PS", "/root/tmp/magick-XXyw15sS") = 0
read(3, "%!PS-Adobe-3.0\n%%Creator: (Image"..., 1024) = 1024
read(3, " a DirectClass image.\n  %\n  syst"..., 1024) = 1024
read(3, "d def\n\n/GrayPseudoClassPacket\n{\n"..., 1024) = 1024
read(3, "erval def\n  compression 0 eq\n  {"..., 1024) = 1024
read(3, "\n    currentfile colormap readhe"..., 1024) = 1024
read(3, " token pop /x exch def\n  token p"..., 1024) = 1024
read(3, "A7C6C5956532F2E2C302F2D35302D373"..., 1024) = 1024
read(3, "355F373079372D933B2FA34133BC4539"..., 1024) = 1024
read(3, "D282B30282C32282F312B30302A302B2"..., 1024) = 1024
read(3, "3039352F39342F3C3730423C30493D30"..., 1024) = 1024
read(3, "55549E05551FE414BDF3F41AE3B2EC44"..., 1024) = 1024
read(3, "35413D333B362D3532283A352F463D37"..., 1024) = 1024
read(3, "C3431DE3B2FDF3729D33421C43621C63"..., 1024) = 1024
read(3, "5\nF9446198A07D7D9A67CBCCAED4E2C6"..., 1024) = 1024
read(3, "3F51\nE73D47DB3C3DC73E34A93B2AB43"..., 1024) = 1024
read(3, "0FC2C3A\nFF353FE73633DD342AF0322F"..., 1024) = 1024
read(3, "533E655F58\n7A74917370A75D5FA1696"..., 1024) = 1024
read(3, "8CE3728D73C2F\nDA3B30EE363BF9313F"..., 1024) = 1024
read(3, "543C3C482C677E43\n6A9446618C456B8"..., 1024) = 1024
read(3, "6C83A2CC33725D23829\nD13A29D13A28"..., 1024) = 1024
read(3, "362C703429763D31855140\n8954479A5"..., 1024) = 1024
read(3, "36B62536C63546C63546B6252\n655D53"..., 1024) = 1024
read(3, "3C317E3A2E7C392F7C39307A3932\n763"..., 1024) = 1024
read(3, "D323E2A36432E44563B485D3D5E7152\n"..., 1024) = 1024
read(3, "FEFCFEFEFCFEFEFCFEFEFCFEFDFFFBFF"..., 1024) = 753
read(3, "", 1024)                       = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=25329, ...}) = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
stat("/root/tmp", {st_mode=S_IFDIR|0700, st_size=16384, ...}) = 0
open("/root/tmp/magick-XXQXkX0k", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
write(3, "/setpagedevice {pop} bind 1 inde"..., 133) = 133
write(3, "-0 -0 translate\n", 16)       = 16
close(3)                                = 0
stat("/root/tmp", {st_mode=S_IFDIR|0700, st_size=16384, ...}) = 0
open("/root/tmp/magick-XXWcxRyN", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
close(3)                                = 0
rt_sigaction(SIGINT, {SIG_IGN}, {0x7fea949c97f0, [INT], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {0x7fea949c97f0, [QUIT], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fff9cf13378) = 18604
wait4(18604, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 18604
rt_sigaction(SIGINT, {0x7fea949c97f0, [INT], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x7fea949c97f0, [QUIT], SA_RESTORER|SA_INTERRUPT, 0x7fea93e37ae0}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
stat("/root/tmp/magick-XXWcxRyN", {st_mode=S_IFREG|0600, st_size=7862, ...}) = 0
times({tms_utime=1, tms_stime=0, tms_cutime=7, tms_cstime=1}) = 1504972000
times({tms_utime=1, tms_stime=0, tms_cutime=7, tms_cstime=1}) = 1504972000
stat("/root/tmp/magick-XXWcxRyN", {st_mode=S_IFREG|0600, st_size=7862, ...}) = 0
open("/root/tmp/magick-XXWcxRyN", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=7862, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0F\0\0\0.\10\6\0\0\0\225\211o"..., 4096) = 4096
lseek(3, 0, SEEK_SET)                   = 0
fstat(3, {st_mode=S_IFREG|0600, st_size=7862, ...}) = 0
read(3, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0F\0\0\0.\10\6\0\0\0\225\211o"..., 8192) = 7862
read(3, "", 4096)                       = 0
fstat(3, {st_mode=S_IFREG|0600, st_size=7862, ...}) = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
stat("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.la", {st_mode=S_IFREG|0755, st_size=1463, ...}) = 0
access("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.la", F_OK) = 0
open("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.la", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=1463, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "# png.la - a libtool library fil"..., 4096) = 1463
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
open("/usr/lib64/tls/png.a", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib64/png.a", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/magick/.libs/png.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/src/rpm/BUILD/ImageMagick-6.4.4/wand/.libs/png.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/png.a", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib64/png.a", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=172274, ...}) = 0
mmap(NULL, 172274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94ec1000
close(3)                                = 0
open("/lib64/png.a", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/png.a", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib64/png.a", O_RDONLY)      = -1 ENOENT (No such file or directory)
munmap(0x7fea94ec1000, 172274)          = 0
open("/usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20;\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=111184, ...}) = 0
mmap(NULL, 2206448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fea8e4a0000
mprotect(0x7fea8e4bb000, 2093056, PROT_NONE) = 0
mmap(0x7fea8e6ba000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7fea8e6ba000
close(3)                                = 0
times({tms_utime=1, tms_stime=0, tms_cutime=7, tms_cstime=1}) = 1504972000
times({tms_utime=1, tms_stime=0, tms_cutime=7, tms_cstime=1}) = 1504972000
stat("/root/tmp/magick-XXWcxRyN", {st_mode=S_IFREG|0600, st_size=7862, ...}) = 0
open("/root/tmp/magick-XXWcxRyN", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=7862, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea94f20000
read(3, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0F\0\0\0.\10\6\0\0\0\225\211o"..., 4096) = 4096
lseek(3, 0, SEEK_SET)                   = 0
mmap(NULL, 7862, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fea94f1e000
close(3)                                = 0
munmap(0x7fea94f20000, 4096)            = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T01:11:53-07:00
by filya
And valgrind, where test hangs without a sign of working, most possibly because of valgrind's way to execute.

Code: Select all

valgrind /usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/.libs/lt-rwfile /usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/input_truecolor16.pam PS
==18508== Memcheck, a memory error detector.
==18508== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==18508== Using LibVEX rev 1804, a library for dynamic binary translation.
==18508== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==18508== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
==18508== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==18508== For more details, rerun with: -v
==18508==
/usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/.libs/lt-rwfile /usr/src/rpm/BUILD/ImageMagick-6.4.4/tests/input_truecolor16.pam PS
==18508== Invalid free() / delete / delete[]
==18508==    at 0x4C1E89E: free (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==18508==    by 0x4EFECBE: RelinquishMagickMemory (memory.c:645)
==18508==    by 0xC8784EB: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so)
==18508==    by 0xB82166D: (within /usr/lib64/libpng12.so.0.25.0)
==18508==    by 0xB80A7A2: png_create_info_struct (in /usr/lib64/libpng12.so.0.25.0)
==18508==    by 0xC87B28D: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so)
==18508==    by 0xC8832C1: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so)
==18508==    by 0x4E8624E: ReadImage (constitute.c:402)
==18508==    by 0xA2A90D7: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.so)
==18508==    by 0x4E8624E: ReadImage (constitute.c:402)
==18508==    by 0x4015F4: main (rwfile.c:229)
==18508==  Address 0x208 is not stack'd, malloc'd or (recently) free'd
==18508==
==18508== Invalid read of size 8
==18508==    at 0xC8833AD: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so)
==18508==    by 0x4E8624E: ReadImage (constitute.c:402)
==18508==    by 0xA2A90D7: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.so)
==18508==    by 0x4E8624E: ReadImage (constitute.c:402)
==18508==    by 0x4015F4: main (rwfile.c:229)
==18508==  Address 0x8ebb618 is 13,104 bytes inside a block of size 13,224 free'd
==18508==    at 0x4C1E89E: free (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==18508==    by 0x4EFECBE: RelinquishMagickMemory (memory.c:645)
==18508==    by 0x4EF8627: DestroyImageList (list.c:452)
==18508==    by 0xC87D1DE: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so)
==18508==    by 0xC8832C1: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so)
==18508==    by 0x4E8624E: ReadImage (constitute.c:402)
==18508==    by 0xA2A90D7: (within /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.so)
==18508==    by 0x4E8624E: ReadImage (constitute.c:402)
==18508==    by 0x4015F4: main (rwfile.c:229)
lt-rwfile: Memory allocation failed `/root/tmp/magick-XXZgwrwA'.
lt-rwfile: Corrupt image `/root/tmp/magick-XXZgwrwA'.
lt-rwfile: Postscript delegate failed `out_1.PS': No such file or directory.
^C==18508==
I pressed ^C in the end, after a minute of idle waiting.

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T06:55:20-07:00
by magick
ImageMagick relies on the Ghostscript delegate library or program to render Postscript. The problem may be with Ghostscript. Does a simple conversion work:
  • convert logo: logo.ps
    convert logo.ps logo.png
Which version of Ghostscript are you using? We're using 8.63.

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T10:13:47-07:00
by filya
magick wrote:ImageMagick relies on the Ghostscript delegate library or program to render Postscript. The problem may be with Ghostscript. Does a simple conversion work:
  • convert logo: logo.ps
    convert logo.ps logo.png
Which version of Ghostscript are you using? We're using 8.63.
First convert works fine (and makes valid postscript with ImageMagick logo, rendered well by Kghostview), second one makes a segmentation fault. My ghostscript is v. 8.61, so possibly in 8.63 some bugs were fixed in GS libraries.
After valgrind check, two errors are still the same. One is an invalid free(), and second one is invalid read. I may post the output, but it is really the same as one posted above.

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T11:40:05-07:00
by magick
Valgrind suggests the problem is either a bug in the PNG library or memory is getting corrupted before the PNG library is called or PNG is not exiting gracefully when it finds a corrupt PNG image. You could confirm with gdb and producing a stack trace. We're continuing to investigate but so far we are unable to reproduce the problem.

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T12:56:02-07:00
by filya
I have read a warning on libpng site about 1.2.30 and 1.2.31. And it revealed that I have ancient 1.2.25. Someone in Mandriva does not take care about PNG library, this is not the first time it is outdated and causes problems. I plan to update gs and libpng, then, check once again.
GDB trace:

Code: Select all

(gdb) backtrace
#0  0x00007f4d9d65a0cb in free () from /lib64/libc.so.6
#1  0x00007f4d9e1a8cbf in RelinquishMagickMemory () from /usr/lib64/libMagickCore.so.1
#2  0x00007f4d97e8c4ec in ?? () from /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so
#3  0x00007f4d98f0766e in ?? () from /usr/lib64/libpng12.so.0
#4  0x00007f4d98ef07a3 in png_create_info_struct () from /usr/lib64/libpng12.so.0
#5  0x00007f4d97e8f28e in ?? () from /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so
#6  0x00007f4d97e972c2 in ?? () from /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/png.so
#7  0x00007f4d9e13024f in ReadImage () from /usr/lib64/libMagickCore.so.1
#8  0x00007f4d9a46d0d8 in ?? () from /usr/lib64/ImageMagick-6.4.4/modules-Q16/coders/ps.so
#9  0x00007f4d9e13024f in ReadImage () from /usr/lib64/libMagickCore.so.1
#10 0x00007f4d9de06337 in ConvertImageCommand () from /usr/lib64/libMagickWand.so.1
#11 0x0000000000400d8c in ?? ()
#12 0x00007f4d9d603074 in __libc_start_main () from /lib64/libc.so.6
#13 0x0000000000400be9 in ?? ()
#14 0x00007fffa67014f8 in ?? ()
#15 0x0000000000000000 in ?? ()
The same thing valgrind have shown.

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T15:25:26-07:00
by filya
Well, I have updated libpng and ghostscript. A miracle did not happen.

Code: Select all

===========================================
51 of 699 tests failed
Please report to http://www.imagemagick.org
===========================================
and

Code: Select all

Failed Test    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/composite.t                18    1  12
t/filter.t                   58    4  16 26 49 57
t/montage.t                  19    2  12-13
t/tiff/read.t                16    6  2-7
t/tiff/write.t               10    4  1-4
Failed 5/26 test scripts. 17/338 subtests failed.
Files=26, Tests=338, 514 wallclock secs ( 3.17 cusr +  0.69 csys =  3.86 CPU)
Failed 5/26 test programs. 17/338 subtests failed.
Is it possible because I use 64-bit dual-core CPU? Kernel version is 2.6.25.10, gcc 4.2.3 (4.2.3-6mnb1)

Re: ImageMagick 6.4.3-10 fails at make check on all postscripts

Posted: 2008-09-28T15:49:34-07:00
by magick
We run the regressions tests on two different 64-bit boxes with Redhat Enterprise 5.1 and Fedora Core 9 and of course a release does not happen unless all the regression tests pass. We're using gcc 4.2.2 on our Fedora box. Right now we cannot account for why the tests fail for you.