Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Imagemagick on RHEL 5 Power6 architecture

Avatar of JBurner
JBurner asked on
LinuxServer HardwareSystem Programming
8 Comments1 Solution879 ViewsLast Modified:
I'm having serious problems with a tiff preview creation and identify in Imagemagick on the IBM P-series Power6 archtecture, with a RHEL5 installation.

I do realize that the tiff might be bad (warnings on other ImageMagicks), however it is not giving me a seg fault on any other architecture, it is also working on Power 5 with RHEL4

The tiff can be found here, if anyone can help at all

http://www.encode.dk/156974.tif

The backtrace attached as code is from a simple "identify 156974.tif"

The Imagemagick dev team couldn't help, they can't test it on the power6/rhel5 combo since they are not millionaires ;)

Help or info to work around this is very much appreciated
Compiled ImageMagick-6.4.8-7
 
GDB Backtrace
 
#0 0xf7d8a740 in strncasecmp () from /lib/power6x/libc.so.6
#1 0x0ff49bdc in LocaleNCompare (p=0xf7b90000 <Address 0xf7b90000 out of bounds>, q=0xfae7d44 "8BIM", length=4) at magick/string.c:1392
#2 0x0fae4a6c in ReadProfile (image=0x1003c520, name=0x1002af50 "\020\002¯¨\020\002¯¸\020\002¯Ø",
datum=0xf7a20008 "Adobe Photoshop Document Data Block", length=1945912066) at coders/tiff.c:280
#3 0x0fae5f50 in ReadTIFFImage (image_info=0x100256c8, exception=0x10020030) at coders/tiff.c:354
#4 0x0fe9d9d4 in ReadImage (image_info=0x100203f0, exception=0x10020030) at magick/constitute.c:386
#5 0x0fdb3098 in ConvertImageCommand (image_info=0x100203f0, argc=16, argv=0x10024570, metadata=0x0, exception=0x10020030) at wand/convert.c:554
#6 0x10001bdc in main (argc=16, argv=0xff89f714) at utilities/convert.c:122
 
-------------------------------------------------------------------------------------------------------------------
 
Standard RHEL 5 ImageMagick.ppc64 package from yum
 
GDB Backtrace
 
Program received signal SIGSEGV, Segmentation fault.
0x0000008090bc50c4 in .__strncasecmp () from /lib64/power6x/libc.so.6
(gdb) bt
#0  0x0000008090bc50c4 in .__strncasecmp () from /lib64/power6x/libc.so.6
#1  0x00000400001436c8 in .LocaleNCompare () from /usr/lib64/libMagick.so.10
#2  0x0000040004085c4c in ?? () from /usr/lib64/ImageMagick-6.2.8/modules-Q16/coders/tiff.so
#3  0x0000040004087548 in ?? () from /usr/lib64/ImageMagick-6.2.8/modules-Q16/coders/tiff.so
#4  0x00000400000998bc in .ReadImage () from /usr/lib64/libMagick.so.10
#5  0x00000400002a83a4 in .IdentifyImageCommand () from /usr/lib64/libWand.so.10
#6  0x0000000010000f7c in ?? ()
#7  0x0000008090b59934 in .generic_start_main () from /lib64/power6x/libc.so.6
#8  0x0000008090b59bd0 in .__libc_start_main () from /lib64/power6x/libc.so.6
#9  0x0000000000000000 in ?? ()
ASKER CERTIFIED SOLUTION
Avatar of ai_ja_nai
ai_ja_naiFlag of Italy image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers