[Date Prev][Date Next] [Chronological] [Thread] [Top]

bus error running ucgendat (ITS#2784)

Full_Name: Martin Dellwo
Version: 2.1.22
OS: IRIX 6.5.20
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I do 'make' and it bombs after compiling ucgendat and running the command.  IRIX
compiler version is MIPSPro 7.4, latest BerkeleyDB 4.1 is installed.  Command
sequence is:
> setenv CFLAGS "-c99 -mips3"
> setenv CPPFLAGS "-I/usr/local/BerkeleyDB.4.1/include
> setenv LIBS "-L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/ssl/lib -lgen"
> setenv LIBDIR "/usr/local/BerkeleyDB.4.1/lib:/usr/local/ssl/lib"
> setenv LDFLAGS "mips3 -Wl,-rpath,$LIBDIR"
> ./configure
> make depend
> make

The tail of the make output is as follows:

  Entering subdirectory liblunicode
make[2]: Entering directory
/bin/sh /h/dellwo/work/tools/openldap-2.1.22/libtool --mode=link cc -static -c99
-mips3  -mips3 -Wl,-rpath,/usr/local/BerkeleyDB.4.1/lib:/usr/local/ssl/lib   -o
ucgendat ucgendat.o ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a  -L/usr/local/BerkeleyDB.4.1/lib
cc -c99 -mips3 -mips3 -Wl,-rpath
-Wl,/usr/local/BerkeleyDB.4.1/lib:/usr/local/ssl/lib -o ucgendat ucgendat.o 
../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a
-L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/ssl/lib
ld32: WARNING 84 : ../../libraries/liblber/.libs/liblber.a is not used for
resolving any symbol.
./ucgendat ./UnicodeData.txt -x ./CompositionExclusions.txt
make[2]: *** [ucgendat] Bus error
make[2]: *** Deleting file `ucgendat'
make[2]: Leaving directory
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/h/dellwo/work/tools/openldap-2.1.22/libraries'
make: *** [all-common] Error 1

I tried to use dbx, by going into the subdirectory and making ucgendat (since it
gets deleted in the 'make' and running the command in the debugger:
> /bin/sh /h/dellwo/work/tools/openldap-2.1.22/libtool --mode=link cc -static
-Wl,-rpath,/usr/local/BerkeleyDB.4.1/lib:/usr/local/ssl/lib -o ucgendat
ucgendat.o ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -L/usr/local/BerkeleyDB.4.1/lib

> dbx ucgendat
dbx version 7.3.4 (86441_Nov11 MR) Nov 11 2002 11:31:55
Executable /h/dellwo/work/tools/openldap-2.1.22/libraries/liblunicode/ucgendat
(dbx) run ./UnicodeData.txt -x ./CompositionExclusions.txt
Process 1018253 (ucgendat) started
Process 1018253 (ucgendat) stopped on signal SIGBUS: Bus error (default) at
[ordered_range_insert:319 +0x14,0x1000180c]
 319  if ((len == 2 && memcmp(name, "BN", 2) == 0) ||