2005.02.22 10:50 "[Tiff] Tiff utilities core dump in Solaris 2.7", by Peter Butterfield

2005.02.22 10:50 "[Tiff] Tiff utilities core dump in Solaris 2.7", by Peter Butterfield

Help! I can't even get to testing a graphic:

On a Sun Ultra 2 workstation running Solaris 2.7, I built tiff 3.7.1 with no problem. All typescripts from the configure, make and install steps look perfect, with no errors or aborts. And only five compiler warnings in the make.

Problem is, the utilities all core-dump with segmentation fault, immediately. For instance, "tiffdump" or "tiffinfo" with no graphic name should return the help message, instead I get the core dump. Same for ALL the utilities built in tools/.libs. Happens whether I run them from there or from /usr/devel/bin, their installation directory.

Here, between the lines, is a trace of the bomb followed by gdb on the core file:

4:16pm /usr/devel/tiff-3.7.1/tools>  .libs/tiffinfo
Segmentation fault (core dumped)

4:17pm /usr/devel/tiff-3.7.1/tools>  gdb  .libs/tiffinfo core

GDB is free software and you are welcome to distribute copies of it
  under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.5), Copyright 1996 Free Software Foundation,
Core was generated by `.libs/tiffinfo'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/devel/lib/libtiff.so.3...done.
Reading symbols from /usr/local/lib/libstdc++.so.3...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/devel/lib/libgcc_s.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1...done.
#0  __register_frame_info_bases (begin=0xff160000, ob=0xff160000,
tbase=0x0, dbase=0x0)
     at ../../gcc-3.2.3/gcc/unwind-dw2-fde.c:83
83        ob->tbase = tbase;

(gdb) backtrace
#0  __register_frame_info_bases (begin=0xff160000, ob=0xff160000,
tbase=0x0, dbase=0x0)
     at ../../gcc-3.2.3/gcc/unwind-dw2-fde.c:83
#1  0xff1616b0 in frame_dummy ()
#2  0xff161598 in _init ()
#3  0xff3bc6bc in ?? ()
#4  0xff3bbdcc in ?? ()
#5  0xff3c7450 in ?? ()
#6  0xff3b2acc in ?? ()

(gdb) quit
4:17pm /usr/devel/tiff-3.7.1/tools>

I also built and tested under Solaris 2.9, same result. Earlier, I had built and tested tiff 3.5.7 under Solaris 2.7, similar results.

What in heck am I missing? Any ideas? I can supply typescripts of the configure, make and install steps if it would help anyone.

-- Peter