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

Re: make test fails with Segmentation fault on Linux (ITS#707)



At 07:26 AM 9/4/00 +0000, bonnaud@iut2.upmf-grenoble.fr wrote:
>Core was generated by `../clients/tools/ldapsearch -P 3 -x -LLL -S  -b
>o=University of Michigan, c=US'.
>Program terminated with signal 11, Segmentation fault.
>#0  0x401e6183 in ?? ()
>(gdb) bt
>#0  0x401e6183 in ?? ()
>#1  0x401e6145 in ?? ()
>#2  0x80584a1 in ldap_utf8_strspn (str=0x8095230 "\030U\t\b\002", set=0x8095518
>"\003") at utf-8.c:402
>#3  0x804ee9c in sb_sasl_setup (sbiod=0x8095230, arg=0x80959a8) at cyrus.c:95
>#4  0x8056b73 in ldap_pvt_tls_init_def_ctx () at tls.c:202
>#5  0x804eb0c in ldap_int_get_controls (ber=0x8095230, ctrls=0x1) at
>controls.c:194
>#6  0x8056872 in ldap_charray2str (a=0x8095230, sep=0x60 <Address 0x60 out of
>bounds>) at charray.c:232
>#7  0x8054b25 in ldap_url_list2hosts (ludlist=0x8095230) at url.c:749
>#8  0x8054bb2 in ldap_url_list2hosts (ludlist=0x8095230) at url.c:761
>#9  0x805516a in openldap_ldap_init_w_conf (file=0x8095230 "\030U\t\b\002",
>userconf=0) at init.c:167
>#10 0x804eadf in ldap_int_get_controls (ber=0x8095230, ctrls=0x0) at
>controls.c:186
>#11 0x804c18f in process_ldif_rec (rbuf=0x0, count=-1073742796) at
>/usr/include/stdlib.h:311
>#12 0x40155a52 in ?? ()

Looks like your stack is trashed as this back trace makes little
sense.  I suggest:
  make clean; make depend; make

Kurt